This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# add this to your yambar configuration, left for example: | |
# left: | |
# - script: | |
# path: /home/ahmad/bin/viwo.sh | |
# args: [] | |
# content: {string: {text: "{workspace}"}} | |
declare workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- conf -*- | |
font=monospace:size=10 | |
# font-bold=<bold variant of regular font> | |
# font-italic=<italic variant of regular font> | |
# font-bold-italic=<bold+italic variant of regular font> | |
# dpi-aware=yes | |
initial-window-size-pixels=550x400 # Or, | |
# initial-window-size-chars=<COLSxROWS> | |
# initial-window-mode=windowed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"icon_theme" : "Papirus-Dark", | |
/*"font" and "font_size" are fonts for the taskbar*/ | |
"font" : "Ubuntu Mono derivative Powerline", | |
"font_size" : 15, | |
/* "color" and "background_color" must be set with number from 0.0 to 1.0 [red, green, blue]*/ | |
"color" : [0.9 ,0.9 ,1], | |
"background_color" : [0.1, 0.3, 0.5], | |
/*"size" of taskbar in pixels. If not set, default size is 49 pixels*/ | |
"size" : 23, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
jum=$(lswt | wc -l) | |
count=$jum | |
for i in $(seq $count); do | |
wlrctl toplevel focus state:minimized | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
unminimize () { | |
jum=$(lswt | wc -l) | |
count=$jum | |
for i in $(seq $count); do | |
wlrctl toplevel focus state:minimized |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
volstock=$(pulsemixer --get-volume | awk {'print $1'}) | |
value=$(zenity --title "Volume Setter Zenity" --scale --text "Adjust the Volume" --min-value 0 --max-value=100 --step=5 --value $volstock) | |
pulsemixer --set-volume "$value" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
volstock=$(pulsemixer --get-volume | awk {'print $1'}) | |
yadi_sembako () { | |
yad --scale \ | |
--title "Yad pulse" \ | |
--text " Volume" --min-value 0 \ | |
--max-value=100 \ | |
--step=5 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
bright=$(light -G | cut -b 1-2) | |
yadi_sembako () { | |
yad --scale \ | |
--title "Yad Bright" \ | |
--text " Bright" --min-value 0 \ | |
--max-value=100 \ | |
--step=5 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
grim -g "$(wf-info | grep Geome | awk {'print $2,$3'})" |
OlderNewer