Update
This commit is contained in:
@@ -8,14 +8,14 @@ case $1 in
|
|||||||
(( current_backlight += 5 ))
|
(( current_backlight += 5 ))
|
||||||
[[ $current_backlight -gt 100 ]] && current_backlight=100
|
[[ $current_backlight -gt 100 ]] && current_backlight=100
|
||||||
|
|
||||||
xbacklight -set $current_backlight
|
xbacklight -set $current_backlight -time 0
|
||||||
notify-send -t 250 "BL: $current_backlight"
|
notify-send -t 250 "BL: $current_backlight"
|
||||||
;;
|
;;
|
||||||
"lower")
|
"lower")
|
||||||
(( current_backlight -= 5 ))
|
(( current_backlight -= 5 ))
|
||||||
[[ $current_backlight -lt 5 ]] && current_backlight=1
|
[[ $current_backlight -lt 5 ]] && current_backlight=1
|
||||||
|
|
||||||
xbacklight -set $current_backlight
|
xbacklight -set $current_backlight -time 0
|
||||||
notify-send -t 250 "BL: $current_backlight"
|
notify-send -t 250 "BL: $current_backlight"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
[[ ! $(pidof compton) ]] && compton
|
[[ ! $(pidof compton) ]] && compton &
|
||||||
[[ ! $(pidof unclutter) ]] && unclutter
|
[[ ! $(pidof unclutter) ]] && unclutter &
|
||||||
[[ ! $(pidof mpd) ]] && mpd
|
[[ ! $(pidof mpd) ]] && mpd &
|
||||||
[[ ! $(pidof transmission-daemon) ]] && transmission-daemon
|
[[ ! $(pidof transmission-daemon) ]] && transmission-daemon &
|
||||||
[[ ! $(pidof dunst) ]] && dunst
|
[[ ! $(pidof dunst) ]] && dunst &
|
||||||
[[ ! $(pidof nm-applet) ]] && nm-applet
|
[[ ! $(pidof nm-applet) ]] && nm-applet &
|
||||||
|
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ case $1 in
|
|||||||
mpc toggle
|
mpc toggle
|
||||||
;;
|
;;
|
||||||
"next")
|
"next")
|
||||||
mpc next
|
mpc next &
|
||||||
pkill -RTMIN+2 i3blocks
|
pkill -RTMIN+2 i3blocks
|
||||||
;;
|
;;
|
||||||
"prev")
|
"prev")
|
||||||
mpc prev
|
mpc prev &
|
||||||
pkill -RTMIN+2 i3blocks
|
pkill -RTMIN+2 i3blocks
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user