diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-07-23 20:54:18 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-07-23 20:54:18 -0700 |
commit | c9502bb80e60830b0e21d21a04971102687c9f99 (patch) | |
tree | 4317397406c628070ef7b501b3b45cdd8d87fc6a | |
parent | c37c53992dc09287915f7db4d58aedf844ede220 (diff) | |
download | dotfiles-c9502bb80e60830b0e21d21a04971102687c9f99.tar.gz dotfiles-c9502bb80e60830b0e21d21a04971102687c9f99.zip |
Moar linux theming
-rw-r--r-- | context.json | 9 | ||||
-rw-r--r-- | dots/mako/.config/mako/config | 2 | ||||
-rw-r--r-- | dots/sway/.config/sway/bindings.j2 | 80 | ||||
-rw-r--r-- | dots/sway/.config/sway/config.d/10-autostart-applications | 23 | ||||
-rw-r--r-- | dots/sway/.config/sway/config.d/bindings.j2 | 147 | ||||
-rw-r--r-- | dots/sway/.config/sway/config.d/swayfx | 1 | ||||
-rw-r--r-- | dots/sway/.config/sway/config.d/theme | 2 | ||||
-rw-r--r-- | dots/waybar/.config/waybar/config | 116 | ||||
-rw-r--r-- | dots/waybar/.config/waybar/config.j2 | 51 | ||||
-rw-r--r-- | dots/waybar/.config/waybar/style.css.j2 | 152 | ||||
-rw-r--r-- | dots/wofi/.config/wofi/config | 2 | ||||
-rw-r--r-- | dots/zsh/.config/zsh/linux/okabe.zsh | 0 | ||||
-rw-r--r-- | wofi/.config/wofi/style.css | 50 |
13 files changed, 108 insertions, 527 deletions
diff --git a/context.json b/context.json index 1f0d647..30a2bed 100644 --- a/context.json +++ b/context.json @@ -135,6 +135,14 @@ "env": { "PINENTRY_USER_DATA": "PINENTRY_USE_QT" }, + "theme": { + "alacritty": { + "font": { + "name": "Lilex Nerd Font", + "size": 11 + } + } + }, "paths": { "prefix": {}, "suffix": {} @@ -145,6 +153,7 @@ "window_manager": { "key": { "mod": "Mod1", + "sup": "Mod4", "mov": "Shift", "ed": "ctrl" } diff --git a/dots/mako/.config/mako/config b/dots/mako/.config/mako/config index 85c5325..1ec0e2f 100644 --- a/dots/mako/.config/mako/config +++ b/dots/mako/.config/mako/config @@ -11,7 +11,7 @@ border-radius=10 border-color=#4c566a default-timeout=10000 group-by=summary -on-notify=exec mpv ~/.config/mako/sounds/notification.mp3 & +on-notify=exec mpv --volume=50 ~/.config/mako/sounds/notification.mp3 & [grouped] format=<b>%s</b>\n%b diff --git a/dots/sway/.config/sway/bindings.j2 b/dots/sway/.config/sway/bindings.j2 deleted file mode 100644 index 27b7960..0000000 --- a/dots/sway/.config/sway/bindings.j2 +++ /dev/null @@ -1,80 +0,0 @@ -set $mod {{ window_manager.key.mod }} -set $mov {{ window_manager.key.mov }} - -set $left h -set $down j -set $up k -set $right l - -set $browser zen -set $term alacritty -set $filemanager pcmanfm - -set $launcher wofi - -bindsym --to-code { - $mod+Shift+r reload - - $mod+Return exec $term - $mod+m exec $filemanager - $mod+d exec $menu - - $mod+f fullscreen - $mod+v layout tabbed -} - -bindsym --to-code { - $mod+$left focus left - $mod+$down focus down - $mod+$up focus up - $mod+$right focus right - - $mod+$mov+$left move left - $mod+$mov+$down move down - $mod+$mov+$up move up - $mod+$mov+$right move right -} - -bindsym --to-code { -{% for name, ws in window_manager.workspaces.items() %} - $mod+{{ ws.key }} workspace number {{ ws.order }} - $mod+$mov+{{ ws.key }} move container to workspace number {{ ws.order }} -{% endfor %} -} - -bindsym --to-code $mod+Shift+minus move scratchpad -bindsym --to-code $mod+minus scratchpad show - -mode "resize" { - bindsym --to-code { - $left resize shrink width 10px - $down resize grow height 10px - $up resize shrink height 10px - $right resize grow width 10px - - Return mode "default" - Escape mode "default" - } -} - -bindsym --to-code $mod+n mode "resize" - -bindsym { - XF86AudioRaiseVolume exec volumectl -u up - XF86AudioLowerVolume exec volumectl -u down - XF86AudioMute exec volumectl toggle-mute - XF86AudioMicMute exec volumectl -m toggle-mute -} - -bindsym { - XF86MonBrightnessUp exec lightctl up - XF86MonBrightnessDown exec lightctl down -} - -bindsym { - XF86AudioPlay exec playerctl play - XF86AudioPause exec playerctl pause - XF86AudioNext exec playerctl next - XF86AudioPrev exec playerctl previous -} - diff --git a/dots/sway/.config/sway/config.d/10-autostart-applications b/dots/sway/.config/sway/config.d/10-autostart-applications index ef4009c..60c5971 100644 --- a/dots/sway/.config/sway/config.d/10-autostart-applications +++ b/dots/sway/.config/sway/config.d/10-autostart-applications @@ -1,45 +1,24 @@ -# exec $HOME/.config/sway/scripts/startup_config.sh -# exec wmname LG3D +exec /usr/lib/polkit-kde-authentication-agent-1 -# TODO: auth with polkit-kde-agent -# Auth with polkit-gnome: -# exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 - -# Desktop notifications exec mako -c ~/.config/mako/ -# GTK3 applications take a long time to start exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec hash dbus-update-activation-environment 2>/dev/null && \ dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK -# Idle settings exec swayidle -w \ timeout 500 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ timeout 700 'systemctl suspend' -# Gnome Keyring exec gnome-keyring-daemon --daemonize --start --components=gpg,pkcs11,secrets,ssh exec_always { - # poweralert '[ -x "$(command -v poweralertd)" ] && pkill poweralertd; poweralertd -s -i "line power" &' - # playerctl '[ -x "$(command -v playerctl)" ] && pkill playerctl; playerctl -a metadata --format \'{{status}} {{title}}\' --follow | while read line; do pkill -RTMIN+5 waybar; done' } -exec { - # mounting daemon - '[ -x "$(command -v pcmanfm)" ] && pcmanfm -d' - - # xdg user dirs - '[ -x "$(command -v xdg-user-dirs-update)" ] && exec xdg-user-dirs-update' -} - - -# Status Bars: exec nm-applet --indicator bar { diff --git a/dots/sway/.config/sway/config.d/bindings.j2 b/dots/sway/.config/sway/config.d/bindings.j2 index 246b80f..abcdfa4 100644 --- a/dots/sway/.config/sway/config.d/bindings.j2 +++ b/dots/sway/.config/sway/config.d/bindings.j2 @@ -1,32 +1,30 @@ -set $mod Mod1 +set $mod {{ window_manager.key.mod }} +set $mov {{ window_manager.key.mov }} +set $sup {{ window_manager.key.sup }} -# Home row direction keys, like vim set $left h set $down j set $up k set $right l -set $browser zen +set $browser zen-browser set $term alacritty -set $filemanager pcmanfm set $launcher wofi -bindsym --to-code { - $mod+Shift+r reload - - $mod+Return exec $term +bindsym --to-code { + $sup+q kill +} - $mod+d exec $menu - - # f - $mod+f fullscreen +bindsym --to-code { + $sup+Shift+r reload + $sup+f fullscreen - # n - $mod+n exec $filemanager + $sup+Space exec $launcher + $mod+Return exec $term + $mod+b exec $browser - # v - $mod+v layout tabbed + $mod+v layout tabbed } bindsym --to-code { @@ -35,117 +33,52 @@ bindsym --to-code { $mod+$up focus up $mod+$right focus right - $mod+Shift+$left move left - $mod+Shift+$down move down - $mod+Shift+$up move up - $mod+Shift+$right move right + $mod+$mov+$left move left + $mod+$mov+$down move down + $mod+$mov+$up move up + $mod+$mov+$right move right } -# Workspaces: bindsym --to-code { - - # Switch to workspace - $mod+1 workspace number 1 - $mod+2 workspace number 2 - $mod+3 workspace number 3 - $mod+4 workspace number 4 - $mod+5 workspace number 5 - $mod+6 workspace number 6 - $mod+7 workspace number 7 - $mod+8 workspace number 8 - $mod+9 workspace number 9 - $mod+0 workspace number 10 - - # Move focused container to workspace - $mod+Shift+1 move container to workspace number 1 - $mod+Shift+2 move container to workspace number 2 - $mod+Shift+3 move container to workspace number 3 - $mod+Shift+4 move container to workspace number 4 - $mod+Shift+5 move container to workspace number 5 - $mod+Shift+6 move container to workspace number 6 - $mod+Shift+7 move container to workspace number 7 - $mod+Shift+8 move container to workspace number 8 - $mod+Shift+9 move container to workspace number 9 - $mod+Shift+0 move container to workspace number 10 +{% for name, ws in window_manager.workspaces.items() %} + $mod+{{ ws.key }} workspace {{ name }} + $mod+$mov+{{ ws.key }} move container to workspace {{ name }} +{% endfor %} } -# Scratchpad: -# Move the currently focused window to the scratchpad bindsym --to-code $mod+Shift+minus move scratchpad - -# Show the next scratchpad window or hide the focused scratchpad window. -# If there are multiple scratchpad windows, this command cycles through them. bindsym --to-code $mod+minus scratchpad show -# Resizing containers: mode "resize" { - # left will shrink the containers width - # right will grow the containers width - # up will shrink the containers height - # down will grow the containers height bindsym --to-code { - $left resize shrink width 10px - $down resize grow height 10px - $up resize shrink height 10px - $right resize grow width 10px - - # Ditto, with arrow keys - Left resize shrink width 10px - Down resize grow height 10px - Up resize shrink height 10px - Right resize grow width 10px - - # Return to default mode - Return mode "default" - Escape mode "default" - } -} + $left resize shrink width 10px + $down resize grow height 10px + $up resize shrink height 10px + $right resize grow width 10px -bindsym --to-code $mod+r mode "resize" - -# Resize floating windows with mouse scroll: -bindsym --to-code --whole-window --border { - $mod+button4 resize shrink height 5 px or 5 ppt - $mod+button5 resize grow height 5 px or 5 ppt - $mod+shift+button4 resize shrink width 5 px or 5 ppt - $mod+shift+button5 resize grow width 5 px or 5 ppt + Return mode "default" + Escape mode "default" + } } -# Volume - # bindsym --to-code XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% - # bindsym --to-code XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% - # bindsym --to-code XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound - - #wob -# bindsym { -# XF86AudioRaiseVolume exec pamixer -ui 10 && pamixer --get-volume > $SWAYSOCK.wob -# XF86AudioLowerVolume exec pamixer -ud 10 && pamixer --get-volume > $SWAYSOCK.wob -# XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $SWAYSOCK.wob ) || pamixer --get-volume > $SWAYSOCK.wob -# } -# -# # Backlight -# #wob -# bindsym { -# XF86MonBrightnessUp exec light -A 10 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob -# XF86MonBrightnessDown exec light -U 10 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob -# } +bindsym --to-code $mod+n mode "resize" bindsym { - XF86AudioRaiseVolume exec volumectl -u up - XF86AudioLowerVolume exec volumectl -u down - XF86AudioMute exec volumectl toggle-mute - XF86AudioMicMute exec volumectl -m toggle-mute + XF86AudioRaiseVolume exec volumectl -u up + XF86AudioLowerVolume exec volumectl -u down + XF86AudioMute exec volumectl toggle-mute + XF86AudioMicMute exec volumectl -m toggle-mute } bindsym { - XF86MonBrightnessUp exec lightctl up - XF86MonBrightnessDown exec lightctl down + XF86MonBrightnessUp exec lightctl up + XF86MonBrightnessDown exec lightctl down } bindsym { - XF86AudioPlay exec playerctl play - XF86AudioPause exec playerctl pause - XF86AudioNext exec playerctl next - XF86AudioPrev exec playerctl previous + XF86AudioPlay exec playerctl play + XF86AudioPause exec playerctl pause + XF86AudioNext exec playerctl next + XF86AudioPrev exec playerctl previous } diff --git a/dots/sway/.config/sway/config.d/swayfx b/dots/sway/.config/sway/config.d/swayfx index 204c3b5..ed88db2 100644 --- a/dots/sway/.config/sway/config.d/swayfx +++ b/dots/sway/.config/sway/config.d/swayfx @@ -1,4 +1,3 @@ -layer_effects "waybar" blur enable; shadows disable; layer_effects "gtk-layer-shell" blur enable; shadows enable; corner_radius 13 layer_effects "wofi" blur enable; shadows enable; corner_radius 13 diff --git a/dots/sway/.config/sway/config.d/theme b/dots/sway/.config/sway/config.d/theme index 83b5ffa..1de8db5 100644 --- a/dots/sway/.config/sway/config.d/theme +++ b/dots/sway/.config/sway/config.d/theme @@ -1,4 +1,4 @@ -gaps inner 25 +gaps inner 12 gaps outer 0 # hide titlebar on windows diff --git a/dots/waybar/.config/waybar/config b/dots/waybar/.config/waybar/config deleted file mode 100644 index c4e973a..0000000 --- a/dots/waybar/.config/waybar/config +++ /dev/null @@ -1,116 +0,0 @@ -{ - "layer": "top", - "position": "top", - "margin-top": 10, - "margin-right": 5, - "margin-left": 5, - "height": 50, - - "modules-left": ["custom/now-playing", "custom/clock"], - "modules-center": ["sway/workspaces"], - "modules-right": [ - "custom/date", - "custom/bluetooth", - "custom/wifi", - "battery", - "custom/battery-warning", - "pulseaudio", - "memory", - "custom/menu" - ], - - "hyprland/workspaces": { - "format": "{id}", - "format-icons": { - "firefox": "", - "code": "", - "kitty": "", - "spotify": "", - "discord": "", - "default": "{id}" - }, - "on-click": "activate", - "on-scroll-up": "hyprctl dispatch workspace e+1", - "on-scroll-down": "hyprctl dispatch workspace e-1" - }, - - "battery": { - "format": "{capacity}% {icon}", - "format-charging": " {capacity}%", - "format-icons": ["", "", "", "", ""], - "tooltip": true, - "interval": 5 - }, - - "custom/battery-warning": { - "exec": "~/.config/waybar/scripts/battery-notify.sh", - "interval": 60, - "format": "", - "tooltip": false - }, - - "pulseaudio": { - "format": "{icon} {volume}%", - "format-muted": " Muted", - "format-bluetooth": "{icon} {volume}%", - "scroll-step": 2, - "on-click": "pavucontrol", - "ignored-sinks": ["Easy Effects Sink"], - "format-icons": { - "headphone": "", - "headset": "", - "hands-free": "", - "phone": "", - "portable": "", - "car": "", - "default": ["", ""] - } - }, - "memory": { - "format": " {used:0.1f}G", - "interval": 5 - }, - - "custom/menu": { - "exec": "echo '{\"text\": \" \", \"tooltip\": \"System Menu\"}'", - "return-type": "json", - "on-click": "~/.config/rofi/applets/bin/powermenu.sh", - "interval": 5 - }, - "custom/wifi": { - "exec": "echo '{\"text\": \"\", \"tooltip\": \"Wi-Fi Settings\"}'", - "return-type": "json", - "on-click": "nm-connection-editor", - "interval": 3600 - }, - - "custom/bluetooth": { - "exec": "echo '{\"text\": \"\", \"tooltip\": \"Bluetooth Settings\"}'", - "return-type": "json", - "on-click": "blueman-manager", - "interval": 3600 - }, - "custom/now-playing": { - "exec": "~/.config/waybar/modules/now-playing.sh", - "return-type": "text", - "interval": 2, - "on-click": "playerctl --player=spotify play-pause", - "on-scroll-up": "playerctl --player=spotify next", - "on-scroll-down": "playerctl --player=spotify previous", - "tooltip": true - }, - "custom/clock": { - "exec": "date '+ %H:%M'", - "return-type": "text", - "interval": 60, - "tooltip": true, - "tooltip-format": "Full date/time" - }, - "custom/date": { - "exec": "date '+ %d %b'", - "return-type": "text", - "interval": 60, - "tooltip": true, - "tooltip-format": "Full date/time" - } -} diff --git a/dots/waybar/.config/waybar/config.j2 b/dots/waybar/.config/waybar/config.j2 new file mode 100644 index 0000000..c1ea6f9 --- /dev/null +++ b/dots/waybar/.config/waybar/config.j2 @@ -0,0 +1,51 @@ +{ + "layer": "top", + "position": "top", + "margin-top": 10, + "margin-right": 30, + "margin-left": 30, + "height": 50, + + "modules-left": [], + "modules-center": ["sway/workspaces"], + "modules-right": [ + "battery", + "pulseaudio", + ], + + "sway/workspaces": { + "format": "{icon}: {name}", + "format-icons": { +{% for name, ws in window_manager.workspaces.items() %} + "{{ name }}": "{{ ws.icon }}", +{% endfor %} + }, + "on-click": "activate" + }, + + "battery": { + "format": "{capacity}% {icon}", + "format-charging": " {capacity}%", + "format-icons": ["", "", "", "", ""], + "tooltip": true, + "interval": 5 + }, + + "pulseaudio": { + "format": "{icon} {volume}%", + "format-muted": " Muted", + "format-bluetooth": "{icon} {volume}%", + "scroll-step": 2, + "on-click": "pavucontrol", + "ignored-sinks": ["Easy Effects Sink"], + "format-icons": { + "headphone": "", + "headset": "", + "hands-free": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", ""] + } + }, +} diff --git a/dots/waybar/.config/waybar/style.css.j2 b/dots/waybar/.config/waybar/style.css.j2 index 4c32949..715937b 100644 --- a/dots/waybar/.config/waybar/style.css.j2 +++ b/dots/waybar/.config/waybar/style.css.j2 @@ -1,153 +1,11 @@ -#waybar { - background-color: rgba(40, 40, 40, 0.7); - color: #ffffff; - border-radius: 50px; /* Rounded corners */ -} -#custom-files { - color: #ccac56; - font-size: 25px; - padding: 0px 15px; - margin-right: 10px; - transition: background-color 0.3s; -} - -#custom-spotify:hover { - background-color: rgba(29, 185, 84, 0.2); -} - -#workspaces { - font-size: 13px; - padding: 3px 4px; -} - -#workspaces button { - padding: 3px 5px; - margin: 0 3px; - min-width: 24px; - background: transparent; - color: #aaaaaa; - border: none; - border-radius: 6px; - transition: - background 0.2s ease, - color 0.2s ease; -} - -#workspaces button.active { - background: #ccac56; - color: #1e1e2e; - border-radius: 8px; -} - -#workspaces button:hover { - background: #444444; - color: #ffffff; -} - -#workspaces button.urgent { - background: #bf616a; - color: #ffffff; -} -#battery { - padding: 10px 15px; - font-size: 18px; - color: #ccac56; - font-family: "{{ theme.waybar.font }}", "monospace"; -} - -#battery:hover { - color: #ffffff; -} - -#battery.charging { - color: #a3be8c; /* green */ -} - -#battery.warning { - color: #ebcb8b; /* yellow */ -} - -#battery.critical { - color: #bf616a; /* red */ - font-weight: bold; -} -#pulseaudio { - font-size: 18px; - padding: 10px 15px; - color: #ccac56; +* { font-family: "{{ theme.waybar.font }}", "monospace"; + font-size: 16px; } -#pulseaudio:hover { - color: #ffffff; -} - -#pulseaudio.muted { - color: #bf616a; - font-weight: bold; -} -#memory { - font-size: 18px; - padding: 0 15px; - color: #ccac56; - font-family: "{{ theme.waybar.font }}", "monospace"; -} - -#memory { - color: #d08770; -} -#custom-menu { - font-size: 20px; - color: #ccac56; - padding: 0 15px; - transition: color 0.3s; -} - -#custom-menu:hover { - color: #ffffff; -} - -#custom-wifi { - font-size: 20px; - padding: 10px 15px; - color: #ccac56; - transition: color 0.3s; -} - -#custom-wifi:hover, -#custom-bluetooth:hover { - color: #ffffff; -} - -#custom-bluetooth { - font-size: 25px; - padding: 0 15px; - color: #ccac56; - transition: color 0.3s; -} -#custom-now-playing { - color: #ccac56; - font-size: 18px; - padding: 0 10px; - font-family: "{{ theme.waybar.font }}", "monospace"; -} -#custom-clock { - font-size: 18px; - padding: 0 10px; - color: #ccac56; - font-family: "{{ theme.waybar.font }}", "monospace"; -} - -#custom-clock:hover { +#waybar { + background-color: rgba(40, 40, 40, 0.6); color: #ffffff; -} -#custom-date { - font-size: 18px; - padding: 0 10px; - color: #ccac56; - font-family: "{{ theme.waybar.font }}", "monospace"; + border-radius: 18px; } -#custom-date:hover { - color: #ffffff; -} diff --git a/dots/wofi/.config/wofi/config b/dots/wofi/.config/wofi/config index ecd1db9..8c1df45 100644 --- a/dots/wofi/.config/wofi/config +++ b/dots/wofi/.config/wofi/config @@ -1,6 +1,4 @@ show=drun -width=900 -height=500 always_parse_args=true show_all=true print_command=true diff --git a/dots/zsh/.config/zsh/linux/okabe.zsh b/dots/zsh/.config/zsh/linux/okabe.zsh new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/dots/zsh/.config/zsh/linux/okabe.zsh diff --git a/wofi/.config/wofi/style.css b/wofi/.config/wofi/style.css deleted file mode 100644 index e389e7e..0000000 --- a/wofi/.config/wofi/style.css +++ /dev/null @@ -1,50 +0,0 @@ -/* The name of the window itself */ -#window { - background-color: rgba(24, 24, 24, 0.6); - box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); - border-radius: 1rem; - font-size: 1.2rem; - /* The name of the box that contains everything */ -} -#window #outer-box { - /* The name of the search bar */ - /* The name of the scrolled window containing all of the entries */ -} -#window #outer-box #input { - background-color: rgba(24, 24, 24, 0.6); - color: #f2f2f2; - border: none; - border-bottom: 1px solid rgba(24, 24, 24, 0.2); - padding: 0.8rem 1rem; - font-size: 1.5rem; - border-radius: 1rem 1rem 0 0; -} -#window #outer-box #input:focus, #window #outer-box #input:focus-visible, #window #outer-box #input:active { - border: none; - outline: 2px solid transparent; - outline-offset: 2px; -} -#window #outer-box #scroll { - /* The name of the box containing all of the entries */ -} -#window #outer-box #scroll #inner-box { - /* The name of all entries */ - /* The name of all boxes shown when expanding */ - /* entries with multiple actions */ -} -#window #outer-box #scroll #inner-box #entry { - color: #fff; - background-color: rgba(24, 24, 24, 0.1); - padding: 0.6rem 1rem; - /* The name of all images in entries displayed in image mode */ - /* The name of all the text in entries */ -} -#window #outer-box #scroll #inner-box #entry #img { - width: 1rem; - margin-right: 0.5rem; -} -#window #outer-box #scroll #inner-box #entry:selected { - color: #fff; - background-color: rgba(255, 255, 255, 0.1); - outline: none; -} |