Compare commits

...

4 commits
main ... lappy

Author SHA1 Message Date
kirreen
e78e688be4 added basic animation and blur stuff on lappy 2024-10-11 21:46:35 +02:00
kirreen
f47d359e59 bold font for active workspace 2024-10-11 21:28:37 +02:00
kirreen
b453e61e60 Added the bri / vol scripts! 2024-10-11 21:25:46 +02:00
kirreen
3841c491b0 now the waybar looks nice on lappy :) 2024-10-11 21:24:15 +02:00
5 changed files with 65 additions and 32 deletions

12
home/.bin/bri Executable file
View file

@ -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

10
home/.bin/vol Executable file
View file

@ -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

View file

@ -139,10 +139,13 @@ decoration {
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
enabled = true
size = 3
passes = 1
size = 2
passes = 2
vibrancy = 0.1696
vibrancy = 0.5
vibrancy_darkness = 0.5
noise = 0.17
contrast = 0.85
}
}
@ -159,7 +162,9 @@ animations {
animation = windowsOut, 1, 3, default, slide
#animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
# animation = borderangle, 1, 8, default
bezier = linear, 0.0, 0.0, 1.0, 1.0
animation = borderangle, 1, 80, linear, loop
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
}

View file

@ -3,7 +3,7 @@
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 30, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
// "width": 90%, // Waybar width
"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": [
@ -29,8 +29,8 @@
"sway/language",
"battery",
"battery#bat2",
"clock",
"tray"
"tray",
"clock"
],
// Modules configuration
"hyprland/workspaces": {

View file

@ -10,12 +10,13 @@
* {
border: none;
border-radius: 0;
border-radius: 24px;
font-family: Nerd Font Hack;
font-size: 14px;
min-height: 24px;
min-height: 16px;
background-color: rgba(40, 42, 46, 0.86);
}
/*
window#waybar {
background: transparent;
}
@ -23,9 +24,9 @@ window#waybar {
window#waybar.hidden {
opacity: 0.2;
}
*/
#window {
margin-top: 8px;
margin-top: 0px;
padding-left: 16px;
padding-right: 16px;
border-radius: 26px;
@ -35,7 +36,7 @@ window#waybar.hidden {
background: #282a36;
*/
color: white;
background: #585858;
background-color: rgba(88, 88, 88, 0.0);
}
window#waybar.termite #window,
@ -47,10 +48,10 @@ window#waybar.PCSX2 #window {
}
#workspaces {
margin-top: 8px;
margin-left: 12px;
margin-top: 0px;
margin-left: 2px;
margin-bottom: 0;
border-radius: 26px;
/*border-radius: 26px;*/
background: #282a36;
transition: none;
}
@ -63,18 +64,21 @@ window#waybar.PCSX2 #window {
}
#workspaces button.active {
color: #9aedfe;
/*color: #9aedfe;*/
color: #d65d0e;
font-weight: bold;
/*background-color: #231531;*/
}
#workspaces button:hover {
transition: none;
box-shadow: inherit;
text-shadow: inherit;
color: #ff79c6;
color: #9aedfe;
}
#mpd {
margin-top: 8px;
margin-top: 0px;
margin-left: 8px;
padding-left: 16px;
padding-right: 16px;
@ -93,7 +97,7 @@ window#waybar.PCSX2 #window {
}
#network {
margin-top: 8px;
margin-top: 0px;
margin-left: 8px;
padding-left: 16px;
padding-right: 16px;
@ -101,11 +105,11 @@ window#waybar.PCSX2 #window {
border-radius: 26px;
transition: none;
color: #4d4d4d;
background: #bd93f9;
background: #282A2E;
}
#pulseaudio {
margin-top: 8px;
margin-top: 0px;
margin-left: 8px;
padding-left: 16px;
padding-right: 16px;
@ -113,11 +117,11 @@ window#waybar.PCSX2 #window {
border-radius: 26px;
transition: none;
color: #4d4d4d;
background: #9aedfe;
background: #282A2E;
}
#temperature {
margin-top: 8px;
margin-top: 0px;
margin-left: 8px;
padding-left: 16px;
padding-right: 16px;
@ -125,11 +129,11 @@ window#waybar.PCSX2 #window {
border-radius: 26px;
transition: none;
color: #4d4d4d;
background: #5af78e;
background: #282A2E;
}
#cpu {
margin-top: 8px;
margin-top: 0px;
margin-left: 8px;
padding-left: 16px;
padding-right: 16px;
@ -137,11 +141,11 @@ window#waybar.PCSX2 #window {
border-radius: 26px;
transition: none;
color: #4d4d4d;
background: #f1fa8c;
background: #282A2E;
}
#memory {
margin-top: 8px;
margin-top: 0px;
margin-left: 8px;
padding-left: 16px;
padding-right: 16px;
@ -149,11 +153,11 @@ window#waybar.PCSX2 #window {
border-radius: 26px;
transition: none;
color: #4d4d4d;
background: #ff6e67;
background: #282A2E;
}
#clock {
margin-top: 8px;
margin-top: 0px;
margin-left: 8px;
margin-right: 12px;
padding-left: 16px;
@ -161,6 +165,8 @@ window#waybar.PCSX2 #window {
margin-bottom: 0;
border-radius: 26px;
transition: none;
color: #f8f8f2;
background: #282a36;
color: #d65d0e;
font-size: 16px;
font-weight: bold;
background: #282A2E;
}