- fixed setwll with quotes
- riced waybar more
This commit is contained in:
iceyrazor 2025-07-27 22:27:07 -05:00
parent 689a56ac10
commit f7ce5d9af5
2 changed files with 68 additions and 61 deletions

2
setwll
View File

@ -67,7 +67,7 @@ fi
if [ "$WAYLAND_DISPLAY" ]; then if [ "$WAYLAND_DISPLAY" ]; then
if [ "$XDG_CURRENT_DESKTOP" == "sway:wlroots" ]; then if [ "$XDG_CURRENT_DESKTOP" == "sway:wlroots" ]; then
PID=$(pidof swaybg) PID=$(pidof swaybg)
swaybg -o HDMI-A-1 -i $primary -m fill -o DP-1 -i $secondary -m fill & disown swaybg -o HDMI-A-1 -i "$primary" -m fill -o DP-1 -i "$secondary" -m fill & disown
sleep 0.4s sleep 0.4s
kill $PID kill $PID
else else

View File

@ -1,50 +1,65 @@
fileout="$HOME/.config/waybar/style.css" fileout="$HOME/.config/waybar/style.css"
printf "* { printf "* {
font-family: JetbrainsMono Nerd Font; font-family: 'JetbrainsMono Nerd Font', 'B612 Mono', 'monospace';
font-size: 13px;
font-size: 14px;
min-height: 0; min-height: 0;
padding: 0px;
padding-right: 2px; padding-right: 2px;
padding-left: 2px; padding-left: 2px;
padding-bottom: 0px;
} }
#waybar { #waybar {
background: transparent; background: transparent;
color: $color7; color: $color7;
margin: 2px 2px;
} }
#workspaces { #workspaces {
border-radius: 5px; background: $color0;
margin: 5px; margin-bottom: 4px;
background: $color0;
margin-left: 2px;
} }
#workspaces button { #workspaces button {
color: $color5; color: $color4;
border-radius: 5px;
padding: 0.4rem;
} }
#workspaces button.active { #workspaces button.active {
color: $color14; color: $color14;
border-radius: 5px; }
#workspaces button.visible {
color: $color14;
}
#workspaces button.empty {
color: $color5;
} }
#workspaces button.focused { #workspaces button.focused {
color: $color14; color: $color14;
border-radius: 5px;
} }
button { button {
background: transparent; background: transparent;
} }
#workspaces button:hover { #workspaces button:hover {
background: $color8; background: $color8;
border: 0px solid transparent; border: 1px solid transparent;
}
#custom-ws_end_arrow,
#custom-mod_end_arrow {
color: $color0;
padding-left: 0px;
margin-bottom: 6px;
}
#custom-mod_end_arrow {
padding-right: 0px;
margin-bottom: 1px;
} }
#custom-music, #custom-music,
@ -63,110 +78,102 @@ button {
#custom-rss, #custom-rss,
#custom-disc, #custom-disc,
#custom-mic, #custom-mic,
#custom-wifi,
#custom-docker { #custom-docker {
background-color: $color0; background-color: $color0;
padding: 0.5rem 1rem; margin-bottom: 4px;
margin: 5px 0;
} }
#clock { #clock {
color: $color4; color: $color4;
border-radius: 0px;
} }
#custom-weather { #custom-weather {
color: $color4; color: $color4;
margin-left: 0.5rem;
border-radius: 5px;
} }
#battery { #battery {
color: #a6d189; color: #a6d189;
} }
#battery.charging { #battery.charging {
color: #a6d189; color: #a6d189;
} }
#battery.warning:not(.charging) { #battery.warning:not(.charging) {
color: #e78284; color: #e78284;
} }
#backlight { #backlight {
color: #e5c890; color: #e5c890;
}
#backlight,
#battery {
border-radius: 0;
} }
#pulseaudio { #pulseaudio {
color: $color9; color: $color9;
} }
#custom-mic{ #custom-mic{
color: $color9; color: $color9;
border-radius: 5px 0px 0px 5px; padding-left: 10px;
} }
#custom-docker { #custom-docker {
color: $color4; color: $color4;
} }
#custom-music { #custom-music {
color: #ca9ee6; color: #ca9ee6;
border-radius: 5px;
} }
#custom-lock { #custom-lock {
color: #babbf1; color: #babbf1;
padding-right: 1rem;
} }
#custom-power { #custom-power {
margin-right: 1rem; padding-right: 1rem;
border-radius: 0px 5px 5px 0px; padding-left: 1px;
color: #e78284; color: #e78284;
} }
#custom-docker.docker { #custom-docker.docker {
color: #85c1dc; color: #85c1dc;
} }
#custom-docker.docker-none { #custom-docker.docker-none {
color: #737994; color: #737994;
} }
#custom-docker.docker-error { #custom-docker.docker-error {
color: #e78284; color: #e78284;
} }
#custom-weather.clear { #custom-weather.clear {
color: #e5c890; /* Sunny yellow */ color: #e5c890; /* Sunny yellow */
} }
#custom-weather.cloud { #custom-weather.cloud {
color: #99d1db; /* Light blue */ color: #99d1db; /* Light blue */
} }
#custom-weather.rain { #custom-weather.rain {
color: #8caaee; /* Blue */ color: #8caaee; /* Blue */
} }
#custom-weather.snow { #custom-weather.snow {
color: #c6d0f5; /* White-ish */ color: #c6d0f5; /* White-ish */
} }
#custom-weather.thunder { #custom-weather.thunder {
color: #ca9ee6; /* Purple */ color: #ca9ee6; /* Purple */
} }
#custom-weather.fog { #custom-weather.fog {
color: #b0b4bc; /* Gray */ color: #b0b4bc; /* Gray */
} }
#custom-weather.error { #custom-weather.error {
color: $color0; /* Red */ color: $color0; /* Red */
}" > "$fileout" }" > "$fileout"
sleep 0.1s sleep 0.1s