update waybar config
This commit is contained in:
parent
add1b86ba7
commit
5d3110f589
6 changed files with 182 additions and 133 deletions
|
|
@ -1,128 +0,0 @@
|
|||
{
|
||||
"layer":"top",
|
||||
"position":"top",
|
||||
"reload_style_on_change":true,
|
||||
|
||||
"height":20,
|
||||
"margin-bottom":5,
|
||||
"margin-left": 5,
|
||||
"margin-right":5,
|
||||
|
||||
"modules-left":["hyprland/workspaces"],
|
||||
"modules-center":["clock"],
|
||||
"modules-right":[
|
||||
"custom/notification",
|
||||
"idle_inhibitor",
|
||||
"network",
|
||||
"bluetooth",
|
||||
"backlight",
|
||||
"wireplumber",
|
||||
"clock#time",
|
||||
"battery",
|
||||
"custom/power"
|
||||
],
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"all-outputs": true,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "✨",
|
||||
"2": "🌈",
|
||||
"3": "💕",
|
||||
"4": "🎄",
|
||||
"5": "🌊",
|
||||
"6": "🌷",
|
||||
"7": "🪷",
|
||||
"8": "😽",
|
||||
"9": "🌙",
|
||||
"10": "🦋",
|
||||
},
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1 1>/dev/null",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1 1>/dev/null",
|
||||
"sort-by-number": true,
|
||||
"active-only": false,
|
||||
},
|
||||
"backlight":{
|
||||
"format": "<span color='#8ccf7e'> </span> {percent}% ",
|
||||
"device": "intel_backlight",
|
||||
"on-scroll-down": "brightnessctl s 5%-",
|
||||
"on-scroll-up": "brightnessctl s +5%"
|
||||
},
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"tooltip": "true"
|
||||
},
|
||||
|
||||
"wireplumber": {
|
||||
"on-click": "pavucontrol",
|
||||
"on-click-right": "amixer sset Master toggle 1>/dev/null",
|
||||
"format": "<span foreground='#e5c76b'>{icon}</span> {volume}%",
|
||||
"format-muted": "<span foreground='#e5c76b'></span> Muted",
|
||||
"format-icons": {
|
||||
"headphone": " ",
|
||||
"hands-free": " ",
|
||||
"headset": " ",
|
||||
"phone": " ",
|
||||
"portable": " ",
|
||||
"car": " ",
|
||||
"default": [" ", " ", " "]
|
||||
},
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format-wifi": "<span color='#67b0e8'></span> {essid} ",
|
||||
"format-ethernet": "<span color='#67b0e8'></span> {ifname}",
|
||||
"format-linked": "<span color='#67b0e8'></span> {ifname} (No IP)",
|
||||
"format": "<span color='#67b0e8'></span> Connected",
|
||||
"format-disconnected": "<span color='#67b0e8'></span> Disconnected",
|
||||
"interval": 60,
|
||||
"on-click":"~/.config/rofi/rofi-wifi-menu.sh"
|
||||
},
|
||||
"clock": {
|
||||
"format": "<span color='#ee5396'></span> {:%A %e %B}"
|
||||
},
|
||||
"clock#time": {
|
||||
"format": "<span color='#e57474'></span> {:%H:%M}"
|
||||
},
|
||||
"battery": {
|
||||
"interval": 2,
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "<span color='#8ccf7e'>{icon}</span> {capacity}%",
|
||||
"format-charging": "<span color='#8ccf7e'></span> {capacity}%",
|
||||
"format-plugged": "<span color='#8ccf7e'></span> {capacity}%",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"bluetooth":{
|
||||
"format-on": "<span color='#e57474'></span> Turned On",
|
||||
"format-off": "<span color='#e57474'></span> Turned Off",
|
||||
"format-disabled": "<span color='#e57474'></span> Disabled",
|
||||
"format-connected": "<span color='#e57474'></span> Connected",
|
||||
"format": "<span color='#e57474'></span> Disabled",
|
||||
"on-click":"blueman-manager &"
|
||||
},
|
||||
|
||||
"custom/power":{
|
||||
"format":"",
|
||||
"on-click":"~/.config/rofi/powermenu/type-4/powermenu.sh"
|
||||
},
|
||||
"custom/notification":{
|
||||
"format": "",
|
||||
"on-click": "swaync-client -t -sw"
|
||||
}
|
||||
|
||||
}
|
||||
130
config/waybar/config.jsonc
Normal file
130
config/waybar/config.jsonc
Normal file
|
|
@ -0,0 +1,130 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"reload_style_on_change": true,
|
||||
|
||||
"height": 20,
|
||||
"margin-top": 5,
|
||||
"margin-bottom": 0,
|
||||
"margin-left": 10,
|
||||
"margin-right": 10,
|
||||
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": [
|
||||
"idle_inhibitor",
|
||||
"network",
|
||||
"bluetooth",
|
||||
"backlight",
|
||||
"wireplumber",
|
||||
"battery",
|
||||
"custom/power"
|
||||
],
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"all-outputs": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"9": "",
|
||||
"10": "",
|
||||
"default": ""
|
||||
},
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1 1>/dev/null",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1 1>/dev/null",
|
||||
"sort-by-number": true,
|
||||
"active-only": false
|
||||
},
|
||||
"backlight": {
|
||||
"format": "<span color='#8ccf7e'> </span> {percent}% ",
|
||||
"device": "intel_backlight",
|
||||
"on-scroll-down": "brightnessctl s 5%-",
|
||||
"on-scroll-up": "brightnessctl s +5%"
|
||||
},
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"tooltip": "true"
|
||||
},
|
||||
|
||||
"wireplumber": {
|
||||
"on-click": "pavucontrol",
|
||||
"on-click-right": "amixer sset Master toggle 1>/dev/null",
|
||||
"format": "<span foreground='#e5c76b'>{icon}</span> {volume}%",
|
||||
"format-muted": "<span foreground='#e5c76b'></span> Muted",
|
||||
"format-icons": {
|
||||
"headphone": " ",
|
||||
"hands-free": " ",
|
||||
"headset": " ",
|
||||
"phone": " ",
|
||||
"portable": " ",
|
||||
"car": " ",
|
||||
"default": [" ", " ", " "]
|
||||
}
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format-wifi": "<span color='#67b0e8'></span> {essid} ",
|
||||
"format-ethernet": "<span color='#67b0e8'></span> {ifname}",
|
||||
"format-linked": "<span color='#67b0e8'></span> {ifname} (No IP)",
|
||||
"format": "<span color='#67b0e8'></span> Connected",
|
||||
"format-disconnected": "<span color='#67b0e8'></span> Disconnected",
|
||||
"interval": 60,
|
||||
"on-click": "~/.config/rofi/rofi-wifi-menu.sh"
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%R}",
|
||||
"locale": "es_CL.UTF-8",
|
||||
"format-alt": "{:%a %d, %B %Y}",
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
"calendar": {
|
||||
"mode": "year",
|
||||
"mode-mon-col": 3,
|
||||
"weeks-pos": "left",
|
||||
"on-scroll": 1,
|
||||
"format": {
|
||||
"months": "<span color='#cad3f5'><b>{}</b></span>",
|
||||
"days": "<span color='#cad3f5'><b>{}</b></span>",
|
||||
"weeks": "<span color='#c6a0f6'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#c6a0f6'><b>{}</b></span>",
|
||||
"today": "<span color='#8bd5ca'><b><u>{}</u></b></span>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down"
|
||||
}
|
||||
},
|
||||
"battery": {
|
||||
"interval": 2,
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "<span color='#8ccf7e'>{icon}</span> {capacity}%",
|
||||
"format-charging": "<span color='#8ccf7e'></span> {capacity}%",
|
||||
"format-plugged": "<span color='#8ccf7e'></span> {capacity}%",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"bluetooth": {
|
||||
"format-on": "<span color='#e57474'></span> Turned On",
|
||||
"format-off": "<span color='#e57474'></span> Turned Off",
|
||||
"format-disabled": "<span color='#e57474'></span> Disabled",
|
||||
"format-connected": "<span color='#e57474'></span> Connected",
|
||||
"format": "<span color='#e57474'></span> Disabled",
|
||||
"on-click": "blueman-manager &"
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"format": "",
|
||||
"on-click": "~/.config/rofi/powermenu/type-4/powermenu.sh"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
@import "./themes/catppuccin-macchiato.css";
|
||||
|
||||
*{
|
||||
font-size: 13px;
|
||||
font-size: 0.9rem;
|
||||
font-family: JetBrainsMono Roboto, Helvetica, Arial, sans-serif;
|
||||
color: @text;
|
||||
}
|
||||
|
|
@ -11,7 +11,34 @@
|
|||
}
|
||||
#workspaces{
|
||||
border-radius:5px;
|
||||
box-shadow:0px 0px black;
|
||||
}
|
||||
|
||||
#workspaces button{
|
||||
padding: .25rem .5rem;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
|
||||
#workspaces button:last-child{
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @teal;
|
||||
background-color: alpha(@teal, 0.15);
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
color: @red;
|
||||
background-color: alpha(@red, 0.15);
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
/* border: .2px solid transparent; */
|
||||
background: alpha(@blue, 0.15);
|
||||
color: @blue;
|
||||
border-color: transparent;
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
}
|
||||
|
||||
box.modules-left,
|
||||
|
|
@ -21,7 +48,6 @@ box.modules-right {
|
|||
background-color: @base;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#network,
|
||||
#backlight,
|
||||
#wireplumber,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue