let hm manage xsession to make .profile unnecessary
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||
|
||||
set $mod Mod4
|
||||
set $scripts ~/.config/i3/scripts
|
||||
set $scripts /home/julian/.config/i3/scripts
|
||||
set $lock "i3lock --ignore-empty-password --color=000000"
|
||||
|
||||
# Font for window titles
|
||||
@@ -196,7 +196,8 @@ bar {
|
||||
set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown
|
||||
mode "$mode_system" {
|
||||
bindsym l exec --no-startup-id $lock, mode "default"
|
||||
bindsym e exec --no-startup-id i3-msg exit, mode "default" # logout
|
||||
# logout
|
||||
bindsym e exec --no-startup-id i3-msg exit, mode "default"
|
||||
bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
||||
bindsym s exec --no-startup-id systemctl poweroff, mode "default"
|
||||
bindsym h exec --no-startup-id $lock && systemctl hibernate, mode "default"
|
||||
@@ -216,7 +217,7 @@ bindsym $mod+c exec qalculate-gtk
|
||||
bindsym $mod+Shift+p exec xwacomcalibrate
|
||||
bindsym $mod+e exec thunar
|
||||
bindsym $mod+b exec firefox
|
||||
bindsym $mod+p exec display-toggle-mirror
|
||||
bindsym $mod+p exec $scripts/display-toggle-mirror
|
||||
|
||||
workspace_auto_back_and_forth yes
|
||||
|
||||
@@ -294,7 +295,7 @@ exec --no-startup-id nitrogen --restore
|
||||
# exec_always --no-startup-id ff-theme-util
|
||||
# exec_always --no-startup-id fix_xcursor
|
||||
|
||||
exec_always --no-startup-id "display-layoutpicker"
|
||||
exec_always --no-startup-id "$scripts/display-layoutpicker"
|
||||
|
||||
|
||||
#############################
|
||||
|
Reference in New Issue
Block a user