waybar tweeks ++

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-04-26 15:47:38 +02:00
parent 15df837021
commit 2d3624e290
3 changed files with 16 additions and 12 deletions

View File

@@ -440,12 +440,12 @@ in
",XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+" ",XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+"
",XF86AudioLowerVolume, 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" ",XF86AudioPlay, exec, playerctl play-pause"
",XF86AudioPrev, exec, playerctl playerctl previous" ",XF86AudioPrev, exec, playerctl previous"
",XF86AudioNext, exec, playerctl playerctl next" ",XF86AudioNext, exec, playerctl next"
",XF86MonBrightnessUp, exec, brightnessctl s '5%+'" ",XF86MonBrightnessUp, exec, brightnessctl s '5%+'"
",XF86MonBrightnessDown, exec, brightnessctl s '5%-'" ",XF86MonBrightnessDown, exec, brightnessctl s '5%-'"
########################################################################### ###########################################################################
## MOUSE: ## MOUSE:

View File

@@ -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, 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"))))}') 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 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 elif [ "$1" = "--no-icons" ]; then
echo "$(date +'%A the')" "$ord" "of" "$(date +'%B')" "$(date +'%R')" echo "$(date +'%A the')" "$ord" "of" "$(date +'%B')" "$(date +'%R')"
fi fi
@@ -59,7 +59,7 @@ in
enable = true; enable = true;
settings = { settings = {
bar = { bar = {
height = 30; height = 20;
layer = "top"; layer = "top";
# position = "top"; # position = "top";
position = "bottom"; position = "bottom";
@@ -93,7 +93,7 @@ in
active-only = false; active-only = false;
}; };
"hyprland/window" = { "hyprland/window" = {
format = "{}"; format = "${sep}{}";
separate-outputs = true; separate-outputs = true;
}; };
"custom/cclock" = { "custom/cclock" = {
@@ -160,7 +160,7 @@ in
}; };
wireplumber = { wireplumber = {
format = "󰕾${sep}{volume}%"; 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}); color: rgb(${rice.lib.hex-to-rgb-comma-string rice.color.red});
} }
#window { #window, #custom-ctimeremaining {
font-family: ${rice.font.base.name}; 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}); color: rgb(${rice.lib.hex-to-rgb-comma-string rice.color.blue});
} }
''; '';

View File

@@ -57,7 +57,7 @@
spotify spicetify-cli spotify spicetify-cli
obs-studio obs-studio
waybar swww rofi waybar swww rofi playerctl
imv mpv mediainfo exiftool ffmpeg imv mpv mediainfo exiftool ffmpeg
pavucontrol fontpreview gtk2fontsel pavucontrol fontpreview gtk2fontsel