mirror of
https://github.com/305a385/dotfiles.git
synced 2024-09-07 21:03:28 +00:00
added shutdown menu
This commit is contained in:
parent
bdbce2e38b
commit
13e3f2bd9d
12
.config/bin/shutdown.sh
Executable file
12
.config/bin/shutdown.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
choice=`printf 'cancel\nshutdown' | wofi -dk /dev/null`
|
||||
|
||||
case $choice in
|
||||
'cancel')
|
||||
exit
|
||||
;;
|
||||
'shutdown')
|
||||
shutdown now
|
||||
;;
|
||||
esac
|
@ -119,6 +119,8 @@ bind = $mainMod, L, exec, librewolf
|
||||
bind = $mainMod, R, exec, wofi -S run
|
||||
bind = $mainMod, S, exec, $HOME/.config/bin/music.sh # runs music launcher
|
||||
bind = $mainMod, F3, exec, grim # takes screenshot
|
||||
bind = , XF86PowerOff, exec, $HOME/.config/bin/shutdown.sh
|
||||
|
||||
|
||||
# volume
|
||||
bind = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
|
@ -6,9 +6,10 @@
|
||||
- vim
|
||||
- foot (terminal emulator)
|
||||
|
||||
## programs you need to install to use these dotfiles
|
||||
## dependencies
|
||||
- wofi (wayland dmenu replacement)
|
||||
- mpd (media player daemon)
|
||||
- mpc (controls media player daemon)
|
||||
- brightnessctl
|
||||
- grim (screenshots)
|
||||
- pulseaudio (music program)
|
||||
|
Loading…
Reference in New Issue
Block a user