From feac9139008ce187c132c3fd4c3b7b2662bd2cfe Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Tue, 22 Feb 2022 21:52:02 -0600 Subject: [PATCH] Adding config for larkbook (copied from tl-yoga) --- .config/sway/larkbook/10-variables.conf | 1 + .config/sway/larkbook/11-base.conf | 1 + .config/sway/larkbook/12-keybinds-base.conf | 1 + .../sway/larkbook/13-output-sane-default.conf | 1 + .../sway/larkbook/14-output-configure.conf | 1 + .config/sway/larkbook/15-input.conf | 1 + .config/sway/larkbook/20-input-tweaks.conf | 15 ++++++ .config/sway/larkbook/90-workspaces.conf | 1 + .config/sway/larkbook/backlight-keys.conf | 1 + .config/sway/larkbook/backlight-min.conf | 1 + .config/sway/larkbook/bar/py3status.py | 46 +++++++++++++++++++ .config/sway/larkbook/cursor-hide.conf | 1 + .config/sway/larkbook/focus.conf | 1 + .config/sway/larkbook/media-workspace.conf | 1 + .config/sway/larkbook/monitor-workspace.conf | 1 + .config/sway/larkbook/movement.conf | 1 + .config/sway/larkbook/outputs/laptop.conf | 25 ++++++++++ .config/sway/larkbook/passmenu.conf | 1 + .../sway/larkbook/playerctl-media-keys.conf | 1 + .config/sway/larkbook/pulse-media-keys.conf | 1 + .config/sway/larkbook/py3status.conf | 1 + .config/sway/larkbook/random-bg.conf | 1 + .config/sway/larkbook/resize.conf | 1 + .config/sway/larkbook/rotation.conf | 18 ++++++++ .config/sway/larkbook/scratchpad.conf | 1 + .config/sway/larkbook/screen-lock.conf | 1 + .config/sway/larkbook/suspend.conf | 1 + .config/sway/larkbook/terminal-workspace.conf | 1 + 28 files changed, 128 insertions(+) create mode 120000 .config/sway/larkbook/10-variables.conf create mode 120000 .config/sway/larkbook/11-base.conf create mode 120000 .config/sway/larkbook/12-keybinds-base.conf create mode 120000 .config/sway/larkbook/13-output-sane-default.conf create mode 120000 .config/sway/larkbook/14-output-configure.conf create mode 120000 .config/sway/larkbook/15-input.conf create mode 100644 .config/sway/larkbook/20-input-tweaks.conf create mode 120000 .config/sway/larkbook/90-workspaces.conf create mode 120000 .config/sway/larkbook/backlight-keys.conf create mode 120000 .config/sway/larkbook/backlight-min.conf create mode 100644 .config/sway/larkbook/bar/py3status.py create mode 120000 .config/sway/larkbook/cursor-hide.conf create mode 120000 .config/sway/larkbook/focus.conf create mode 120000 .config/sway/larkbook/media-workspace.conf create mode 120000 .config/sway/larkbook/monitor-workspace.conf create mode 120000 .config/sway/larkbook/movement.conf create mode 100644 .config/sway/larkbook/outputs/laptop.conf create mode 120000 .config/sway/larkbook/passmenu.conf create mode 120000 .config/sway/larkbook/playerctl-media-keys.conf create mode 120000 .config/sway/larkbook/pulse-media-keys.conf create mode 120000 .config/sway/larkbook/py3status.conf create mode 120000 .config/sway/larkbook/random-bg.conf create mode 120000 .config/sway/larkbook/resize.conf create mode 100644 .config/sway/larkbook/rotation.conf create mode 120000 .config/sway/larkbook/scratchpad.conf create mode 120000 .config/sway/larkbook/screen-lock.conf create mode 120000 .config/sway/larkbook/suspend.conf create mode 120000 .config/sway/larkbook/terminal-workspace.conf diff --git a/.config/sway/larkbook/10-variables.conf b/.config/sway/larkbook/10-variables.conf new file mode 120000 index 0000000..9d726aa --- /dev/null +++ b/.config/sway/larkbook/10-variables.conf @@ -0,0 +1 @@ +../available/general/variables.conf \ No newline at end of file diff --git a/.config/sway/larkbook/11-base.conf b/.config/sway/larkbook/11-base.conf new file mode 120000 index 0000000..1803477 --- /dev/null +++ b/.config/sway/larkbook/11-base.conf @@ -0,0 +1 @@ +../available/general/base.conf \ No newline at end of file diff --git a/.config/sway/larkbook/12-keybinds-base.conf b/.config/sway/larkbook/12-keybinds-base.conf new file mode 120000 index 0000000..24fd810 --- /dev/null +++ b/.config/sway/larkbook/12-keybinds-base.conf @@ -0,0 +1 @@ +../available/keybinds/base.conf \ No newline at end of file diff --git a/.config/sway/larkbook/13-output-sane-default.conf b/.config/sway/larkbook/13-output-sane-default.conf new file mode 120000 index 0000000..e27dad6 --- /dev/null +++ b/.config/sway/larkbook/13-output-sane-default.conf @@ -0,0 +1 @@ +../available/output/sane-default.conf \ No newline at end of file diff --git a/.config/sway/larkbook/14-output-configure.conf b/.config/sway/larkbook/14-output-configure.conf new file mode 120000 index 0000000..cb40163 --- /dev/null +++ b/.config/sway/larkbook/14-output-configure.conf @@ -0,0 +1 @@ +../available/output/configure.conf \ No newline at end of file diff --git a/.config/sway/larkbook/15-input.conf b/.config/sway/larkbook/15-input.conf new file mode 120000 index 0000000..f5b9e26 --- /dev/null +++ b/.config/sway/larkbook/15-input.conf @@ -0,0 +1 @@ +../available/input/input.conf \ No newline at end of file diff --git a/.config/sway/larkbook/20-input-tweaks.conf b/.config/sway/larkbook/20-input-tweaks.conf new file mode 100644 index 0000000..7df36f3 --- /dev/null +++ b/.config/sway/larkbook/20-input-tweaks.conf @@ -0,0 +1,15 @@ +# Sway Config: Common Input Configuration +# +# Thurstylark + + +# Set common touchpad options +input type:touchpad { + tap disabled + click_method clickfinger +} + + +# Touchscreen and Pen Mapping +input type:touch map_to_output $o-id +input type:tablet_tool map_to_output $o-id diff --git a/.config/sway/larkbook/90-workspaces.conf b/.config/sway/larkbook/90-workspaces.conf new file mode 120000 index 0000000..ec08a9f --- /dev/null +++ b/.config/sway/larkbook/90-workspaces.conf @@ -0,0 +1 @@ +../available/keybinds/workspaces.conf \ No newline at end of file diff --git a/.config/sway/larkbook/backlight-keys.conf b/.config/sway/larkbook/backlight-keys.conf new file mode 120000 index 0000000..883159d --- /dev/null +++ b/.config/sway/larkbook/backlight-keys.conf @@ -0,0 +1 @@ +../available/keybinds/backlight-keys.conf \ No newline at end of file diff --git a/.config/sway/larkbook/backlight-min.conf b/.config/sway/larkbook/backlight-min.conf new file mode 120000 index 0000000..3ead22d --- /dev/null +++ b/.config/sway/larkbook/backlight-min.conf @@ -0,0 +1 @@ +../available/output/backlight-min.conf \ No newline at end of file diff --git a/.config/sway/larkbook/bar/py3status.py b/.config/sway/larkbook/bar/py3status.py new file mode 100644 index 0000000..a4959d5 --- /dev/null +++ b/.config/sway/larkbook/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/larkbook/cursor-hide.conf b/.config/sway/larkbook/cursor-hide.conf new file mode 120000 index 0000000..a4eefa4 --- /dev/null +++ b/.config/sway/larkbook/cursor-hide.conf @@ -0,0 +1 @@ +../available/input/cursor-hide.conf \ No newline at end of file diff --git a/.config/sway/larkbook/focus.conf b/.config/sway/larkbook/focus.conf new file mode 120000 index 0000000..9485d0c --- /dev/null +++ b/.config/sway/larkbook/focus.conf @@ -0,0 +1 @@ +../available/keybinds/focus.conf \ No newline at end of file diff --git a/.config/sway/larkbook/media-workspace.conf b/.config/sway/larkbook/media-workspace.conf new file mode 120000 index 0000000..f3f2e65 --- /dev/null +++ b/.config/sway/larkbook/media-workspace.conf @@ -0,0 +1 @@ +../available/extras/media-workspace.conf \ No newline at end of file diff --git a/.config/sway/larkbook/monitor-workspace.conf b/.config/sway/larkbook/monitor-workspace.conf new file mode 120000 index 0000000..3e7ad3a --- /dev/null +++ b/.config/sway/larkbook/monitor-workspace.conf @@ -0,0 +1 @@ +../available/extras/monitor-workspace.conf \ No newline at end of file diff --git a/.config/sway/larkbook/movement.conf b/.config/sway/larkbook/movement.conf new file mode 120000 index 0000000..78906b7 --- /dev/null +++ b/.config/sway/larkbook/movement.conf @@ -0,0 +1 @@ +../available/keybinds/movement.conf \ No newline at end of file diff --git a/.config/sway/larkbook/outputs/laptop.conf b/.config/sway/larkbook/outputs/laptop.conf new file mode 100644 index 0000000..6006976 --- /dev/null +++ b/.config/sway/larkbook/outputs/laptop.conf @@ -0,0 +1,25 @@ +# Sway Config: Output +# +# Thurstylark + +# Display ID is required +set $o-id "eDP-1" + +# Mode +set $o-mode "3840x2160@60Hz" + +# Position +set $o-pos-x "0" +set $o-pos-y "0" + +# Scale Factor +set $o-scalefactor "2" + + +# Do the thing +# (comment or remove direcives that are unnecessary to avoid errors) +output $o-id { + mode $o-mode + position $o-pos-x $o-pos-y + scale $o-scalefactor +} diff --git a/.config/sway/larkbook/passmenu.conf b/.config/sway/larkbook/passmenu.conf new file mode 120000 index 0000000..2121a4e --- /dev/null +++ b/.config/sway/larkbook/passmenu.conf @@ -0,0 +1 @@ +../available/keybinds/passmenu.conf \ No newline at end of file diff --git a/.config/sway/larkbook/playerctl-media-keys.conf b/.config/sway/larkbook/playerctl-media-keys.conf new file mode 120000 index 0000000..758b097 --- /dev/null +++ b/.config/sway/larkbook/playerctl-media-keys.conf @@ -0,0 +1 @@ +../available/keybinds/playerctl-media-keys.conf \ No newline at end of file diff --git a/.config/sway/larkbook/pulse-media-keys.conf b/.config/sway/larkbook/pulse-media-keys.conf new file mode 120000 index 0000000..64916fb --- /dev/null +++ b/.config/sway/larkbook/pulse-media-keys.conf @@ -0,0 +1 @@ +../available/keybinds/pulse-media-keys.conf \ No newline at end of file diff --git a/.config/sway/larkbook/py3status.conf b/.config/sway/larkbook/py3status.conf new file mode 120000 index 0000000..de93c74 --- /dev/null +++ b/.config/sway/larkbook/py3status.conf @@ -0,0 +1 @@ +../available/bar/py3status.conf \ No newline at end of file diff --git a/.config/sway/larkbook/random-bg.conf b/.config/sway/larkbook/random-bg.conf new file mode 120000 index 0000000..dd8180f --- /dev/null +++ b/.config/sway/larkbook/random-bg.conf @@ -0,0 +1 @@ +../available/output/random-bg.conf \ No newline at end of file diff --git a/.config/sway/larkbook/resize.conf b/.config/sway/larkbook/resize.conf new file mode 120000 index 0000000..5b7c0ab --- /dev/null +++ b/.config/sway/larkbook/resize.conf @@ -0,0 +1 @@ +../available/mode/resize.conf \ No newline at end of file diff --git a/.config/sway/larkbook/rotation.conf b/.config/sway/larkbook/rotation.conf new file mode 100644 index 0000000..d851ebb --- /dev/null +++ b/.config/sway/larkbook/rotation.conf @@ -0,0 +1,18 @@ +# Sway config: Display rotation +# +# Thurstylark + + +set $rotate-display eDP-1 + +bindsym $mod+Backslash mode "Rotate" + +input $i-wacom-pen map_to_output $o-internal-id +input $i-wacom-touch map_to_output $o-internal-id + +mode "Rotate" { + bindsym Down output $rotate-display transform normal; mode "default" + bindsym Left output $rotate-display transform 90 clockwise; mode "default" + bindsym Right output $rotate-display transform 90 anticlockwise; mode "default" + bindsym Up output $rotate-display transform 180 clockwise; mode "default" +} diff --git a/.config/sway/larkbook/scratchpad.conf b/.config/sway/larkbook/scratchpad.conf new file mode 120000 index 0000000..dfbc371 --- /dev/null +++ b/.config/sway/larkbook/scratchpad.conf @@ -0,0 +1 @@ +../available/keybinds/scratchpad.conf \ No newline at end of file diff --git a/.config/sway/larkbook/screen-lock.conf b/.config/sway/larkbook/screen-lock.conf new file mode 120000 index 0000000..d61f075 --- /dev/null +++ b/.config/sway/larkbook/screen-lock.conf @@ -0,0 +1 @@ +../available/keybinds/screen-lock.conf \ No newline at end of file diff --git a/.config/sway/larkbook/suspend.conf b/.config/sway/larkbook/suspend.conf new file mode 120000 index 0000000..5dc5ee2 --- /dev/null +++ b/.config/sway/larkbook/suspend.conf @@ -0,0 +1 @@ +../available/keybinds/suspend.conf \ No newline at end of file diff --git a/.config/sway/larkbook/terminal-workspace.conf b/.config/sway/larkbook/terminal-workspace.conf new file mode 120000 index 0000000..9321017 --- /dev/null +++ b/.config/sway/larkbook/terminal-workspace.conf @@ -0,0 +1 @@ +../available/extras/terminal-workspace.conf \ No newline at end of file