Sway : Add a hack for system controls that switches to En layout on press.
This commit is contained in:
parent
950d4be9e5
commit
40b5fb69e4
|
@ -2,6 +2,7 @@
|
||||||
mod = config.setting.sysctrl;
|
mod = config.setting.sysctrl;
|
||||||
in {
|
in {
|
||||||
text = ''
|
text = ''
|
||||||
|
bindsym ${mod} input * xkb_switch_layout 0
|
||||||
bindsym --to-code ${mod}+c exec 'systemctl reboot -i'
|
bindsym --to-code ${mod}+c exec 'systemctl reboot -i'
|
||||||
bindsym --to-code ${mod}+g exec 'swayscript gamingtoggle'
|
bindsym --to-code ${mod}+g exec 'swayscript gamingtoggle'
|
||||||
bindsym --to-code ${mod}+l exec 'powerlimit toggle'
|
bindsym --to-code ${mod}+l exec 'powerlimit toggle'
|
||||||
|
|
Loading…
Reference in a new issue