wifi toggle key

This commit is contained in:
rileyrg 2021-05-26 00:19:40 +02:00
parent a8f0f6453a
commit b1895a88a7
3 changed files with 22 additions and 6 deletions

View file

@ -824,12 +824,13 @@ bindsym $mod+d exec $menu
bindsym --locked XF86MonBrightnessDown exec --no-startup-id light -U 10 && sway-brightness-notify
```
3. gaps
```conf
gaps inner 2
gaps outer 2
```
### gaps
```conf
gaps inner 2
gaps outer 2
```
### scratchpad
@ -1011,6 +1012,13 @@ bindsym $mod+y exec clipman pick --tool="wofi" --max-items=30 --
```
### wifi :wifi:
```conf
bindsym --locked XF86Wlan exec sleep 1 && sway-notify "WLAN is $(nmcli radio wifi)."
```
### exit, quit, restart, reboot, lock, hibernate, blank, suspend :hibernate:lock:sleep:blank:blank:restart:exit:reboot:
```conf
@ -1058,6 +1066,7 @@ for_window [title="bluetoothctl"] floating enable
### apps keybindings
```conf
bindsym $mod+g exec "goldendict \\"`xclip -o -selection clipboard`\\""
bindsym Print exec sway-screenshot -i
bindsym $mod+Shift+f exec sway-do-tool "Google-chrome" "sway-www"

View file

@ -198,6 +198,8 @@ for_window [app_id="pavucontrol"] floating enable
bindsym $mod+Control+a exec pavucontrol
bindsym $mod+Control+Shift+a exec pulse-restart
bindsym --locked XF86Wlan exec sleep 1 && sway-notify "WLAN is $(nmcli radio wifi)."
bindsym $mod+Control+l exec sway-lock-utils lock
set $mode_system System (b) blank (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown

View file

@ -1348,7 +1348,7 @@ $XDG_DATA_HOME/dbus-1/services/org.freedesktop.Notifications.service
bindsym --locked XF86MonBrightnessUp exec --no-startup-id light -A 10 && sway-brightness-notify
bindsym --locked XF86MonBrightnessDown exec --no-startup-id light -U 10 && sway-brightness-notify
#+end_src
**** gaps
*** gaps
#+begin_src conf
gaps inner 2
gaps outer 2
@ -1518,6 +1518,10 @@ gaps outer 2
bindsym $mod+Control+a exec pavucontrol
bindsym $mod+Control+Shift+a exec pulse-restart
#+end_src
*** wifi :wifi:
#+begin_src conf
bindsym --locked XF86Wlan exec sleep 1 && sway-notify "WLAN is $(nmcli radio wifi)."
#+end_src
*** exit, quit, restart, reboot, lock, hibernate, blank, suspend :hibernate:lock:sleep:blank:blank:restart:exit:reboot:
#+begin_src conf
@ -1556,6 +1560,7 @@ gaps outer 2
*** apps keybindings
#+begin_src conf
bindsym $mod+g exec "goldendict \\"`xclip -o -selection clipboard`\\""
bindsym Print exec sway-screenshot -i
bindsym $mod+Shift+f exec sway-do-tool "Google-chrome" "sway-www"