Adding legacy configs for archive purposes

This commit is contained in:
David Thurstenson 2023-06-11 22:38:10 -05:00
parent 9490c1688f
commit 8a6b24ec92
6 changed files with 138 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# Sway Config: Idle and Lockscreen
#
# Thurstylark
set $lock-time 900
set $dispsleep-time 600
set $dispsleep 'swaymsg "output * dpms off"'
set $dispwake 'swaymsg "output * dpms on"'
set $locker "swaylock -e -f -F -l -c 000000"
set $unlocker "killall swaylock"
exec swayidle -w \
timeout $lock-time $locker \
timeout $dispsleep-time $dispsleep \
resume $dispwake \
after-resume $dispwake \
before-sleep $locker \
lock $locker \
unlock $unlocker

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,24 @@
# Sway Config: Input Config
#
# Thurstylark
# Cursor hide delay (in ms)
set $cursor-delay "4000"
set $touchpad "1739:10548:Synaptics_s3203_ver5"
set $trackpoint "2:10:TPPS/2_IBM_TrackPoint"
set $trackpoint2 "1267:41:Elan_TrackPoint"
# Touchpad options
input $touchpad {
#pointer_accel 0.5
click_method clickfinger
middle_emulation enabled
}
# Disable Trackpoint
input $trackpoint events disabled
input $trackpoint2 events disabled
# Hide cursor after delay
seat * hide_cursor $cursor-delay

View File

@ -0,0 +1,43 @@
# Sway config: Output
#
# Thurstylark
# Setup for built-in monitor
set $o-internal-id "eDP-1"
set $o-internal-mode "1920x1080@60Hz"
set $o-internal-pos-x "0"
set $o-internal-pos-y "0"
# Setup for 4k monitor attached to work dock
set $o-dock4k-id "Ancor Communications Inc ASUS PB287Q 0x00005B34"
set $o-dock4k-mode "2560x1440@59Hz"
set $o-dock4k-pos-x "1920"
set $o-dock4k-pos-y "0"
# Setup for 1080 monitor attached to work dock
set $o-docklg-id "Goldstar Company Ltd LG FULL HD 503NDWEH8441"
set $o-docklg-mode "1920x1080@60Hz"
set $o-docklg-pos-x "4480"
set $o-docklg-pos-y "0"
# Setup for personal ultrawide monitor
set $o-puwide-id "Unknown ASUS VP348 0x0000CA5D"
set $o-puwide-mode "3440x1440@59Hz"
set $o-puwide-pos-x "1920"
set $o-puwide-pos-y "0"
# Sane default of 1080p60
output * mode 1920x1080@60Hz
# Desktop wallpaper
output * bg ~/.config/sway/$hostname/bg fill #000000
# Set minimum brightness
exec "light -N 6"
# Set monitors for work dock
output $o-internal-id pos $o-internal-pos-x $o-internal-pos-y mode $o-internal-mode
output $o-dock4k-id pos $o-dock4k-pos-x $o-dock4k-pos-y mode $o-dock4k-mode
output $o-docklg-id pos $o-docklg-pos-x $o-docklg-pos-y mode $o-docklg-mode
output $o-puwide-id pos $o-puwide-pos-x $o-puwide-pos-y mode $o-puwide-mode

BIN
.config/sway/thurstybook/bg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

View File

@ -0,0 +1,36 @@
order += "dropboxd_status"
order += "arch_updates"
order += "volume_status"
order += "sysdata"
order += "keyboard_locks"
order += "battery_level"
order += "clock"
clock {
format_time = "%F %H:%M"
}
arch_updates {
format = "U: {pacman}"
}
battery_level {
format = "🔋{percent}% ({time_remaining})"
hide_seconds = true
threshold_full = 80
}
keyboard_locks {
format = "[\?if=num_lock&color=good N|\?color=bad n] [\?if=caps_lock&color=good C|\?color=bad c] [\?if=scroll_lock&color=good S|\?color=bad s]"
}
volume_status {
command = "pactl"
max_volume = 100
}
sysdata {
format = "[\?color=cpu CPU: {cpu_used_percent}%], [\?color=mem Mem: {mem_used_percent}%], [\?color=load L1: {load1}], [\?color=load L5: {load5}], [\?color=load L15: {load15}]"
}