Improved portability

This commit is contained in:
Logan G 2021-11-16 12:29:10 -07:00
parent 85f6d45ac8
commit f24c1de879
Signed by: logan
GPG key ID: E328528C921E7A7A
2 changed files with 5 additions and 4 deletions

View file

@ -1,2 +1,3 @@
config.d/idle.conf
scripts/lock.sh
config.d/background.conf
config.d/lock.conf

View file

@ -153,7 +153,7 @@ bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Do you wish to logout?' -B 'Yes' 'i3-msg exit'"
bindsym $mod+Shift+e exec "swaynag -t warning -m 'Do you wish to logout?' -B 'Yes' 'swaymsg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
@ -185,11 +185,11 @@ mode "resize" {
### Custom
#bindsym Ctrl+Mod1+l exec --no-startup-id loginctl lock-session
bindsym Ctrl+Mod1+l exec --no-startup-id ~/.config/sway/scripts/lock.sh
bindsym Ctrl+Mod1+l exec --no-startup-id $lock_command
#bindsym Ctrl+Mod1+l exec --no-startup-id betterlockscreen -l -t "${USER}@${HOSTNAME}" --off 10
# Background
output "*" bg ~/Pictures/orion-nebula-5120x2880-hubble-space-telescope-nasa-hd-5k-1933.jpg fill
output "*" bg $background fill
# Move workspace over to neighboring monitors
bindsym $mod+Ctrl+Left move workspace to output left