chore: waybar and dunst style

This commit is contained in:
hesam-init 2024-02-19 21:52:44 +03:30
parent 40ccfa7182
commit 08a3768272
4 changed files with 21 additions and 15 deletions

View file

@ -246,7 +246,7 @@
# corners. # corners.
# The radius will be automatically lowered if it exceeds half of the # The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons. # notification height to avoid clipping text and/or icons.
corner_radius = 5 corner_radius = 10
# Ignore the dbus closeNotification message. # Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this # Useful to enforce the timeout set by dunst configuration. Without this

View file

@ -1,20 +1,19 @@
{ {
"layer": "top", "layer": "top",
"position": "top", "position": "top",
"height": 30, "height": 24,
"spacing": 5, "spacing": 5,
"margin-top": 8, "margin-top": 8,
"margin-bottom": 4, "margin-bottom": 2,
"margin-left": 4, "margin-left": 4,
"margin-right": 4, "margin-right": 4,
"modules-right": [ "modules-right": [
"wireplumber", "wireplumber",
"clock",
"hyprland/language", "hyprland/language",
"custom/power" "clock"
], ],
"modules-left": [ "modules-left": [
// "custom/launcher", "custom/launcher",
"hyprland/workspaces", "hyprland/workspaces",
"custom/media" "custom/media"
// "wlr/taskbar" // "wlr/taskbar"
@ -23,8 +22,8 @@
"battery", "battery",
"cpu", "cpu",
"memory", "memory",
"network#network-2", "network#network-2"
"network" // "network"
// "pulseaudio" // "pulseaudio"
// "custom/snip" // "custom/snip"
// "custom/updater", // "custom/updater",
@ -51,7 +50,8 @@
"spacing": 10 "spacing": 10
}, },
"clock": { "clock": {
"format": "{:%H : %M} ", "interval": 1,
"format": "{:%H:%M:%S}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
}, },
"pulseaudio": { "pulseaudio": {

View file

@ -1,4 +1,4 @@
@import "../../../.config/hypr-theme/global.css"; @import "../../../.config/hypr-theme/waybar/global.css";
* { * {
border: none; border: none;
@ -56,6 +56,7 @@ window#waybar.hidden {
#custom-updater, #custom-updater,
#custom-snip, #custom-snip,
#custom-wallpaper, #custom-wallpaper,
#custom-playerlabel,
#tags, #tags,
#taskbar, #taskbar,
#tray, #tray,
@ -63,8 +64,10 @@ window#waybar.hidden {
#idle_inhibitor, #idle_inhibitor,
#mpd, #mpd,
#wireplumber, #wireplumber,
#language { #language,
#workspaces {
background-color: @backgrounddark; background-color: @backgrounddark;
border: #272727 1px solid;
padding: 0px 6px; padding: 0px 6px;
} }
@ -94,6 +97,10 @@ window#waybar.hidden {
background-color: #90b1b1; background-color: #90b1b1;
} }
#custom-playerlabel {
min-width: 170px;
}
#network { #network {
min-width: 160px; min-width: 160px;
} }
@ -181,13 +188,12 @@ window#waybar.hidden {
color: red; color: red;
} }
#memory {
#memory,
#cpu {
min-width: 90px; min-width: 90px;
} }
#cpu {
min-width: 85px;
}
#language, #language,
#clock, #clock,