waybar tweeks ++
This commit is contained in:
@@ -440,10 +440,10 @@ in
|
||||
|
||||
",XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+"
|
||||
",XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%-"
|
||||
",XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
||||
",XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||
",XF86AudioPlay, exec, playerctl play-pause"
|
||||
",XF86AudioPrev, exec, playerctl playerctl previous"
|
||||
",XF86AudioNext, exec, playerctl playerctl next"
|
||||
",XF86AudioPrev, exec, playerctl previous"
|
||||
",XF86AudioNext, exec, playerctl next"
|
||||
",XF86MonBrightnessUp, exec, brightnessctl s '5%+'"
|
||||
",XF86MonBrightnessDown, exec, brightnessctl s '5%-'"
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ in
|
||||
#ord=$(date +"%e" | awk '{printf("%d%s\n", $1, substr("thstndrd", ($1%100-20)%10*2+1, 2))}')
|
||||
ord=$(date +"%e" | awk '{printf("%d%s\n", $1, ($1==11||$1==12||$1==13)?"th":((($1%10)==1)?"st":((($1%10)==2)?"nd":((($1%10)==3)?"rd":"th"))))}')
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "${sep}$(date +'%A the')" "$ord" "of" "$(date +'%B')" " ${sep}" "$(date +'%R')"
|
||||
echo "${sep}$(date +'%A the')" "$ord" "of" "$(date +'%B')" " ${sep}$(date +'%R')"
|
||||
elif [ "$1" = "--no-icons" ]; then
|
||||
echo "$(date +'%A the')" "$ord" "of" "$(date +'%B')" "$(date +'%R')"
|
||||
fi
|
||||
@@ -59,7 +59,7 @@ in
|
||||
enable = true;
|
||||
settings = {
|
||||
bar = {
|
||||
height = 30;
|
||||
height = 20;
|
||||
layer = "top";
|
||||
# position = "top";
|
||||
position = "bottom";
|
||||
@@ -93,7 +93,7 @@ in
|
||||
active-only = false;
|
||||
};
|
||||
"hyprland/window" = {
|
||||
format = "{}";
|
||||
format = "${sep}{}";
|
||||
separate-outputs = true;
|
||||
};
|
||||
"custom/cclock" = {
|
||||
@@ -160,7 +160,7 @@ in
|
||||
};
|
||||
wireplumber = {
|
||||
format = "${sep}{volume}%";
|
||||
format-muted = "${sep}Muted";
|
||||
format-muted = "${sep}--%";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -228,8 +228,12 @@ in
|
||||
color: rgb(${rice.lib.hex-to-rgb-comma-string rice.color.red});
|
||||
}
|
||||
|
||||
#window {
|
||||
font-family: ${rice.font.base.name};
|
||||
#window, #custom-ctimeremaining {
|
||||
font-family: ${rice.font.base.name}, ${rice.font.code.name2};
|
||||
color: rgb(${rice.lib.hex-to-rgb-comma-string rice.color.blue});
|
||||
}
|
||||
|
||||
#wireplumber.muted {
|
||||
color: rgb(${rice.lib.hex-to-rgb-comma-string rice.color.blue});
|
||||
}
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user