From 236c51bf6e3215b981ba8491678c928bed230849 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 22 Feb 2025 15:56:17 +0100 Subject: rfkill --- .config/sway/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.config/sway') diff --git a/.config/sway/config b/.config/sway/config index b7c7960..e9bad25 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -37,7 +37,9 @@ bindsym $mod+Return exec --no-startup-id foot #bindsym $mod+d exec --no-startup-id i3-dmenu-desktop -dmenu="wmenu-run" #bindsym $mod+d exec --no-startup-id wemenu-run bindsym $mod+d exec --no-startup-id fuzzel -T foot -bindsym XF86Sleep exec echo "mem" | sudo tee /sys/power/state +bindsym XF86Sleep exec echo "mem" | sudo tee /sys/power/state +bindsym XF86RFKill exec sudo rfkill toggle wlan && pkill -USR1 i3status +bindsym XF86WLAN exec sudo rfkill toggle wlan && pkill -USR1 i3status # Use pactl to ajust volume in PulseAudio/PipeWire bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -USR1 i3status -- cgit v1.2.3