Skip to content

Commit

Permalink
fix(base): updated scripts and bspwm rules
Browse files Browse the repository at this point in the history
  • Loading branch information
umgbhalla committed Jan 21, 2022
1 parent 8beeb07 commit a494943
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion base/scripts/.scripts/bright_light
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function send_notification {
bar=$(seq -s "" 0 $((brightness / 5)) | sed 's/[0-9]//g')
# Send the notification
# dunstify " Brightness : $brightness%" -i $icon -r 5555 -u normal -h int:value:$(($brightness))
dunstify " Brightness : $brightness%" -r 5555 -u normal -h int:value:$(($brightness))
dunstify -h string:x-canonical-private-synchronous:light " Brightness : $brightness%" -u NORMAL -h int:value:$(($brightness))
}

case $1 in
Expand Down
4 changes: 2 additions & 2 deletions base/scripts/.scripts/volume
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function send_notification {
# Send the notification
# dunstify " Volume " "$bar" -i $icon_name -r 5555 -u normal

dunstify " Volume : $volume% " -r 5555 -u normal -h int:value:$(($volume))
dunstify " Volume : $volume% " -u NORMAL -h int:value:$(($volume)) -h string:x-canonical-private-synchronous:volume
# dunstify " Volume : $volume% " -i $icon_name -r 5555 -u normal -h int:value:$(($volume))

# notify-send.sh "Volume : $volume" -i "$icon_name" -t 2000 --replace=555
Expand All @@ -57,7 +57,7 @@ case $1 in
if is_mute ; then
icon_name="/usr/share/icons/Faba/48x48/notifications/notification-audio-volume-muted.svg"
# dunstify "Mute" -i $icon_name -r 5555 -u normal -h int:value:0
dunstify "Mute" -r 5555 -u normal -h int:value:0
dunstify "Mute" -u NORMAL -h int:value:0 -h string:x-canonical-private-synchronous:volume
else
send_notification
fi
Expand Down
1 change: 1 addition & 0 deletions themes/cr0nus/bspwm/.config/bspwm/bspwmrc
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ R firefox desktop='^2'
R discord desktop='^7'
R Ferdi desktop='^6' state='tiled'
R Emacs desktop='^1' state='tiled'
R "Thunar" state='floating'
R mplayer2 state='floating'
R Galculator state='floating'
# R Alacritty state='floating'
Expand Down

0 comments on commit a494943

Please sign in to comment.