update smol stuff
This commit is contained in:
@@ -3,12 +3,13 @@
|
||||
date=$(date +'%A, %d. %b %R')
|
||||
|
||||
battery=$(cat /sys/class/power_supply/BAT1/capacity)
|
||||
if [ ${battery} -lt 8 ]; then
|
||||
notify-send "Battery" "Critical Battery State!\n ${battery}% remaining!"
|
||||
fi
|
||||
|
||||
if [ $(cat /sys/class/power_supply/BAT1/status) = 'Discharging' ]; then
|
||||
bat_rem="▼"
|
||||
|
||||
if [ ${battery} -lt 6 ]; then
|
||||
notify-send -i battery "Battery" "Critical Battery State!\n ${battery}% remaining!"
|
||||
fi
|
||||
else
|
||||
bat_rem="⯅"
|
||||
fi
|
||||
|
||||
@@ -178,8 +178,8 @@ input type:keyboard {
|
||||
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
||||
for_window [class="discord"] move container to workspace number $ws3
|
||||
for_window [class="Spotify"] move container to workspace number $ws4
|
||||
assign [app_id="org.keepassxc.KeePassXC"] $ws9
|
||||
assign [app_id="geary"] $ws8
|
||||
for_window [app_id="geary"] move container to workspace number $ws8
|
||||
for_window [app_id="org.keepassxc.KeepassXC"] move container to workspace number $ws9
|
||||
|
||||
# Status Bar
|
||||
# man 5 sway-bar
|
||||
|
||||
Reference in New Issue
Block a user