From 6eea09f15f509ff9b2a2d5491f0f2bfd789585dd Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Wed, 7 Jul 2021 18:46:38 -0500 Subject: [PATCH] Added template machine config --- .config/sway/template/10-variables.conf | 1 + .config/sway/template/11-base.conf | 1 + .config/sway/template/12-keybinds-base.conf | 1 + .../sway/template/13-output-sane-default.conf | 1 + .../sway/template/14-output-configure.conf | 1 + .config/sway/template/15-input.conf | 1 + .config/sway/template/backlight-keys.conf | 1 + .config/sway/template/backlight-min.conf | 1 + .config/sway/template/bar/py3status.py | 46 +++++++++++++++++++ .config/sway/template/cursor-hide.conf | 1 + .config/sway/template/default-bg.conf | 1 + .config/sway/template/focus.conf | 1 + .config/sway/template/idle-lock.conf | 1 + .config/sway/template/media-workspace.conf | 1 + .config/sway/template/monitor-workspace.conf | 1 + .config/sway/template/movement.conf | 1 + .config/sway/template/outputs/example.conf | 27 +++++++++++ .config/sway/template/passmenu.conf | 1 + .../sway/template/playerctl-media-keys.conf | 1 + .config/sway/template/pulse-media-keys.conf | 1 + .config/sway/template/py3status.conf | 1 + .config/sway/template/resize.conf | 1 + .config/sway/template/scratchpad.conf | 1 + .config/sway/template/screen-lock.conf | 1 + .config/sway/template/suspend.conf | 1 + .config/sway/template/terminal-workspace.conf | 1 + .config/sway/template/workspaces.conf | 1 + 27 files changed, 98 insertions(+) create mode 120000 .config/sway/template/10-variables.conf create mode 120000 .config/sway/template/11-base.conf create mode 120000 .config/sway/template/12-keybinds-base.conf create mode 120000 .config/sway/template/13-output-sane-default.conf create mode 120000 .config/sway/template/14-output-configure.conf create mode 120000 .config/sway/template/15-input.conf create mode 120000 .config/sway/template/backlight-keys.conf create mode 120000 .config/sway/template/backlight-min.conf create mode 100644 .config/sway/template/bar/py3status.py create mode 120000 .config/sway/template/cursor-hide.conf create mode 120000 .config/sway/template/default-bg.conf create mode 120000 .config/sway/template/focus.conf create mode 120000 .config/sway/template/idle-lock.conf create mode 120000 .config/sway/template/media-workspace.conf create mode 120000 .config/sway/template/monitor-workspace.conf create mode 120000 .config/sway/template/movement.conf create mode 100644 .config/sway/template/outputs/example.conf create mode 120000 .config/sway/template/passmenu.conf create mode 120000 .config/sway/template/playerctl-media-keys.conf create mode 120000 .config/sway/template/pulse-media-keys.conf create mode 120000 .config/sway/template/py3status.conf create mode 120000 .config/sway/template/resize.conf create mode 120000 .config/sway/template/scratchpad.conf create mode 120000 .config/sway/template/screen-lock.conf create mode 120000 .config/sway/template/suspend.conf create mode 120000 .config/sway/template/terminal-workspace.conf create mode 120000 .config/sway/template/workspaces.conf diff --git a/.config/sway/template/10-variables.conf b/.config/sway/template/10-variables.conf new file mode 120000 index 0000000..9d726aa --- /dev/null +++ b/.config/sway/template/10-variables.conf @@ -0,0 +1 @@ +../available/general/variables.conf \ No newline at end of file diff --git a/.config/sway/template/11-base.conf b/.config/sway/template/11-base.conf new file mode 120000 index 0000000..1803477 --- /dev/null +++ b/.config/sway/template/11-base.conf @@ -0,0 +1 @@ +../available/general/base.conf \ No newline at end of file diff --git a/.config/sway/template/12-keybinds-base.conf b/.config/sway/template/12-keybinds-base.conf new file mode 120000 index 0000000..24fd810 --- /dev/null +++ b/.config/sway/template/12-keybinds-base.conf @@ -0,0 +1 @@ +../available/keybinds/base.conf \ No newline at end of file diff --git a/.config/sway/template/13-output-sane-default.conf b/.config/sway/template/13-output-sane-default.conf new file mode 120000 index 0000000..e27dad6 --- /dev/null +++ b/.config/sway/template/13-output-sane-default.conf @@ -0,0 +1 @@ +../available/output/sane-default.conf \ No newline at end of file diff --git a/.config/sway/template/14-output-configure.conf b/.config/sway/template/14-output-configure.conf new file mode 120000 index 0000000..cb40163 --- /dev/null +++ b/.config/sway/template/14-output-configure.conf @@ -0,0 +1 @@ +../available/output/configure.conf \ No newline at end of file diff --git a/.config/sway/template/15-input.conf b/.config/sway/template/15-input.conf new file mode 120000 index 0000000..f5b9e26 --- /dev/null +++ b/.config/sway/template/15-input.conf @@ -0,0 +1 @@ +../available/input/input.conf \ No newline at end of file diff --git a/.config/sway/template/backlight-keys.conf b/.config/sway/template/backlight-keys.conf new file mode 120000 index 0000000..883159d --- /dev/null +++ b/.config/sway/template/backlight-keys.conf @@ -0,0 +1 @@ +../available/keybinds/backlight-keys.conf \ No newline at end of file diff --git a/.config/sway/template/backlight-min.conf b/.config/sway/template/backlight-min.conf new file mode 120000 index 0000000..3ead22d --- /dev/null +++ b/.config/sway/template/backlight-min.conf @@ -0,0 +1 @@ +../available/output/backlight-min.conf \ No newline at end of file diff --git a/.config/sway/template/bar/py3status.py b/.config/sway/template/bar/py3status.py new file mode 100644 index 0000000..c4e1c48 --- /dev/null +++ b/.config/sway/template/bar/py3status.py @@ -0,0 +1,46 @@ +order += "dropboxd_status" +order += "arch_updates" +order += "volume_status" +order += "sysdata" +order += "keyboard_locks" +order += "battery_level" +order += "group time" + +group time { + clock "local" { + format_time = "%F %H:%M" + } + clock "zulu" { + format = "{UTC}" + format_time = "%Y%m%d %H%Mz" + } +} + +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}]" +} + +dropboxd_status { + format = "KD_DB: {status}" + status_on = "✓" + status_off = "DOWN" +} diff --git a/.config/sway/template/cursor-hide.conf b/.config/sway/template/cursor-hide.conf new file mode 120000 index 0000000..a4eefa4 --- /dev/null +++ b/.config/sway/template/cursor-hide.conf @@ -0,0 +1 @@ +../available/input/cursor-hide.conf \ No newline at end of file diff --git a/.config/sway/template/default-bg.conf b/.config/sway/template/default-bg.conf new file mode 120000 index 0000000..686beb7 --- /dev/null +++ b/.config/sway/template/default-bg.conf @@ -0,0 +1 @@ +../available/output/default-bg.conf \ No newline at end of file diff --git a/.config/sway/template/focus.conf b/.config/sway/template/focus.conf new file mode 120000 index 0000000..9485d0c --- /dev/null +++ b/.config/sway/template/focus.conf @@ -0,0 +1 @@ +../available/keybinds/focus.conf \ No newline at end of file diff --git a/.config/sway/template/idle-lock.conf b/.config/sway/template/idle-lock.conf new file mode 120000 index 0000000..fa0f039 --- /dev/null +++ b/.config/sway/template/idle-lock.conf @@ -0,0 +1 @@ +../available/general/idle-lock.conf \ No newline at end of file diff --git a/.config/sway/template/media-workspace.conf b/.config/sway/template/media-workspace.conf new file mode 120000 index 0000000..f3f2e65 --- /dev/null +++ b/.config/sway/template/media-workspace.conf @@ -0,0 +1 @@ +../available/extras/media-workspace.conf \ No newline at end of file diff --git a/.config/sway/template/monitor-workspace.conf b/.config/sway/template/monitor-workspace.conf new file mode 120000 index 0000000..3e7ad3a --- /dev/null +++ b/.config/sway/template/monitor-workspace.conf @@ -0,0 +1 @@ +../available/extras/monitor-workspace.conf \ No newline at end of file diff --git a/.config/sway/template/movement.conf b/.config/sway/template/movement.conf new file mode 120000 index 0000000..78906b7 --- /dev/null +++ b/.config/sway/template/movement.conf @@ -0,0 +1 @@ +../available/keybinds/movement.conf \ No newline at end of file diff --git a/.config/sway/template/outputs/example.conf b/.config/sway/template/outputs/example.conf new file mode 100644 index 0000000..bde0749 --- /dev/null +++ b/.config/sway/template/outputs/example.conf @@ -0,0 +1,27 @@ +# Sway Config: Output +# +# Thurstylark + +# Display ID is required +set $o-id "Samsung Electric Company U32J59x H4ZM800632" + +# Mode +set $o-mode "2560x1440@59Hz" + +# Position +set $o-pos-x "1920" +set $o-pos-y "0" + +# Scale Factor +set $o-scalefactor "2" + +# Transform +set $o-transform "90" + + +# Do the thing +# (comment or remove direcives that are unnecessary to avoid errors) +$u-output-set-mode +$u-output-set-position +$u-output-set-scale +$u-output-set-transform diff --git a/.config/sway/template/passmenu.conf b/.config/sway/template/passmenu.conf new file mode 120000 index 0000000..2121a4e --- /dev/null +++ b/.config/sway/template/passmenu.conf @@ -0,0 +1 @@ +../available/keybinds/passmenu.conf \ No newline at end of file diff --git a/.config/sway/template/playerctl-media-keys.conf b/.config/sway/template/playerctl-media-keys.conf new file mode 120000 index 0000000..758b097 --- /dev/null +++ b/.config/sway/template/playerctl-media-keys.conf @@ -0,0 +1 @@ +../available/keybinds/playerctl-media-keys.conf \ No newline at end of file diff --git a/.config/sway/template/pulse-media-keys.conf b/.config/sway/template/pulse-media-keys.conf new file mode 120000 index 0000000..64916fb --- /dev/null +++ b/.config/sway/template/pulse-media-keys.conf @@ -0,0 +1 @@ +../available/keybinds/pulse-media-keys.conf \ No newline at end of file diff --git a/.config/sway/template/py3status.conf b/.config/sway/template/py3status.conf new file mode 120000 index 0000000..de93c74 --- /dev/null +++ b/.config/sway/template/py3status.conf @@ -0,0 +1 @@ +../available/bar/py3status.conf \ No newline at end of file diff --git a/.config/sway/template/resize.conf b/.config/sway/template/resize.conf new file mode 120000 index 0000000..5b7c0ab --- /dev/null +++ b/.config/sway/template/resize.conf @@ -0,0 +1 @@ +../available/mode/resize.conf \ No newline at end of file diff --git a/.config/sway/template/scratchpad.conf b/.config/sway/template/scratchpad.conf new file mode 120000 index 0000000..dfbc371 --- /dev/null +++ b/.config/sway/template/scratchpad.conf @@ -0,0 +1 @@ +../available/keybinds/scratchpad.conf \ No newline at end of file diff --git a/.config/sway/template/screen-lock.conf b/.config/sway/template/screen-lock.conf new file mode 120000 index 0000000..d61f075 --- /dev/null +++ b/.config/sway/template/screen-lock.conf @@ -0,0 +1 @@ +../available/keybinds/screen-lock.conf \ No newline at end of file diff --git a/.config/sway/template/suspend.conf b/.config/sway/template/suspend.conf new file mode 120000 index 0000000..5dc5ee2 --- /dev/null +++ b/.config/sway/template/suspend.conf @@ -0,0 +1 @@ +../available/keybinds/suspend.conf \ No newline at end of file diff --git a/.config/sway/template/terminal-workspace.conf b/.config/sway/template/terminal-workspace.conf new file mode 120000 index 0000000..9321017 --- /dev/null +++ b/.config/sway/template/terminal-workspace.conf @@ -0,0 +1 @@ +../available/extras/terminal-workspace.conf \ No newline at end of file diff --git a/.config/sway/template/workspaces.conf b/.config/sway/template/workspaces.conf new file mode 120000 index 0000000..ec08a9f --- /dev/null +++ b/.config/sway/template/workspaces.conf @@ -0,0 +1 @@ +../available/keybinds/workspaces.conf \ No newline at end of file