From 6c0368a02e1ed946a264d58e165d9d30eb097345 Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Sun, 11 Jun 2023 19:00:28 +0200 Subject: [PATCH] fixed suspend and hibernate commands --- .config/i3/config | 10 +++++----- .setup/packages/base.list | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 56f7f63..78d4553 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -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 diff --git a/.setup/packages/base.list b/.setup/packages/base.list index bb6073c..9c1c960 100644 --- a/.setup/packages/base.list +++ b/.setup/packages/base.list @@ -23,3 +23,4 @@ gvfs-smb avahi python-pip man-db +fcron