update my tiling setup, yeah i know, will be more

This commit is contained in:
Smirnov Oleksandr 2023-11-05 00:03:38 +02:00
parent ec5940b911
commit e87d92384c
4 changed files with 87 additions and 24 deletions

View file

@ -18,6 +18,7 @@
"modules-right": [
"memory",
"tray",
"hyprland/language",
"backlight",
"battery",
"pulseaudio",
@ -26,7 +27,7 @@
// modules
"clock": {
"format": " {:%H:%M}",
"format": " {:%a, %d %b %H:%M}",
"tooltip": "true",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": " {:%d/%m}"
@ -41,37 +42,45 @@
"format": "{icon}",
"on-click": "activate",
"sort-by-number": true,
"persistent_workspaces": { "*": 9 },
"format-icons": {
"urgent": "",
"active": "",
"default": "󰧞"
},
"persistent_workspaces": { "*": 9 }
"default": "",
"1": "󰅨",
"2": "󰖟",
"3": "",
"4": "󰠮",
"5": "",
"6": "󰅨",
"7": "󰎄"
}
},
"hyprland/window": { "max-length": "40" },
"hyprland/window": {
"max-length": "40"
},
"battery": {
"format":"{icon} {capacity}%",
"format-charging":"{icon} {capacity}%",
"format-plugged": "{capacity}% ",
"format-alt": "{icon} {time}",
"format-icons": ["", "", "", "", ""],
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format":"{icon} {capacity}%",
"format-charging":"{icon} {capacity}%",
"format-plugged": "{capacity}% ",
"format-alt": "{icon} {time}",
"format-icons": ["", "", "", "", ""]
}
},
"memory": {
"format": "󰍛 {used}%",
"format": "󰍛 {used}%",
"interval": 5
},
"cpu": {
"format": "󰻠 {usage}%",
"format-alt": "󰻠 {avg_frequency} GHz",
"format": "󰻠 {usage}%",
"format-alt": "󰻠 {avg_frequency} GHz",
"interval": 5
},
@ -90,17 +99,26 @@
},
"backlight": {
"format": "{icon} {percent}%",
"format": "{icon} {percent}%",
"format-icons": ["", "", "", "", "", "", "", "", ""],
"on-scroll-up": "brightnessctl set +10%",
"on-scroll-down": "brightnessctl set 10%-"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format": "{icon} {volume}%",
"format-muted": "󰝟",
"format-icons": { "default": ["󰕿", "󰖀", "󰕾"] },
"format-icons": {
"default": ["󰕿", "󰖀", "󰕾"],
"headphone": ""
},
"on-scroll-up": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+",
"on-scroll-down": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-"
},
"hyprland/language": {
"format": "󰌌 {}",
"format-uk": "укр",
"format-en": "eng"
}
}

View file

@ -6,7 +6,8 @@
@define-color inactive-bg-color #292e42;
@define-color inactive-fg-color #545c7e;
@define-color green #73daca;
@define-color red #db4b4b;
@define-color red #f7768e;
@define-color blue #2ac3de;
* {
border: none;
@ -23,7 +24,7 @@ window#waybar {
color: @fg-color;
}
#cpu, #memory, #workspaces, #window, #tray, #clock, #battery, #pulseaudio, #network, #backlight {
#language, #cpu, #memory, #workspaces, #window, #tray, #clock, #battery, #pulseaudio, #network, #backlight {
background-color: @bg-darker-color;
color: @fg-color;
border-radius: 16px;
@ -31,6 +32,10 @@ window#waybar {
padding: 0px 10px 0px 10px;
}
#network, #backlight { color: @blue; }
#cpu, #pulseaudio, #memory, #clock { color: @active-bg-color; }
#language { color: @red; }
#workspaces button { color: @inactive-fg-color; }
#workspaces button.active {
color: @active-bg-color;