Adds styling for hyprswitch
This commit is contained in:
parent
79fd94bca7
commit
5c51cff353
5 changed files with 34 additions and 5 deletions
21
.config/hyprswitch/style/style.scss
Normal file
21
.config/hyprswitch/style/style.scss
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
@import "../../theming/library/entry.scss";
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--bg-color: #{$background};
|
||||||
|
--bg-color-hover: #{$background};
|
||||||
|
|
||||||
|
--border-color-active: #{$color1};
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
color: $foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace:hover {
|
||||||
|
box-shadow: $box-shadow-inner;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace:hover,
|
||||||
|
.client:hover {
|
||||||
|
border: 3px solid #{$color5};
|
||||||
|
}
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/env sh
|
#!/bin/env sh
|
||||||
|
|
||||||
sass \
|
sass --no-source-map \
|
||||||
$HOME/.config/swaync/style/style.scss:$HOME/.config/swaync/style.css \
|
$HOME/.config/swaync/style/style.scss:$HOME/.config/swaync/style.css \
|
||||||
$HOME/.config/waybar/scss/style.scss:$HOME/.config/waybar/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/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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
$border-radius: 0.3rem;
|
$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: 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(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-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(0, 0, 0, 0.35) 0px 5px 15px;
|
$box-shadow-outer: rgba($foreground, 0.35) 0px 5px 15px;
|
||||||
|
|
|
||||||
|
|
@ -6,3 +6,7 @@ swaync-client --reload-css
|
||||||
killall waybar
|
killall waybar
|
||||||
killall pactl
|
killall pactl
|
||||||
nohup waybar &
|
nohup waybar &
|
||||||
|
|
||||||
|
# Reload hyprswitch
|
||||||
|
killall hyprswitch
|
||||||
|
nohup hyprswitch init --custom-css "$HOME/.config/hyprswitch/style.css" &
|
||||||
|
|
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -29,6 +29,9 @@
|
||||||
!/.config/anyrun
|
!/.config/anyrun
|
||||||
/.config/anyrun/style.css
|
/.config/anyrun/style.css
|
||||||
/.config/anyrun/style.css.map
|
/.config/anyrun/style.css.map
|
||||||
|
!/.config/hyprswitch
|
||||||
|
/.config/hyprswitch/style.css
|
||||||
|
/.config/hyprswitch/style.css.map
|
||||||
|
|
||||||
!/.ssh/
|
!/.ssh/
|
||||||
/.ssh/*
|
/.ssh/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue