fixed stickyctl stuff
This commit is contained in:
parent
78c3802bba
commit
4679a04873
2 changed files with 16 additions and 5 deletions
|
@ -18,7 +18,18 @@
|
|||
<family>Helvetica</family>
|
||||
<prefer>
|
||||
<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>
|
||||
</alias>
|
||||
<alias>
|
||||
|
|
|
@ -8,7 +8,7 @@ hc() {
|
|||
}
|
||||
|
||||
# don't need sticky win on pinebook
|
||||
if [ "$HOSTNAME" != "ellison"]; then
|
||||
if [ "$HOSTNAME" != "ellison" ]; then
|
||||
hc new_attr string my_sticky
|
||||
refresh_panel="pgrep -f 'bash.*panel\.sh' | xargs -n1 kill -s USR1"
|
||||
fi
|
||||
|
@ -106,8 +106,8 @@ if [ "$HOSTNAME" != "ellison" ]; then
|
|||
hc keybind $Mod-Shift-Up shift up
|
||||
hc keybind $Mod-Shift-Right shift right
|
||||
|
||||
hc keybind $Mod-j spawn ~/skynet-old/bin/stickyctl stick
|
||||
hc keybind $Mod-Shift-j spawn ~/skynet-old/bin/stickyctl unstick
|
||||
hc keybind $Mod-j spawn ~/skynet/bin/stickyctl stick
|
||||
hc keybind $Mod-Shift-j spawn ~/skynet/bin/stickyctl unstick
|
||||
|
||||
# tags
|
||||
tag_names=( {1..9} 0 )
|
||||
|
@ -118,7 +118,7 @@ if [ "$HOSTNAME" != "ellison" ]; then
|
|||
hc add "${tag_names[$i]}"
|
||||
key="${tag_keys[$i]}"
|
||||
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"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue