Commit 63616ea0 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Now asked whether to restore previous session windows.

parent d067ccdc
......@@ -110,7 +110,7 @@ exec --no-startup-id xfce4-power-manager
exec_always --no-startup-id "pkill conky; sleep 0.5; conky -c ~/.config/conky; conky -c ~/.config/conky_shortcuts"
set $picom_start "pkill picom; sleep 1; picom -b"
exec_always --no-startup-id $picom_start
exec --no-startup-id yes | xsm --restore
exec --no-startup-id xsm -pr
# picom (compositor)
bindsym $mod+t exec --no-startup-id $picom_start
......@@ -359,6 +359,7 @@ for_window [class="(?i)^timeshift-gtk$"] floating disable
for_window [class="(?i)^gnome-calculator$"] floating disable
for_window [class="(?i)^workspacesclient$"] floating disable
for_window [class="(?i)^zoom$"] floating disable
for_window [title="Question"] floating enable
# Application shortcuts
bindsym $mod_next+u exec --no-startup-id pamac-manager
......@@ -402,13 +403,13 @@ mode "$mode_system" {
bindsym l exec --no-startup-id i3exit lock, mode "default"
bindsym Shift+s exec --no-startup-id "systemctl suspend", mode "default"
bindsym s exec --no-startup-id "i3exit lock; systemctl suspend", mode "default"
bindsym u exec --no-startup-id "i3exit switch_user", mode "default"
# requires xsm (xsession-manager)
bindsym u exec --no-startup-id "yes | xsm --save; i3exit switch_user", mode "default"
bindsym e exec --no-startup-id "i3exit logout", mode "default"
bindsym e exec --no-startup-id "yes | xsm --save; i3exit logout", mode "default"
bindsym h exec --no-startup-id "systemctl hibernate", mode "default"
bindsym Shift+h exec --no-startup-id "i3exit lock; systemctl hibernate", mode "default"
bindsym r exec --no-startup-id "i3exit reboot", mode "default"
bindsym d exec --no-startup-id "i3exit shutdown", mode "default"
bindsym r exec --no-startup-id "yes | xsm --save; i3exit reboot", mode "default"
bindsym d exec --no-startup-id "yes | xsm --save; i3exit shutdown", mode "default"
# exit system mode: "Enter" or "Escape"
bindsym Return mode "default"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment