probably finalised, works good enough idk
This commit is contained in:
@@ -1,211 +0,0 @@
|
||||
{
|
||||
"layer": "bottom", "position": "top",
|
||||
"modules-left": ["custom/logo", "hyprland/workspaces" ],
|
||||
"height": 24,
|
||||
"modules-center": [ "hyprland/window"],
|
||||
"modules-right": ["pulseaudio", "network", "cpu", "memory", "disk", "battery", "clock"],
|
||||
"reload_style_on_change":true,
|
||||
|
||||
"custom/logo": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"format": "{id}",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"6": "",
|
||||
"active": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
|
||||
"idle_inhibitor":{
|
||||
"format": "<span font='12'>{icon} </span>",
|
||||
"format-icons": {
|
||||
"activated":"",
|
||||
"deactivated":""
|
||||
}
|
||||
},
|
||||
|
||||
"custom/weather": {
|
||||
"format": "{}",
|
||||
"return-type": "json",
|
||||
"exec": "~/.config/waybar/scripts/weather.sh",
|
||||
"interval": 10,
|
||||
"on-click": "firefox https://wttr.in"
|
||||
},
|
||||
|
||||
"custom/clipboard":{
|
||||
"format":"",
|
||||
"on-click": "cliphist list | rofi -dmenu | cliphist decode | wl-copy",
|
||||
"interval":86400
|
||||
},
|
||||
|
||||
|
||||
"clock": {
|
||||
"format": "{:%H:%M:%S}",
|
||||
"interval":1,
|
||||
"tooltip-format": "\n<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"calendar-weeks-pos": "right",
|
||||
"today-format": "<span color='#7645AD'><b><u>{}</u></b></span>",
|
||||
"format-calendar": "<span color='#aeaeae'><b>{}</b></span>",
|
||||
"format-calendar-weeks": "<span color='#aeaeae'><b>W{:%V}</b></span>",
|
||||
"format-calendar-weekdays": "<span color='#aeaeae'><b>{}</b></span>"
|
||||
},
|
||||
|
||||
"bluetooth": {
|
||||
"format-on": "",
|
||||
"format-off": "",
|
||||
"format-disabled": "",
|
||||
"format-connected": "",
|
||||
"format-connected-battery": "{device_battery_percentage}% ",
|
||||
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
||||
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
||||
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
|
||||
"on-click": "rofi-bluetooth",
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format-wifi": " ",
|
||||
"format-ethernet":" ",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "{ipaddr}",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%) | {ipaddr}",
|
||||
"tooltip-format-ethernet": "{ifname} 🖧 | {ipaddr}",
|
||||
"on-click": "networkmanager_dmenu"
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"interval":1,
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 20
|
||||
},
|
||||
"format": " {icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
},
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"format": "<span font='12'>{icon}</span>",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
],
|
||||
"on-scroll-down": "light -A 10",
|
||||
"on-scroll-up": "light -U 10",
|
||||
"smooth-scrolling-threshold": 1
|
||||
},
|
||||
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
"format": " {percentage_used}%",
|
||||
"path": "/"
|
||||
},
|
||||
|
||||
"custom/colorpicker": {
|
||||
"format": "{}",
|
||||
"return-type": "json",
|
||||
"interval": "once",
|
||||
"exec": "~/.config/waybar/scripts/colorpicker.sh -j",
|
||||
"on-click": "sleep 1 && ~/.config/waybar/scripts/colorpicker.sh",
|
||||
"signal": 1
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": " {usage}%",
|
||||
"min-length": 6,
|
||||
"max-length": 6,
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"format": " {percentage}% "
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": "( {class} )"
|
||||
},
|
||||
|
||||
"temperature": {
|
||||
"format": " {temperatureC}°C",
|
||||
"format-critical": " {temperatureC}°C",
|
||||
"interval": 1,
|
||||
"critical-threshold": 80,
|
||||
"on-click": "foot btop",
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{volume}% ",
|
||||
"format-bluetooth":" ",
|
||||
"format-muted": "<span font='12'></span>",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"bluetooth": "",
|
||||
"handsfree": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["🕨","🕩","🕪"]
|
||||
},
|
||||
"justify": "center",
|
||||
"on-click": "amixer sset Master toggle",
|
||||
"on-click-right": "pavucontrol",
|
||||
"tooltip-format": "{icon} {volume}%"
|
||||
},
|
||||
|
||||
"jack": {
|
||||
"format": "{} ",
|
||||
"format-xrun": "{xruns} xruns",
|
||||
"format-disconnected": "DSP off",
|
||||
"realtime": true
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 14,
|
||||
"spacing": 10
|
||||
},
|
||||
|
||||
"upower": {
|
||||
"show-icon": false,
|
||||
"hide-if-empty": true,
|
||||
"tooltip": true,
|
||||
"tooltip-spacing": 20
|
||||
},
|
||||
|
||||
"custom/powerDraw": {
|
||||
"format": "{}",
|
||||
"interval": 1,
|
||||
"exec": "~/.config/waybar/scripts/powerdraw.sh",
|
||||
"return-type": "json"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
94
.config/waybar/config.jsonc
Normal file
94
.config/waybar/config.jsonc
Normal file
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"height": 26,
|
||||
"margin": "3 6",
|
||||
"reload_style_on_change": true,
|
||||
"position": "top",
|
||||
"modules-left": [
|
||||
"custom/logo",
|
||||
"hyprland/workspaces"
|
||||
],
|
||||
"modules-center": [
|
||||
"mpris"
|
||||
],
|
||||
"modules-right": [
|
||||
"network",
|
||||
"bluetooth",
|
||||
"custom/notifs",
|
||||
"battery",
|
||||
"memory",
|
||||
"cpu",
|
||||
"custom/swaync",
|
||||
"clock"
|
||||
],
|
||||
"custom/logo": {
|
||||
"format": ""
|
||||
},
|
||||
"mpris": {
|
||||
"format": "{status_icon} {title} - {artist}",
|
||||
"status-icons": {
|
||||
"playing": "",
|
||||
"paused": ""
|
||||
}
|
||||
},
|
||||
"network": {
|
||||
"format": "",
|
||||
"format-ethernet": "",
|
||||
"format-wifi": "{icon}",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"format-alt": "{ipaddr} / {gwaddr}",
|
||||
"tooltip-format": "{ifname} - {essid}"
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-connected": "",
|
||||
"tooltip-format": "{status} - {device_alias}",
|
||||
"on-click": "blueman-manager"
|
||||
},
|
||||
"custom/notifs": {
|
||||
"format": "",
|
||||
"on-click": "swaync-client --open-panel"
|
||||
},
|
||||
"battery": {
|
||||
"format": "{icon} {capacity}%",
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"memory": {
|
||||
"format": " {percentage}%",
|
||||
"tooltip-format": "{used:0.1f}GiB, {swapUsed:0.1f}GiB Swap"
|
||||
},
|
||||
"cpu": {
|
||||
"format": " {usage}%"
|
||||
},
|
||||
"clock": {
|
||||
"interval": 1,
|
||||
"format": "{:%T}",
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
"calendar": {
|
||||
"mode" : "year",
|
||||
"mode-mon-col" : 3,
|
||||
"weeks-pos" : "right",
|
||||
"on-scroll" : 1,
|
||||
"format": {
|
||||
"months": "<span color='#89b4fa'><b>{}</b></span>",
|
||||
"days": "<span color='#eba0ac'><b>{}</b></span>",
|
||||
"weeks": "<span color='#a6e3a1'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#fab387'><b>{}</b></span>",
|
||||
"today": "<span color='#cba6f7'><b><u>{}</u></b></span>"
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
@@ -1,135 +1,126 @@
|
||||
* {
|
||||
border: none;
|
||||
padding: 0;
|
||||
font-family: "Fira Mono Nerd Font";
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-family: "FiraMono Nerd Font" ;
|
||||
min-height: 24px;
|
||||
padding: 0;
|
||||
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
margin: 0px 0px;
|
||||
}
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.module {
|
||||
background-color: rgba(30, 30, 46, 0.8);
|
||||
margin: 0 3px;
|
||||
padding: 0 9px;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
#custom-logo {
|
||||
padding: 0 13px 0 7px;
|
||||
color: #89b4fa;
|
||||
padding-right: 11px;
|
||||
padding-left: 8px;
|
||||
background-color: #cba6f7;
|
||||
color: #1e1e2e;
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
.modules-right {
|
||||
padding-left: 5px;
|
||||
border-radius: 5px;
|
||||
margin: 3px 5px 0px;
|
||||
background: #181825;
|
||||
#workspaces {
|
||||
padding: 3px 4px;
|
||||
}
|
||||
|
||||
.modules-center {
|
||||
padding: 0 15px;
|
||||
margin: 3px 5px 0px;
|
||||
border-radius: 5px;
|
||||
background: #181825;
|
||||
#workspaces button {
|
||||
background-color: #585b70;
|
||||
margin: 0 2px;
|
||||
padding: 0 2px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.modules-left {
|
||||
border-radius: 7px;
|
||||
margin: 3px 5px 0px;
|
||||
background: #181825;
|
||||
#workspaces button:first-child {
|
||||
border-radius: 5px 2px 2px 5px;
|
||||
margin: 0;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
#workspaces button:last-child {
|
||||
border-radius: 2px 5px 5px 4px;
|
||||
margin: 0;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
#workspaces button:only-child {
|
||||
border-radius: 5px;
|
||||
padding: 0 12px;
|
||||
margin: 0 1px;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background-color: #b4befe;
|
||||
color: #313244;
|
||||
}
|
||||
|
||||
#mpris {
|
||||
font-size: 14px;
|
||||
color: #f2cdcd;
|
||||
}
|
||||
|
||||
#network {
|
||||
padding: 0;
|
||||
padding-left: 7px;
|
||||
padding-right: 13px;
|
||||
background-color: #f38ba8;
|
||||
color: #1e1e2e;
|
||||
}
|
||||
|
||||
#bluetooth {
|
||||
padding: 0;
|
||||
padding-left: 7px;
|
||||
padding-right: 8px;
|
||||
background-color: #fab387;
|
||||
color: #1e1e2e;
|
||||
}
|
||||
|
||||
#custom-notifs {
|
||||
padding-left: 8px;
|
||||
background-color: #f9e2af;
|
||||
color: #1e1e2e;
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: #94e2d5;
|
||||
}
|
||||
#custom-clipboard,
|
||||
#custom-colorpicker,
|
||||
#custom-powerDraw,
|
||||
#bluetooth,
|
||||
#pulseaudio,
|
||||
#network {
|
||||
color: #f38ba8;
|
||||
}
|
||||
#cpu {
|
||||
color: #fab387;
|
||||
}
|
||||
#memory {
|
||||
color: #f9e2af;
|
||||
}
|
||||
#disk {
|
||||
color: #a6e3a1;
|
||||
}
|
||||
#backlight,
|
||||
#temperature,
|
||||
#custom-weather,
|
||||
#idle_inhibitor,
|
||||
#jack,
|
||||
#tray,
|
||||
#window {
|
||||
color: #cdd6f4;
|
||||
}
|
||||
#workspaces button {
|
||||
color: #b4befe;
|
||||
border-radius: 6px;
|
||||
padding: 0 5px;
|
||||
box-shadow: none;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
background-color: #313244;
|
||||
color: #6c7086;
|
||||
}
|
||||
#workspaces button.active {
|
||||
background-color: #cba6f7;
|
||||
color: #313244;
|
||||
}
|
||||
#clock {
|
||||
padding: 0 5px;
|
||||
}
|
||||
#pulseaudio {
|
||||
padding-top: 0px;
|
||||
background-color: #a6e3a1;
|
||||
color: #1e1e2e;
|
||||
}
|
||||
|
||||
#temperature.critical,
|
||||
#pulseaudio.muted {
|
||||
color: #FF0000;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#clock{
|
||||
color: #74c7ec;
|
||||
#battery.warning {
|
||||
color: #f9e2af;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: #313244;
|
||||
background-color: #74c7ec;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
border-radius: 5px;
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
background-color: #ffbe61;
|
||||
color: black;
|
||||
#battery.critical {
|
||||
color: #f38ba8;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: #f53c3c;
|
||||
color: #ffffff;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
#memory {
|
||||
padding-right: 3px;
|
||||
border-radius: 7px 0 0 7px;
|
||||
margin-right: 0;
|
||||
background-color: #89dceb;
|
||||
color: #1e1e2e;
|
||||
}
|
||||
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
#cpu {
|
||||
padding-left: 3px;
|
||||
border-radius: 0 7px 7px 0;
|
||||
margin-left: 0;
|
||||
background-color: #89dceb;
|
||||
color: #1e1e2e;
|
||||
}
|
||||
|
||||
#clock {
|
||||
background-color: #89b4fa;
|
||||
color: #1e1e2e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user