diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 4168bc9..de89dea 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -18,7 +18,6 @@ icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ - indicate_hidden = no stack_duplicates = false hide_duplicate_count = true diff --git a/.config/i3/config b/.config/i3/config index 4034781..f4cba56 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -31,6 +31,8 @@ bindsym $mod+c exec urxvt -e python -q bindsym $mod+Shift+p exec ~/scripts/music.sh toggle bindsym $mod+Shift+n exec ~/scripts/music.sh next +bindsym $mod+Shift+s exec ~/scripts/suspend.sh + bindsym $mod+h focus left bindsym $mod+j focus down bindsym $mod+k focus up diff --git a/.config/i3blocks/config b/.config/i3blocks/config index 17310a4..6272a21 100644 --- a/.config/i3blocks/config +++ b/.config/i3blocks/config @@ -1,17 +1,17 @@ [mpd] -command=mpc current +command=echo "MPD: $(mpc current)" interval=5 signal=2 [volume] -command=pamixer --get-volume +command=echo "VOL: $(pamixer --get-volume)" interval=once signal=1 [battery] -command=cat /sys/class/power_supply/BAT0/capacity +command=echo "BAT: $(cat /sys/class/power_supply/BAT0/capacity)" interval=5 [time] -command=date '+%m.%d %H:%M' +command=echo "DATE: $(date '+%m.%d %H:%M')" interval=5 diff --git a/scripts/lock.sh b/scripts/lock.sh new file mode 100755 index 0000000..1bcd1ea --- /dev/null +++ b/scripts/lock.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +scrot -m -z /tmp/lock.png +convert /tmp/lock.png -paint 1 /tmp/lock.png +i3lock -e -f -c 000000 -i /tmp/lock.png + diff --git a/scripts/suspend.sh b/scripts/suspend.sh new file mode 100755 index 0000000..1ca428b --- /dev/null +++ b/scripts/suspend.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +~/scripts/lock.sh +systemctl suspend + diff --git a/todo b/todo index 6c430f2..5528f4d 100644 --- a/todo +++ b/todo @@ -1,6 +1,3 @@ -more useful bar elements rrs client (+ youtube) calcurse mutt -ranger config -laptop features (sleep, lock)