diff --git a/home/.bin/bri b/home/.bin/bri new file mode 100755 index 0000000..2f30869 --- /dev/null +++ b/home/.bin/bri @@ -0,0 +1,12 @@ +#!/usr/bin/env zsh +if \[ "$1" = "--up" \]; then + # eww -c $HOME/.dotfiles/eww/bar o bri && brightnessctl -q s 5%+ && sleep 3 && eww -c $HOME/.dotfiles/eww/bar c bri + swayosd-client --brightness raise + # brightnessctl -q s 5%+ +elif \[ "$1" = "--down" \]; then + # eww -c $HOME/.dotfiles/eww/bar o bri && brightnessctl -q s 5%- && sleep 3 && eww -c $HOME/.dotfiles/eww/bar c bri + swayosd-client --brightness lower + # brightnessctl -q s 5%- +elif \[ "$1" = "--get" \]; then + echo $(brightnessctl | head -n 2 | tail -n 1 | awk '{print $4}' | tr -d '(%)') +fi diff --git a/home/.bin/vol b/home/.bin/vol new file mode 100755 index 0000000..fd32afd --- /dev/null +++ b/home/.bin/vol @@ -0,0 +1,10 @@ +#!/usr/bin/env zsh +if [ "$1" = "--up" ]; then + # eww -c $HOME/.dotfiles/eww/bar o vol && wpctl set-volume u/DEFAULT_AUDIO_SINK@ 5%+ && sleep 3 && eww -c $HOME/.dotfiles/eww/bar c vol + swayosd-client --output-volume raise + # wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ +elif [ "$1" = "--down" ]; then + # eww -c $HOME/.dotfiles/eww/bar o vol && wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- && sleep 3 && eww -c $HOME/.dotfiles/eww/bar c vol + swayosd-client --output-volume lower + # wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +fi diff --git a/home/.config/hypr/hyprland.conf b/home/.config/hypr/hyprland.conf index cc0f5d6..811fcc4 100644 --- a/home/.config/hypr/hyprland.conf +++ b/home/.config/hypr/hyprland.conf @@ -135,10 +135,10 @@ decoration { active_opacity = 1.0 inactive_opacity = 1.0 - drop_shadow = true - shadow_range = 4 - shadow_render_power = 3 - col.shadow = rgba(1a1a1aee) + shadow:enabled = true + shadow:range = 4 + shadow:render_power = 3 + shadow:color = rgba(1a1a1aee) # https://wiki.hyprland.org/Configuring/Variables/#blur blur { @@ -364,13 +364,13 @@ windowrulev2 = workspace 3 silent, title:^(Friends List)$ windowrulev2 = workspace 3 silent, title:^(tollyx) # steam chat lol windowrulev2 = workspace 3 silent, title:^(Nalleball) -windowrulev2 = workspace 3 silent, title:(.* \+ . Chat) +windowrulev2 = workspace 3 silent, title:(\+ . Chat) windowrulev2 = size 576 499, title:^(tollyx) windowrulev2 = move 1612 57, title:^(tollyx) windowrulev2 = size 576 499, title:^(Nalleball) windowrulev2 = move 1612 57, title:^(Nalleball) -windowrulev2 = size 576 499, title:(* \+ . Chat) -windowrulev2 = move 1612 57, title:(* \+ . Chat) +windowrulev2 = size 576 499, title:(\+ . Chat) +windowrulev2 = move 1612 57, title:(\+ . Chat) windowrulev2 = float, title:^(Steam Big Picture Mode) windowrulev2 = workspace 4, title:^(Steam Big Picture Mode) diff --git a/home/.config/waybar/style.css b/home/.config/waybar/style.css index d96bb17..35bba72 100644 --- a/home/.config/waybar/style.css +++ b/home/.config/waybar/style.css @@ -139,7 +139,7 @@ window#waybar.PCSX2 #window { margin-bottom: 0; border-radius: 26px; transition: none; - color: #4d4d4d; + color: #6d6d6d; background: #282A2E; } @@ -151,7 +151,7 @@ window#waybar.PCSX2 #window { margin-bottom: 0; border-radius: 26px; transition: none; - color: #4d4d4d; + color: #6d6d6d; background: #282A2E; } @@ -169,3 +169,9 @@ window#waybar.PCSX2 #window { font-weight: bold; background: #282A2E; } +#tray menu menuitem { + color: #999999; +} +#tray menu menuitem:hover { + color: #ffffff; +}