change location of scripts to add to repo

This commit is contained in:
matt1432 2023-05-28 19:54:01 -04:00
parent d136851de4
commit a1f485d6e5
7 changed files with 108 additions and 3 deletions

View file

@ -82,19 +82,19 @@
},
"custom/osk": {
"format":" 󰌌 ",
"on-click": "$HOME/.scripts/osk-toggle.sh",
"on-click": "$HOME/.config/sway/scripts/tablet/osk-toggle.sh",
"restart-interval": 1,
},
"custom/quicksettings": {
"format":"  ",
"on-click": "$HOME/.scripts/quick-toggle.sh",
"on-click": "$HOME/.config/waybar/scripts/quick-toggle.sh",
"restart-interval": 1,
},
"custom/tablet": {
"format":" 󰦧 ",
"on-click": "$HOME/.scripts/tablet-toggle.sh",
"on-click": "$HOME/.config/sway/scripts/tablet/tablet-toggle.sh",
"restart-interval": 1,
},

7
waybar/scripts/quick-toggle.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
if [[ $(eww state | grep br_icon) ]]; then
eww close actions && eww close actions-closer
else
eww open actions && eww open actions-closer
fi