[waybar] small changes
This commit is contained in:
parent
e12945c6d4
commit
1c9264517e
@ -6,10 +6,10 @@ function toggle () {
|
|||||||
if pgrep "hypridle" > /dev/null
|
if pgrep "hypridle" > /dev/null
|
||||||
then
|
then
|
||||||
pkill hypridle
|
pkill hypridle
|
||||||
notify-send -u normal -t 4500 " Hypridle Inactive"
|
notify-send -u normal -t 4500 " Hypridle Inactive"
|
||||||
else
|
else
|
||||||
hypridle &
|
hypridle &
|
||||||
notify-send -u normal -t 4500 " Hypridle Active"
|
notify-send -u normal -t 4500 " Hypridle Active"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,9 +33,6 @@ tooltip {
|
|||||||
border-color: #4771c9;
|
border-color: #4771c9;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery,
|
|
||||||
#backlight,
|
|
||||||
|
|
||||||
#battery,
|
#battery,
|
||||||
#backlight,
|
#backlight,
|
||||||
#clock,
|
#clock,
|
||||||
@ -85,27 +82,27 @@ tooltip {
|
|||||||
|
|
||||||
|
|
||||||
/* right segment */
|
/* right segment */
|
||||||
#tray {
|
|
||||||
border-radius: 10px 0px 0px 10px;
|
|
||||||
margin-left: 10px;
|
|
||||||
margin-right: 0px;
|
|
||||||
font-size: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#backlight,
|
#backlight,
|
||||||
#pulseaudio,
|
#battery,
|
||||||
#custom-hypridle,
|
|
||||||
#custom-wireguard,
|
#custom-wireguard,
|
||||||
#network {
|
#network,
|
||||||
|
#pulseaudio {
|
||||||
border-radius: 0px 0px 0px 0px;
|
border-radius: 0px 0px 0px 0px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
margin-right: -3px;
|
margin-right: -3px;
|
||||||
margin-left: 0px;
|
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;
|
border-radius: 0px 10px 10px 0px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 10px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
@ -21,12 +21,12 @@
|
|||||||
|
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"tray",
|
"tray",
|
||||||
"custom/hypridle",
|
|
||||||
"custom/wireguard",
|
"custom/wireguard",
|
||||||
"network",
|
"network",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"backlight",
|
"backlight",
|
||||||
"battery",
|
"battery",
|
||||||
|
"custom/hypridle",
|
||||||
],
|
],
|
||||||
|
|
||||||
// modules
|
// modules
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
margin = "10,10,10";
|
margin = "10,10,10";
|
||||||
|
|
||||||
# theme
|
# theme
|
||||||
font = "CommitMono Nerd Font 12";
|
font = "FiraCode Nerd Font 12";
|
||||||
|
|
||||||
# size
|
# size
|
||||||
width = 350;
|
width = 350;
|
||||||
|
Reference in New Issue
Block a user