Merge branch 'master' of vps:git/vcsh/sway

This commit is contained in:
David Thurstenson 2020-08-10 11:20:11 -05:00
commit b89f263fd4
11 changed files with 51 additions and 12 deletions

View File

@ -20,4 +20,4 @@ set $term alacritty
# Preferred application launcher # Preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened # Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on. # on the original workspace that the command was run on.
set $menu bemenu-run --no-exec | xargs swaymsg exec -- set $menu bemenu-run --no-exec --monitor=all | xargs swaymsg exec --

View File

@ -31,6 +31,9 @@ bindsym $mod+Shift+e exit
# See 11-idle_lock.conf for locker definition # See 11-idle_lock.conf for locker definition
bindsym $mod+Mod1+l exec "$locker" bindsym $mod+Mod1+l exec "$locker"
# Suspend the whole system
bindsym $mod+Mod1+s exec "systemctl suspend"
# Passmenu # Passmenu
# (using aur/bemenu-dmenu to use dmenu without patching passmenu) # (using aur/bemenu-dmenu to use dmenu without patching passmenu)
bindsym $mod+p exec passmenu bindsym $mod+p exec passmenu

View File

@ -6,7 +6,7 @@
workspace_layout default workspace_layout default
# Set default layout for containers # Set default layout for containers
default_orientation vertical default_orientation horizontal
# Set default border style # Set default border style
default_border pixel default_border pixel

View File

@ -2,18 +2,20 @@
# #
# Thurstylark # Thurstylark
set $lock-time 600 set $lock-time 900
set $dispsleep-time 900 set $dispsleep-time 600
set $dispsleep 'swaymsg "output * dpms off"' set $dispsleep 'swaymsg "output * dpms off"'
set $dispwake 'swaymsg "output * dpms on"' set $dispwake 'swaymsg "output * dpms on"'
set $locker "swaylock -f -F -l -c 000000" set $locker "swaylock -e -f -F -l -c 000000"
set $unlocker "killall swaylock"
exec swayidle -w \ exec swayidle -w \
timeout $lock-time $locker \ timeout $lock-time $locker \
# timeout $dispsleep-time $dispsleep \ timeout $dispsleep-time $dispsleep \
resume $dispwake \ resume $dispwake \
after-resume $dispwake \ after-resume $dispwake \
before-sleep $locker \ before-sleep $locker \
lock $locker lock $locker \
unlock $unlocker

View File

@ -30,7 +30,8 @@ set $o-puwide-pos-y "0"
# Sane default of 1080p60 # Sane default of 1080p60
output * mode 1920x1080@60Hz output * mode 1920x1080@60Hz
output * bg ~/.config/sway/$hostname/bg center #000000 # Desktop wallpaper
output * bg ~/.config/sway/$hostname/bg fill #000000
# Set minimum brightness # Set minimum brightness
exec "light -N 6" exec "light -N 6"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 962 KiB

After

Width:  |  Height:  |  Size: 2.7 MiB

View File

@ -8,12 +8,8 @@ set $omimon "Dell Inc. Dell AW3420DW 20X9D9990E2L"
# Sane default of 1080p60 # Sane default of 1080p60
output * mode 1920x1080@60Hz output * mode 1920x1080@60Hz
<<<<<<< HEAD
output DP-1 mode 3440x1440@59Hz output DP-1 mode 3440x1440@59Hz
output $omimon mode 3440x1440@60Hz output $omimon mode 3440x1440@60Hz
output * bg ~/.config/sway/lark-desktop/bg center #000000
=======
output * bg ~/.config/sway/$hostname/bg center #000000 output * bg ~/.config/sway/$hostname/bg center #000000
>>>>>>> efbd9091616831d94e7a13aac756823de0baf49c

View File

@ -0,0 +1,14 @@
# Sway config: Bar
#
# Reference: `man 5 sway-bar`
bar {
position bottom
status_command py3status -c ~/.config/sway/$hostname/py3status.py
colors {
statusline #ffffff
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
}
}

View File

@ -0,0 +1,8 @@
# Sway Config: Input Config
#
# Thurstylark
# Set numlock on startup
input * xkb_numlock enabled

View File

@ -0,0 +1,15 @@
# Sway config: Output
#
# Thurstylark
set $omimon "Dell Inc. Dell AW3420DW 20X9D9990E2L"
# Sane default of 1080p60
output * mode 1920x1080@60Hz
output DP-1 mode 3440x1440@59Hz
output $omimon mode 3440x1440@60Hz
output * bg ~/.config/sway/$hostname/bg center #000000

BIN
.config/sway/larkbox/bg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 962 KiB