-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
257 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"position": "top", | ||
"margin-bottom" : 0, | ||
"margin-top" : 5, | ||
"margin-left": 10, | ||
"margin-right": 10, | ||
"height" : 35, | ||
"modules-left": [ | ||
"hyprland/workspaces", | ||
], | ||
"modules-center": [ | ||
"hyprland/window" | ||
], | ||
"modules-right": [ | ||
"battery", | ||
"pulseaudio", | ||
"network", | ||
"temperature", | ||
"clock", | ||
], | ||
"hyprland/window": { | ||
"format": "{}", | ||
"max-length": 35, | ||
"rewrite": { | ||
"": "Hyprland" | ||
}, | ||
"separate-outputs": true, | ||
}, | ||
"hyprland/workspaces": { | ||
"format": "{icon}", | ||
"on-click": "activate", | ||
"format-icons": { | ||
"active": " ", | ||
}, | ||
"sort-by-number": true, | ||
"persistent-workspaces": { | ||
"*": 10, | ||
}, | ||
}, | ||
"clock": { | ||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", | ||
"format-alt": "{:%Y-%m-%d}" | ||
}, | ||
"cpu": { | ||
"format": " {usage}%", | ||
"tooltip": false | ||
}, | ||
"memory": { | ||
"format": "{}% " | ||
}, | ||
"temperature": { | ||
"critical-threshold": 80, | ||
"format": "{icon} {temperatureC}°C", | ||
"format-icons": ["", "", ""] | ||
}, | ||
"battery": { | ||
"states": { | ||
"warning": 30, | ||
"critical": 15 | ||
}, | ||
"format": "{icon} {capacity}%", | ||
"format-full": "{icon} {capacity}%", | ||
"format-charging": " {capacity}%", | ||
"format-plugged": " {capacity}%", | ||
"format-alt": "{time} {icon}", | ||
"format-icons": ["", "", "", "", ""] | ||
}, | ||
"network": { | ||
"format-wifi": " {signalStrength}%", | ||
"format-ethernet": "{cidr} ", | ||
"tooltip-format": "{ifname} via {gwaddr} ", | ||
"format-linked": "{ifname} (No IP) ", | ||
"format-disconnected": " ⚠ ", | ||
"format-alt": "{ifname}: {ipaddr}/{cidr}" | ||
}, | ||
"pulseaudio": { | ||
"format": "{icon} {volume}%", | ||
"format-bluetooth": "{volume}% {icon} {format_source}", | ||
"format-bluetooth-muted": " {icon} {format_source}", | ||
"format-muted": " {format_source}", | ||
"format-icons": { | ||
"headphone": "", | ||
"hands-free": "", | ||
"headset": "", | ||
"phone": "", | ||
"portable": "", | ||
"car": "", | ||
"default": ["", "", ""] | ||
}, | ||
"on-click": "pavucontrol" | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@define-color rosewater #f4dbd6; | ||
@define-color flamingo #f0c6c6; | ||
@define-color pink #f5bde6; | ||
@define-color mauve #c6a0f6; | ||
@define-color red #ed8796; | ||
@define-color maroon #ee99a0; | ||
@define-color peach #f5a97f; | ||
@define-color yellow #eed49f; | ||
@define-color green #a6da95; | ||
@define-color teal #8bd5ca; | ||
@define-color sky #91d7e3; | ||
@define-color sapphire #7dc4e4; | ||
@define-color blue #8aadf4; | ||
@define-color lavender #b7bdf8; | ||
@define-color text #cad3f5; | ||
@define-color subtext1 #b8c0e0; | ||
@define-color subtext0 #a5adcb; | ||
@define-color overlay2 #939ab7; | ||
@define-color overlay1 #8087a2; | ||
@define-color overlay0 #6e738d; | ||
@define-color surface2 #5b6078; | ||
@define-color surface1 #494d64; | ||
@define-color surface0 #363a4f; | ||
@define-color base #24273a; | ||
@define-color mantle #1e2030; | ||
@define-color crust #181926; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
|
||
@import "macchiato.css"; | ||
|
||
* { | ||
font-family: "Hack Nerd Font", Roboto, Helvetica, Arial, sans-serif; | ||
font-size: 18px; | ||
} | ||
|
||
window#waybar { | ||
background-color: @base; | ||
border-radius: 13px; | ||
transition-property: background-color; | ||
transition-duration: 0.5s; | ||
} | ||
|
||
button { | ||
/* Use box-shadow instead of border so the text isn't offset */ | ||
box-shadow: inset 0 -3px transparent; | ||
/* Avoid rounded borders under each button name */ | ||
border: none; | ||
border-radius: 0; | ||
} | ||
|
||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ | ||
button:hover { | ||
background: inherit; | ||
box-shadow: inset 0 -3px #ffffff; | ||
} | ||
|
||
/* you can set a style on hover for any module like this */ | ||
#pulseaudio:hover { | ||
background-color: @surface2; | ||
} | ||
|
||
#workspaces button { | ||
padding: 0 5px; | ||
background-color: transparent; | ||
color: #ffffff; | ||
} | ||
|
||
#workspaces button:hover { | ||
background: rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
#workspaces button.focused { | ||
background-color: @lavender; | ||
box-shadow: inset 0 -3px #ffffff; | ||
} | ||
|
||
#workspaces button.urgent { | ||
background-color: #eb4d4b; | ||
} | ||
|
||
#mode { | ||
background-color: #64727d; | ||
box-shadow: inset 0 -3px #ffffff; | ||
} | ||
|
||
#clock, | ||
#battery, | ||
#cpu, | ||
#memory, | ||
#temperature, | ||
#network, | ||
#pulseaudio { | ||
padding: 0 10px; | ||
} | ||
|
||
#pulseaudio { | ||
color: @maroon; | ||
} | ||
|
||
#network { | ||
color: @yellow; | ||
} | ||
|
||
#temperature { | ||
color: @sky; | ||
} | ||
|
||
#battery { | ||
color: @green; | ||
} | ||
|
||
#clock { | ||
color: @flamingo; | ||
} | ||
|
||
#window { | ||
color: @text; | ||
} | ||
|
||
.modules-right, | ||
.modules-left, | ||
.modules-center { | ||
background-color: @base; | ||
border-radius: 15px; | ||
} | ||
.modules-right { | ||
padding: 0 10px; | ||
} | ||
|
||
.modules-left { | ||
padding: 0 20px; | ||
} | ||
|
||
.modules-center { | ||
padding: 0 10px; | ||
} | ||
#battery.charging, | ||
#battery.plugged { | ||
color: @sapphire; | ||
} | ||
|
||
@keyframes blink { | ||
to { | ||
color: #000000; | ||
} | ||
} | ||
|
||
/* Using steps() instead of linear as a timing function to limit cpu usage */ | ||
#battery.critical:not(.charging) { | ||
background-color: #f53c3c; | ||
color: #ffffff; | ||
animation-name: blink; | ||
animation-duration: 0.5s; | ||
animation-timing-function: steps(12); | ||
animation-iteration-count: infinite; | ||
animation-direction: alternate; | ||
} | ||
|
||
label:focus { | ||
background-color: #000000; | ||
} | ||
|
||
#pulseaudio.muted { | ||
color: @text; | ||
} | ||
|