Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jay Ta'ala
jt-config-repo
Commits
d067ccdc
Commit
d067ccdc
authored
Apr 19, 2022
by
Jay Ta'ala
Browse files
Added xsm session saving and reloading on exit/start.
parent
cd6163fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
i3/config
View file @
d067ccdc
...
...
@@ -110,6 +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
# picom (compositor)
bindsym $mod+t exec --no-startup-id $picom_start
...
...
@@ -401,7 +402,8 @@ 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 h exec --no-startup-id "systemctl hibernate", mode "default"
bindsym Shift+h exec --no-startup-id "i3exit lock; systemctl hibernate", mode "default"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment