fixed suspend and hibernate commands

This commit is contained in:
2023-06-11 19:00:28 +02:00
parent fd2171c718
commit 6c0368a02e
2 changed files with 6 additions and 5 deletions
+5 -5
View File
@@ -83,7 +83,7 @@ bindsym $mod+Ctrl+KP_Page_Up exec $myTerm -e wopr report.xml
bindsym $mod+Home exec "autorandr -c"
# toggle polybar
bindsym $mod+Shift+f exec "polybar-msg cmd toggle"
bindsym $mod+Shift+f exec "polybar-msg cmd toggle && sleep 5 && polybar-msg cmd hide"
# make screenshot
bindsym $mod+Print exec "flameshot full -c"
@@ -310,8 +310,8 @@ bindsym $mod+Shift+r restart
bindsym $mod+Ctrl+Shift+$alt+l exec --no-startup-id light-locker-command -l
# Set shut down, restart and locking features
bindsym $mod+Shift+Ctrl+$alt+h exec --no-startup-id systemctl hibernate
bindsym $mod+Shift+Ctrl+$alt+s exec --no-startup-id systemctl suspend
bindsym $mod+Shift+Ctrl+$alt+h exec --no-startup-id loginctl hibernate
bindsym $mod+Shift+Ctrl+$alt+s exec --no-startup-id loginctl suspend
#bindsym $mod+0 mode "$mode_system"
#set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown
@@ -371,8 +371,8 @@ exec --no-startup-id xfce4-power-manager
exec --no-startup-id flameshot
# autostart terminal and broswer
exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/termite'
exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/firefox'
#exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/termite'
#exec --no-startup-id i2-msg 'workspace 2; exec /usr/bin/firefox'
# set x background
exec --no-startup-id xsetroot -solid black
+1
View File
@@ -23,3 +23,4 @@ gvfs-smb
avahi
python-pip
man-db
fcron