sway/readme: add wofi, update auto-locking, update readme
This commit is contained in:
@@ -19,3 +19,4 @@ display-inlay-hints = true
|
||||
[keys.normal]
|
||||
"_" = ["extend_line_up", "extend_to_line_bounds"]
|
||||
"+" = ["extend_line_down", "extend_to_line_bounds"]
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
set $lock swaylock -f -c 3D484D
|
||||
exec swayidle -w \
|
||||
timeout 600 '$lock' \
|
||||
timeout 900 'swaymsg "output * power off"' resume 'swaymsg "output * dpms on"' \
|
||||
timeout 900 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||
timeout 1200 'systemctl suspend' \
|
||||
before-sleep '$lock'
|
||||
|
||||
@@ -61,8 +61,10 @@ bindgesture swipe:4:left focus left
|
||||
|
||||
# Run applications
|
||||
bindsym $mod+Return exec kitty
|
||||
bindsym $mod+d exec wofi --show drun -I -i -a
|
||||
bindsym $mod+Shift+d exec wofi --show run -i -a
|
||||
#bindsym $mod+d exec wofi --show drun -I -i -a
|
||||
bindsym $mod+d exec tofi-drun | xargs swaymsg exec --
|
||||
#bindsym $mod+Shift+d exec wofi --show run -i -a
|
||||
bindsym $mod+Shift+d exec tofi-run | xargs swaymsg exec --
|
||||
bindsym $mod+e exec nautilus
|
||||
|
||||
# Moving around
|
||||
@@ -111,7 +113,7 @@ bindgesture swipe:4:left focus left
|
||||
|
||||
# Layout stuff
|
||||
bindsym $mod+f fullscreen
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
bindsym $mod+Shift+space floating toggle, border normal 2
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# Scratchpad
|
||||
|
||||
@@ -150,10 +150,20 @@
|
||||
"sway/workspaces": {
|
||||
"all-outputs": false,
|
||||
"disable-scroll": true,
|
||||
"format": "{icon} {name}",
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"urgent": "",
|
||||
"focused": "",
|
||||
"1": "一",
|
||||
"2": "二",
|
||||
"3": "三",
|
||||
"4": "四",
|
||||
"5": "五",
|
||||
"6": "六",
|
||||
"7": "七",
|
||||
"8": "八",
|
||||
"9": "九",
|
||||
"10": "十",
|
||||
// "urgent": "",
|
||||
// "focused": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
@@ -203,6 +213,7 @@
|
||||
"custom/power": {
|
||||
"exec": "echo 💻 $(cat /sys/firmware/acpi/platform_profile)",
|
||||
"interval": 10,
|
||||
"on-click": "kitty -e 'htop'"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user