summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-02-22 16:30:28 +0100
committerMarc Vertes <mvertes@free.fr>2025-02-22 16:30:28 +0100
commit9921f42676ea8361ea3d14bc1c9c5e184dfe5e07 (patch)
treef1c44e719b2b7526c6d48f2d19707f10f4fd04a9
parent076f15d49fcfb81cf18b55f99691f13a475f2eac (diff)
rfkill on x61s
-rw-r--r--.config/sway/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 06a92bd..903ee69 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -39,6 +39,7 @@ bindsym $mod+Return exec --no-startup-id foot
bindsym $mod+d exec --no-startup-id fuzzel -T foot
bindsym XF86Sleep exec echo "mem" | sudo tee /sys/power/state
bindsym XF86RFKill exec sudo rfkill toggle wlan && doas pkill -USR1 udhcpc
+bindsym XF86WLAN exec sudo rfkill toggle wlan && doas pkill -USR1 udhcpc
# Use pactl to ajust volume in PulseAudio/PipeWire
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -USR1 i3status