[sway] replaced esp-commands with scripts, but keeping the scripts locally

This commit is contained in:
Felix Buehler 2019-07-27 14:31:52 +02:00
parent 9f5234e439
commit ba9e886145

View file

@ -89,16 +89,16 @@ bindsym $mod+u exec feedreader
# to prevent gnome-help # to prevent gnome-help
bindsym F1 exec : bindsym F1 exec :
# ESP8266 # script shortcuts
bindsym $mod+F1 exec curl http://esp8266.local/socket0Toggle set $keyboard ~/.local/bin/keyboard
bindsym $mod+Shift+F1 exec curl http://esp8266.local/socket0Off bindsym $mod+F1 exec $keyboard-f1
bindsym $mod+F2 exec curl http://esp8266.local/socket1Toggle bindsym $mod+Shift+F1 exec $keyboard-shift-f1
bindsym $mod+Shift+F2 exec curl http://esp8266.local/socket1Off bindsym $mod+F2 exec $keyboard-f2
bindsym $mod+Shift+F2 exec $keyboard-shift-f2
bindsym $mod+F11 exec curl http://esp8266.local/socket2Toggle bindsym $mod+F3 exec $keyboard-f3
bindsym $mod+Shift+F11 exec curl http://esp8266.local/socket2Off bindsym $mod+Shift+F3 exec $keyboard-shift-f3
bindsym $mod+F12 exec curl http://esp8266.local/socket3Toggle bindsym $mod+F4 exec $keyboard-f4
bindsym $mod+Shift+F12 exec curl http://esp8266.local/socket3Off bindsym $mod+Shift+F4 exec $keyboard-shift-f4
# Screenshot # Screenshot
bindsym Print exec "grim ~/Downloads/Screenshot-$(date +'%Y-%m-%d_%H%M%S.png')" bindsym Print exec "grim ~/Downloads/Screenshot-$(date +'%Y-%m-%d_%H%M%S.png')"
@ -149,7 +149,6 @@ bindsym Alt+Space exec rofi -show
# gtk3 # gtk3
set $gnome-schema org.gnome.desktop.interface set $gnome-schema org.gnome.desktop.interface
exec_always { exec_always {
gsettings set $gnome-schema gtk-theme 'Arc-Darker' gsettings set $gnome-schema gtk-theme 'Arc-Darker'
gsettings set $gnome-schema icon-theme 'Numix-Circle' gsettings set $gnome-schema icon-theme 'Numix-Circle'