commit edc76c07a97eecf51e6371d8d0e99cec1053b2e7
parent 9ecba69483a5d1c2812678985b1665a3e5de995d
Author: Jake Koroman <jakekoroman@gmail.com>
Date: Wed, 18 Sep 2024 21:21:21 -0400
add thinkpad configs.
Diffstat:
4 files changed, 46 insertions(+), 3 deletions(-)
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
@@ -1 +1 @@
-/home/jake/dotfiles/device-specific/desktop/waybar
-\ No newline at end of file
+/home/jake/dotfiles/device-specific/thinkpad/waybar
+\ No newline at end of file
diff --git a/deploy b/deploy
@@ -12,7 +12,7 @@ if [ -z "$1" ]; then
fi
if [ $(echo "$1" | cut -c1-1) = "t" ]; then
- hardware="laptop"
+ hardware="thinkpad"
FOOT_FONT="Iosevka Nerd Font:size=14"
elif [ $(echo "$1" | cut -c1-1) = "d" ]; then
hardware="desktop"
diff --git a/device-specific/thinkpad/river b/device-specific/thinkpad/river
@@ -0,0 +1,11 @@
+# symlinked to ~/.config/river/device included at the bottom of rivers init script
+
+riverctl input pointer-2362-628-PIXA3854:00_093A:0274_Touchpad natural-scroll enabled
+riverctl keyboard-layout -options "caps:escape" us
+
+emacs --bg-daemon &
+gentoo-pipewire-launcher restart &
+kanshi &
+myswayidle &
+waybar &
+wbg ~/Pictures/wallpaper &
diff --git a/device-specific/thinkpad/waybar b/device-specific/thinkpad/waybar
@@ -0,0 +1,32 @@
+{
+ "layer": "top",
+ "modules-left": ["river/tags", "river/mode"],
+ "modules-center": ["river/window"],
+ "modules-right": ["custom/mail", "pulseaudio", "battery", "clock", "tray"],
+ "custom/mail": {
+ "exec": "checkmail 'koromanj@miltonhydro.com'",
+ "interval": 5
+ },
+ "river/window": {
+ "max-length": 50
+ },
+ "tray": {
+ "icon-size": 20,
+ "padding": 10
+ },
+ "pulseaudio": {
+ "format": "{volume}% {icon}",
+ "format-muted": "{volume}% ",
+ "format-icons": {
+ "default": ["", ""]
+ },
+ "on-click": "pavucontrol"
+ },
+ "battery": {
+ "format": "{capacity}% {icon}",
+ "format-icons": ["", "", "", "", ""]
+ },
+ "clock": {
+ "format-alt": "{:%a, %d. %b %H:%M}"
+ }
+}