change location of scripts to add to repo
This commit is contained in:
parent
d136851de4
commit
a1f485d6e5
7 changed files with 108 additions and 3 deletions
waybar
|
@ -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
7
waybar/scripts/quick-toggle.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue