feat(alias-black): on fly black png generate

This commit is contained in:
TheK4n 2023-11-07 23:28:16 +03:00
parent d292cb322c
commit 0f8ef200e0
2 changed files with 3 additions and 2 deletions

View File

@ -118,4 +118,4 @@ elif [[ "$OSTYPE" == "darwin" ]]; then
alias paste='pbpaste'
fi
alias black='feh -YF ~/Pictures/black.png'
alias black='convert canvas:none PNG:- | feh -YF -'

View File

@ -167,13 +167,14 @@ mode "resize" {
}
bindsym $mod+r mode "resize"
set $exitmode "Power: [e]xit, [r]eboot, [s]hutdown, s[u]spend, [l]ock"
set $exitmode "Power: [e]xit, [r]eboot, [s]hutdown, s[u]spend, [l]ock, [b]lack"
mode $exitmode {
bindsym e exit
bindsym r exec reboot
bindsym s exec shutdown -h now
bindsym u exec exec systemctl suspend; mode "default"
bindsym l exec $i3lock_cmd; mode "default"
bindsym b exec convert canvas:none PNG:- | feh -YF -; mode "default"
bindsym Escape mode "default"
bindsym Return mode "default"