added some waybar support
This commit is contained in:
parent
5282d13176
commit
ddb53a836e
2 changed files with 6 additions and 0 deletions
5
bin/sp-profile-icon
Executable file
5
bin/sp-profile-icon
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source "/usr/lib/sp-functions"
|
||||||
|
|
||||||
|
get_profile_icon
|
|
@ -41,5 +41,6 @@ for i in {1..10};do
|
||||||
done
|
done
|
||||||
|
|
||||||
moveto="${p_num}1:${p_icon}"
|
moveto="${p_num}1:${p_icon}"
|
||||||
|
killall -SIGUSR2 waybar
|
||||||
swaymsg 'workspace number "'"${p_num}"'"1:"'"${p_icon}"'"'
|
swaymsg 'workspace number "'"${p_num}"'"1:"'"${p_icon}"'"'
|
||||||
echo "${op}" > "${cache_dir}/active_profile"
|
echo "${op}" > "${cache_dir}/active_profile"
|
||||||
|
|
Loading…
Add table
Reference in a new issue