[waybar] small changes

This commit is contained in:
Simon Cornet 2024-03-31 19:52:34 +02:00
parent e12945c6d4
commit 1c9264517e
4 changed files with 16 additions and 19 deletions

View File

@ -6,10 +6,10 @@ function toggle () {
if pgrep "hypridle" > /dev/null
then
pkill hypridle
notify-send -u normal -t 4500 "󰐩 Hypridle Inactive"
notify-send -u normal -t 4500 "󰐩 Hypridle Inactive"
else
hypridle &
notify-send -u normal -t 4500 "󰐨 Hypridle Active"
notify-send -u normal -t 4500 "󰐨 Hypridle Active"
fi
}

View File

@ -33,9 +33,6 @@ tooltip {
border-color: #4771c9;
}
#battery,
#backlight,
#battery,
#backlight,
#clock,
@ -85,27 +82,27 @@ tooltip {
/* right segment */
#tray {
border-radius: 10px 0px 0px 10px;
margin-left: 10px;
margin-right: 0px;
font-size: 20px;
}
#backlight,
#pulseaudio,
#custom-hypridle,
#battery,
#custom-wireguard,
#network {
#network,
#pulseaudio {
border-radius: 0px 0px 0px 0px;
font-size: 20px;
margin-right: -3px;
margin-left: 0px;
}
#battery {
#custom-wireguard {
border-radius: 10px 0px 0px 10px;
font-size: 20px;
margin-left: 10px;
margin-right: 0px;
}
#custom-hypridle {
border-radius: 0px 10px 10px 0px;
font-size: 20px;
margin-left: 0px;
margin-right: 10px;
margin-right: 15px;
}

View File

@ -21,12 +21,12 @@
"modules-right": [
"tray",
"custom/hypridle",
"custom/wireguard",
"network",
"pulseaudio",
"backlight",
"battery",
"custom/hypridle",
],
// modules

View File

@ -16,7 +16,7 @@
margin = "10,10,10";
# theme
font = "CommitMono Nerd Font 12";
font = "FiraCode Nerd Font 12";
# size
width = 350;