Adds styling for hyprswitch

This commit is contained in:
Michel Fedde 2025-04-08 22:04:55 +02:00
parent 79fd94bca7
commit 5c51cff353
5 changed files with 34 additions and 5 deletions

View file

@ -1,7 +1,8 @@
#!/bin/env sh
sass \
sass --no-source-map \
$HOME/.config/swaync/style/style.scss:$HOME/.config/swaync/style.css \
$HOME/.config/waybar/scss/style.scss:$HOME/.config/waybar/style.css \
$HOME/.config/nwg-drawer/style/style.scss:$HOME/.config/nwg-drawer/drawer.css \
$HOME/.config/anyrun/style/entry.scss:$HOME/.config/anyrun/style.css
$HOME/.config/anyrun/style/entry.scss:$HOME/.config/anyrun/style.css \
$HOME/.config/hyprswitch/style/style.scss:$HOME/.config/hyprswitch/style.css

View file

@ -1,5 +1,5 @@
$border-radius: 0.3rem;
$box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
$box-shadow-inner: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
$box-shadow-outer: rgba(0, 0, 0, 0.35) 0px 5px 15px;
$box-shadow: rgba($color10, 0.25) 0px 50px 100px -20px, rgba($foreground, 0.3) 0px 30px 60px -30px, rgba($color11, 0.35) 0px -2px 6px 0px inset;
$box-shadow-inner: rgba($foreground, 0.17) 0px -23px 25px 0px inset, rgba($foreground, 0.15) 0px -36px 30px 0px inset, rgba($foreground, 0.1) 0px -79px 40px 0px inset, rgba($foreground, 0.06) 0px 2px 1px, rgba($foreground, 0.09) 0px 4px 2px, rgba($foreground, 0.09) 0px 8px 4px, rgba($foreground, 0.09) 0px 16px 8px, rgba($foreground, 0.09) 0px 32px 16px;
$box-shadow-outer: rgba($foreground, 0.35) 0px 5px 15px;

View file

@ -6,3 +6,7 @@ swaync-client --reload-css
killall waybar
killall pactl
nohup waybar &
# Reload hyprswitch
killall hyprswitch
nohup hyprswitch init --custom-css "$HOME/.config/hyprswitch/style.css" &