sway config update 2026-1-23

This commit is contained in:
CGH0S7
2026-01-23 18:59:57 +08:00
parent 4ac66a9b16
commit bc5d6dde76
3 changed files with 10 additions and 7 deletions

8
config
View File

@@ -21,7 +21,7 @@ set $right l
set $term foot
# Your preferred application launcher
#set $menu wmenu-run
set $menu "rofi -show drun"
set $menu "wofi -show drun"
set $browser firefox
# ... (previous config)
@@ -78,7 +78,7 @@ client.background $base
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
#output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
output * bg /home/gh0s7/Pictures/xenoblade.jpg fill
output * bg /home/gh0s7/Pictures/wallpapers/TP1024.BMP fill
#
# Example configuration:
#
@@ -142,7 +142,7 @@ input * xkb_options caps:escape_shifted_capslock
bindsym Alt+Space exec $menu
bindsym Ctrl+Alt+F exec $browser
bindsym Ctrl+Alt+L exec swaylock -i ~/Pictures/crychic.jpg -s fill
bindsym Ctrl+Alt+L exec swaylock -i ~/Pictures/wallpapers/IBM1024R.BMP -s fill
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
@@ -164,6 +164,8 @@ input * xkb_options caps:escape_shifted_capslock
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
bindsym Alt+Tab focus right
bindsym Alt+Shift+Tab focus left
# Or use $mod+[up|down|left|right]
bindsym $mod+Left focus left
bindsym $mod+Down focus down

View File

@@ -159,12 +159,13 @@
// },
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ipaddr}/{cidr} ",
"interval": 1,
"format-wifi": "⬇ {bandwidthDownBytes} ⬆ {bandwidthUpBytes}",
"format-ethernet": "⬇ {bandwidthDownBytes} ⬆ {bandwidthUpBytes}",
"tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
"format-alt": "{essid} {ipaddr}/{cidr}"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float

View File

@@ -83,7 +83,7 @@ window#waybar.hidden {
/* Window Title */
#window {
background-color: transparent;
color: @surface0;
color: @text;
border-radius: 16px;
padding: 0 12px;
margin: 0 4px;