diff --git a/bin/batteries b/bin/batteries index 16653f4..e88d59e 100755 --- a/bin/batteries +++ b/bin/batteries @@ -51,7 +51,7 @@ for battery in $batteries; do text+="${BATTEXT} " [ "$STAT" = "Charging" ] && ischarging=1 - [ "$BAT" -gt 10 ] hasenough=1 + [ "$BAT" -gt 10 ] && hasenough=1 done printf "${text:0:-1}\n\n" diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 0626197..5f04c79 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -177,7 +177,7 @@ bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" +bindsym $mod+Shift+e exec "i3-nagbar -f 'pango:IosevkaTerm NF 14' -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" # bindsym $mod+Shift+s exec --no-startup-id "slop | xargs -I % shotgun -g % | pst | xclip -selection clipboard -i" bindsym Print exec --no-startup-id "maim | ~/bin/pst | xclip -selection clipboard && notify-send 'Screenshot created' || notify-send 'Screenshoter failed'"