From a8d7ae73f40e017ad8c688e525f64a15ad9ef187 Mon Sep 17 00:00:00 2001 From: Paul Aumann Date: Fri, 20 Mar 2026 14:30:47 +0100 Subject: [PATCH] stuff --- .../alacritty/themes/light/ashes_light.toml | 27 +++++++ .config/alacritty/themes/light/dawnfox.toml | 75 +++++++++++++++++++ .config/alacritty/themes/light/default.toml | 2 +- .config/hypr/hyprland.conf | 31 +++++++- .config/swayosd/colors.css | 22 ++++++ .config/swayosd/style.css | 48 ++++++++++++ .config/uxplayrc | 3 + .../99-disable-monitors.conf | 20 ++--- .zshrc | 3 +- 9 files changed, 217 insertions(+), 14 deletions(-) create mode 100644 .config/alacritty/themes/light/ashes_light.toml create mode 100644 .config/alacritty/themes/light/dawnfox.toml create mode 100644 .config/swayosd/colors.css create mode 100644 .config/swayosd/style.css create mode 100644 .config/uxplayrc diff --git a/.config/alacritty/themes/light/ashes_light.toml b/.config/alacritty/themes/light/ashes_light.toml new file mode 100644 index 0000000..5b83049 --- /dev/null +++ b/.config/alacritty/themes/light/ashes_light.toml @@ -0,0 +1,27 @@ +[colors.primary] +background = '#f3f4f5' +foreground = '#565e65' + +[colors.cursor] +text = '#f3f4f5' +cursor = '#565e65' + +[colors.normal] +black = '#1c2023' +red = '#c7ae95' +green = '#95c7ae' +yellow = '#aec795' +blue = '#ae95c7' +magenta = '#c795ae' +cyan = '#95aec7' +white = '#c7ccd1' + +[colors.bright] +black = '#747c84' +red = '#c7ae95' +green = '#95c7ae' +yellow = '#aec795' +blue = '#ae95c7' +magenta = '#c795ae' +cyan = '#95aec7' +white = '#f3f4f5' \ No newline at end of file diff --git a/.config/alacritty/themes/light/dawnfox.toml b/.config/alacritty/themes/light/dawnfox.toml new file mode 100644 index 0000000..e6a2547 --- /dev/null +++ b/.config/alacritty/themes/light/dawnfox.toml @@ -0,0 +1,75 @@ +# Nightfox Alacritty Colors +## name: dawnfox +## upstream: https://github.com/edeneast/nightfox.nvim/raw/main/extra/dawnfox/alacritty.toml + +[colors.primary] +background = "#faf4ed" +foreground = "#575279" +dim_foreground = "#4c4769" +bright_foreground = "#625c87" + +[colors.cursor] +text = "#575279" +cursor = "#625c87" + +[colors.vi_mode_cursor] +text = "#575279" +cursor = "#56949f" + +[colors.search.matches] +foreground = "#575279" +background = "#b8cece" + +[colors.search.focused_match] +foreground = "#575279" +background = "#618774" + +[colors.footer_bar] +foreground = "#575279" +background = "#ebdfe4" + +[colors.hints.start] +foreground = "#575279" +background = "#d7827e" + +[colors.hints.end] +foreground = "#575279" +background = "#ebdfe4" + +[colors.selection] +text = "#575279" +background = "#d0d8d8" + +[colors.normal] +black = "#575279" +red = "#b4637a" +green = "#618774" +yellow = "#ea9d34" +blue = "#286983" +magenta = "#907aa9" +cyan = "#56949f" +# white = "#e5e9f0" # Manually inverted from the original theme to match the light background +white = "#575279" + +[colors.bright] +black = "#5f5695" +red = "#c26d85" +green = "#629f81" +yellow = "#eea846" +blue = "#2d81a3" +magenta = "#9a80b9" +cyan = "#5ca7b4" +# white = "#e6ebf3" # Manually inverted from the original theme to match the light background +white = "#5f5695" + + +[colors.dim] +black = "#504c6b" +red = "#a5576d" +green = "#597668" +yellow = "#dd9024" +blue = "#295e73" +magenta = "#816b9a" +cyan = "#50848c" +# white = "#c8cfde" # Manually inverted from the original theme to match the light background +white = "#504c6b" diff --git a/.config/alacritty/themes/light/default.toml b/.config/alacritty/themes/light/default.toml index afc256a..92b64d1 120000 --- a/.config/alacritty/themes/light/default.toml +++ b/.config/alacritty/themes/light/default.toml @@ -1 +1 @@ -alabaster.toml \ No newline at end of file +dawnfox.toml \ No newline at end of file diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index a0da992..2667ce2 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -51,6 +51,7 @@ exec-once = waybar exec-once = darkman run exec-once = vicinae server exec-once = udiskie +exec-once = swayosd-server # Open programs on special workspaces exec-once = [ workspace special:term silent] $terminal @@ -179,6 +180,10 @@ master { orientation = right } +layout { + # single_window_aspect_ratio = 16 9 +} + # https://wiki.hyprland.org/Configuring/Variables/#misc misc { force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers @@ -329,9 +334,14 @@ bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Laptop multimedia keys for volume and LCD brightness -bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ -bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- -bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +# bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ +# bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +# bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindel = ,XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise +bindel = ,XF86AudioLowerVolume, exec, swayosd-client --output-volume lower +bindel = ,XF86AudioMute, exec, swayosd-client --output-volume mute-toggle + + bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+ bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- @@ -403,6 +413,15 @@ windowrule { no_anim = on } +# UXPlay windows are always floating and exact size +windowrule { + name = "uxplay" + match:initial_class = GStreamer + match:initial_title = Pauls PC # This is the server name (-n) set in ~/.config/uxplayrc + float = 1 + center = 1 +} + # Notification animation style layerrule = match:namespace notifications, animation slide @@ -426,6 +445,12 @@ layerrule { blur = on } +layerrule { + name = blur_swayosd + match:namespace = swayosd + blur = on +} + # Disabled since vicinae is currently a window, and not a layer. # layerrule { # name = blur_vicinae diff --git a/.config/swayosd/colors.css b/.config/swayosd/colors.css new file mode 100644 index 0000000..a2d117a --- /dev/null +++ b/.config/swayosd/colors.css @@ -0,0 +1,22 @@ +/* ~/.config/swayosd/colors.css + * Static example palette (Material-ish, dark) + * Used by: style.css via `@import "colors.css";` + */ + +@define-color primary #8AB4F8; /* blue */ +@define-color primary_container #1E3A5F; /* deep blue container */ + +@define-color surface_container_low #12161C; /* dark surface (low) */ +@define-color outline #3A4654; /* subtle border/outline */ + +/* Optional extras (safe to keep even if unused) */ +@define-color on_primary #0B1220; +@define-color on_primary_container #D7E3FF; +@define-color surface_container #161B22; +@define-color surface_container_high #1D2430; +@define-color error #F28B82; +@define-color warning #FDD663; + +/* If you ever need transparency variants */ +@define-color primary_transparent alpha(@primary, 0.7); +@define-color outline_transparent alpha(@outline, 0.7); \ No newline at end of file diff --git a/.config/swayosd/style.css b/.config/swayosd/style.css new file mode 100644 index 0000000..0282376 --- /dev/null +++ b/.config/swayosd/style.css @@ -0,0 +1,48 @@ +@import "colors.css"; + +window#osd { + border-radius: 10px; + border: 2px solid @outline; + background: alpha(@surface_container_low, 0.4); +} + +window#osd #container { + margin: 6px; + padding: 2px; + background: transparent; +} + +window#osd image { + -gtk-icon-transform: scale(0.7); +} + +window#osd image, +window#osd label { + color: @primary; +} + +window#osd progressbar:disabled, +window#osd image:disabled { + opacity: 0.5; +} + +window#osd progressbar { + min-height: 6px; + border-radius: 999px; + background: transparent; + border: none; +} + +window#osd trough { + min-height: inherit; + border-radius: inherit; + border: none; + background: alpha(@primary_container, 0.5); +} + +window#osd progress { + min-height: inherit; + border-radius: inherit; + border: none; + background: @primary; +} diff --git a/.config/uxplayrc b/.config/uxplayrc new file mode 100644 index 0000000..3a77bcd --- /dev/null +++ b/.config/uxplayrc @@ -0,0 +1,3 @@ +n "Pauls PC" +nh +fps 60 diff --git a/.config/wireplumber/wireplumber.conf.d/99-disable-monitors.conf b/.config/wireplumber/wireplumber.conf.d/99-disable-monitors.conf index 72ef66e..f71af31 100644 --- a/.config/wireplumber/wireplumber.conf.d/99-disable-monitors.conf +++ b/.config/wireplumber/wireplumber.conf.d/99-disable-monitors.conf @@ -1,17 +1,19 @@ # Disable all monitor sources (e.g. output mirrors) so they don't appear as input devices -monitor.rules = [ +monitor.alsa.rules = +[ { - matches = [ + matches = + [ { - device.class = "monitor" + node.name = "~.*" } ] - actions = { - update-props = { - device.nick = "Please Be Disabled" - device.disabled = true - device.description = "Disabled Monitor Source" + actions = + { + update-props = + { + item.features.monitor = false } } } -] +] \ No newline at end of file diff --git a/.zshrc b/.zshrc index a3535f5..0d55778 100644 --- a/.zshrc +++ b/.zshrc @@ -8,7 +8,7 @@ export ZSH="$HOME/.oh-my-zsh" # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -ZSH_THEME="gentoo" +ZSH_THEME="custom" # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load @@ -144,6 +144,7 @@ alias ccat="pygmentize -g -O style=monokai,linenos=1" alias rm="echo Use the full path i.e. '/bin/rm', consider using: trash" alias explain="copilot explain" alias csv="csvlens" +alias ccopilot="cd ~/code/copilot && copilot" alias wstmux="cd ~/code/wasteside/app && tmux new -A -s wasteside"