Compare commits

...

5 Commits

Author SHA1 Message Date
de4fd59f82 Merge pull request '2026' (#2) from 2026 into main
Reviewed-on: #2
2026-02-16 18:51:54 +00:00
nnduc
0cbba4e402 last 2026-02-17 01:49:07 +07:00
nnduc
4505fa099d mute 2026-02-16 22:24:51 +07:00
nnduc
b8d50e531d bar 2026-02-16 22:23:50 +07:00
nnduc
f4ff5a79f7 2026 2026-02-04 15:01:20 +07:00
6 changed files with 56 additions and 23 deletions

View File

@@ -16,9 +16,20 @@ family = "MesloLGS NF"
[font.normal] [font.normal]
family = "MesloLGS NF" family = "MesloLGS NF"
[keyboard] [[keyboard.bindings]]
bindings = [ key = "T"
{ key = "T", mods = "Control|Shift", action = "SpawnNewInstance" }, mods = "Control|Shift"
{ key = "PageUp", action = "ScrollLineUp" }, action = "SpawnNewInstance"
{ key = "PageDown", action = "ScrollLineDown" },
] [[keyboard.bindings]]
key = "PageUp"
action = "ScrollLineUp"
[[keyboard.bindings]]
key = "PageDown"
action = "ScrollLineDown"
[[keyboard.bindings]]
key = "Return"
mods = "Shift"
chars = "\u001b\r"

View File

@@ -0,0 +1,24 @@
[window]
startup_mode = "Maximized"
[font]
size = 14.0
[font.bold]
family = "MesloLGS NF"
[font.bold_italic]
family = "MesloLGS NF"
[font.italic]
family = "MesloLGS NF"
[font.normal]
family = "MesloLGS NF"
[keyboard]
bindings = [
{ key = "T", mods = "Control|Shift", action = "SpawnNewInstance" },
{ key = "PageUp", action = "ScrollLineUp" },
{ key = "PageDown", action = "ScrollLineDown" },
]

View File

@@ -24,7 +24,7 @@ set $menu rofi -show drun
### Output configuration ### Output configuration
# #
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
set $bg /data/sync/images/wallpapers/0002.jpg set $bg /data/sync/images/wallpapers/0002.png
set $screenlock 'swaylock -i $bg' set $screenlock 'swaylock -i $bg'
set $images $(xdg-user-dir PICTURES)/$(date +'%s_grim.png') set $images $(xdg-user-dir PICTURES)/$(date +'%s_grim.png')
# #
@@ -76,8 +76,9 @@ input "5426:156:Razer_Razer_DeathAdder_V2_X_HyperSpeed" {
} }
#exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh #exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh
exec --no-startup-id kwalletd6 exec --no-startup-id source ~/.config/fcitx.sh
exec --no-startup-id fcitx5 exec --no-startup-id fcitx5
exec --no-startup-id kwalletd6
#exec --no-startup-id blueman-applet #exec --no-startup-id blueman-applet
exec --no-startup-id owncloud exec --no-startup-id owncloud
exec --no-startup-id waybar exec --no-startup-id waybar

5
sway/swaylock.conf Normal file
View File

@@ -0,0 +1,5 @@
# Set a background image
image=/data/sync/images/wallpapers/0002.png
# Set the scaling mode for the image
scaling=fill

View File

@@ -4,7 +4,7 @@
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/window"], "modules-left": ["sway/workspaces", "sway/window"],
"modules-center": ["clock"], "modules-center": ["clock"],
"modules-right": ["custom/tiramisu","battery", "bluetooth", "network", "wireplumber", "tray"], "modules-right": ["custom/tiramisu","battery", "network", "bluetooth", "wireplumber", "tray"],
//"modules-right": ["custom/tiramisu", "bluetooth",network", "wireplumber", "tray"], //"modules-right": ["custom/tiramisu", "bluetooth",network", "wireplumber", "tray"],
// Modules configuration // Modules configuration
// "hyprland/workspaces": { // "hyprland/workspaces": {
@@ -29,19 +29,20 @@
//"format": "{status}  ", //"format": "{status}  ",
"format-on": "", "format-on": "",
"format-off": "󰂲", "format-off": "󰂲",
"format-connected": "{device_alias} 󰂱", //"format-connected": "{device_alias} 󰂱",
"format-connected": "󰂱",
// "format-device-preference": [ "device1", "device2" ], // preference list deciding the displayed device // "format-device-preference": [ "device1", "device2" ], // preference list deciding the displayed device
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}", "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%", "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
"on-click": "~/.local/bin/rofi-bluetooth" "on-click": "dbus-launch --exit-with-session blueman-manager"
//"on-click": "blueman-manager"
}, },
"network": { "network": {
"interface": "wls2", "interface": "wlp0s20f3",
"format": "{ifname}", "format": "{ifname}",
"format-wifi": "{essid} {icon}", //"format-wifi": "{essid} {icon}",
"format-wifi": "{icon}",
"format-ethernet": "{ipaddr}/{cidr} 󰊗", "format-ethernet": "{ipaddr}/{cidr} 󰊗",
"format-disconnected": "", //An empty format will hide the module. "format-disconnected": "", //An empty format will hide the module.
"tooltip-format": "{ifname} via {gwaddr} 󰊗", "tooltip-format": "{ifname} via {gwaddr} 󰊗",

View File

@@ -83,15 +83,6 @@ tooltip label{
background: @bg_hover; background: @bg_hover;
color: @content_main; color: @content_main;
} }
button {
border: none;
border-radius: 0;
}
button:hover {
box-shadow: inherit;
text-shadow: inherit;
background: inherit;
}
#taskbar { #taskbar {
} }