fixed stickyctl stuff

This commit is contained in:
Rudis Muiznieks 2022-06-07 14:15:40 -05:00
parent 78c3802bba
commit 4679a04873
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
2 changed files with 16 additions and 5 deletions

View File

@ -18,7 +18,18 @@
<family>Helvetica</family> <family>Helvetica</family>
<prefer> <prefer>
<family>DejaVu Sans</family> <family>DejaVu Sans</family>
<family>Unifont</family> </prefer>
</alias>
<alias>
<family>Times</family>
<prefer>
<family>DejaVu Serif</family>
</prefer>
</alias>
<alias>
<family>Georgia</family>
<prefer>
<family>DejaVu Serif</family>
</prefer> </prefer>
</alias> </alias>
<alias> <alias>

View File

@ -8,7 +8,7 @@ hc() {
} }
# don't need sticky win on pinebook # don't need sticky win on pinebook
if [ "$HOSTNAME" != "ellison"]; then if [ "$HOSTNAME" != "ellison" ]; then
hc new_attr string my_sticky hc new_attr string my_sticky
refresh_panel="pgrep -f 'bash.*panel\.sh' | xargs -n1 kill -s USR1" refresh_panel="pgrep -f 'bash.*panel\.sh' | xargs -n1 kill -s USR1"
fi fi
@ -106,8 +106,8 @@ if [ "$HOSTNAME" != "ellison" ]; then
hc keybind $Mod-Shift-Up shift up hc keybind $Mod-Shift-Up shift up
hc keybind $Mod-Shift-Right shift right hc keybind $Mod-Shift-Right shift right
hc keybind $Mod-j spawn ~/skynet-old/bin/stickyctl stick hc keybind $Mod-j spawn ~/skynet/bin/stickyctl stick
hc keybind $Mod-Shift-j spawn ~/skynet-old/bin/stickyctl unstick hc keybind $Mod-Shift-j spawn ~/skynet/bin/stickyctl unstick
# tags # tags
tag_names=( {1..9} 0 ) tag_names=( {1..9} 0 )
@ -118,7 +118,7 @@ if [ "$HOSTNAME" != "ellison" ]; then
hc add "${tag_names[$i]}" hc add "${tag_names[$i]}"
key="${tag_keys[$i]}" key="${tag_keys[$i]}"
if ! [ -z "$key" ] ; then if ! [ -z "$key" ] ; then
hc keybind "$Mod-$key" chain , lock , use_index "$i" , spawn ~/skynet-old/bin/stickyctl get-sticky , unlock hc keybind "$Mod-$key" chain , lock , use_index "$i" , spawn ~/skynet/bin/stickyctl get-sticky , unlock
hc keybind "$Mod-Shift-$key" move_index "$i" hc keybind "$Mod-Shift-$key" move_index "$i"
fi fi
done done