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