diff options
| -rw-r--r--[l---------] | config/wayland/waybar/config.jsonc | 79 | ||||
| -rw-r--r--[l---------] | config/wayland/waybar/style.css | 143 | 
2 files changed, 220 insertions, 2 deletions
diff --git a/config/wayland/waybar/config.jsonc b/config/wayland/waybar/config.jsonc index 1d795fc..9d60915 120000..100644 --- a/config/wayland/waybar/config.jsonc +++ b/config/wayland/waybar/config.jsonc @@ -1 +1,78 @@ -configs/hyprland.jsonc
\ No newline at end of file +{ +	"layer": "top", +	"modules-left": ["battery", "hyprland/workspaces", "mpd", "hyprland/window"], +	"modules-center": ["clock"], +	"modules-right": ["custom/wireguard", "network", "pulseaudio", "temperature", "cpu", "custom/memory", "custom/bluetooth", "tray"], +	"mpd": { +		"format": "{artist} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})", +		"artist-len": 24, +		"format-disconnected": "s", +		"format-stopped": "", +		"state-icons": { +			"playing": "", +			"paused": "", +		}, +		"tooltip-format": "{songPosition}/{queueLength} ({volume}%)", +		"on-click": "mpc toggle", +		"on-scroll-up": "mpc volume +5", +		"on-scroll-down": "mpc volume -5", +	}, +	"battery": { +		"format-charging": " {capacity}%", +		"on-click": "mpower", +		"interval": 10, +	}, +	"hyprland/window": { +		"format": " {}", +		"separate-outputs": true, +	}, +	"pulseaudio": { +		"scroll-step": 1, +		"format": "{icon} {volume:3}%", +		"format-icons": { +			"default": ["", "", ""] +		}, +		"on-click": "pavucontrol", +	}, +	"temperature": { +		"interval": 3, +		"format": "{icon} {temperatureC}°C", +		"format-icons": { +			"default":["", "", "", "", ""] +		}, +	}, +	"custom/wireguard": { +		"exec": "ip addr show dev wg0", +		"format": "wg0", +		"restart-interval": 3, +	}, +	"network": { +		"format-wifi": " ", +		"tooltip-format-wifi": "{ifname} {essid}", +		"format-ethernet": "", +		"tooltip-format-ethernet": "{ifname} {ipaddr}", +		"format-disconnected": "", +	}, +	"cpu": { +		"format": " {usage:2}%", +		"interval": 3, +	}, +	"custom/memory": { +		"exec": "free -h | awk '(NR==2){ print $3 }'", +		"format": "{}", +		"restart-interval": 3, +	}, +	"clock": { +		"format": "{:%R}", +		"format-alt": "{:(%T) %A %d %B}", +		"interval": 1, +	}, +	"custom/bluetooth": { +		"exec": "bluetoothctl info", +		"format": "", +		"interval": 3, +	}, +	"tray": { +		"spacing": 5, +	} +} diff --git a/config/wayland/waybar/style.css b/config/wayland/waybar/style.css index 76f49ff..3b7b7f6 120000..100644 --- a/config/wayland/waybar/style.css +++ b/config/wayland/waybar/style.css @@ -1 +1,142 @@ -styles/nord.css
\ No newline at end of file +/* + ******************************************** + *░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░* + *░░█▀█░█░░░█░█░█▀▀░░░█░█░█░░░▀█▀░█▀▄░█▀█░░* + *░░█▀▀░█░░░█░█░▀▀█░░░█░█░█░░░░█░░█▀▄░█▀█░░* + *░░▀░░░▀▀▀░▀▀▀░▀▀▀░░░▀▀▀░▀▀▀░░▀░░▀░▀░▀░▀░░* + *░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░* + ******************************************** + */ +/* https://github.com/jakehamilton/dotfiles */ +/* Amazing I love it :))) */ + +* { +	border: none; +	border-radius: 0; +	font-family: JetBrains Mono; +	font-weight: bold; +	font-size: 14px; +	min-height: 24px; +} + +window#waybar { +	background: transparent; +} + +window#waybar.hidden { +	opacity: 0.2; +} + +window#waybar.termite #window, +window#waybar.Firefox #window, +window#waybar.Navigator #window, +window#waybar.PCSX2 #window { +    color: #2e3440; +	background: #e6e6e6; +} + +#mpd, #battery, +#network, #pulseaudio, #temperature, #cpu, #custom-memory { +	margin-left: 8px; +	padding-left: 16px; +	padding-right: 16px; +} + +#workspaces, #mpd, #battery, +#network, #pulseaudio, #temperature, #cpu, #custom-memory, #workspaces, #clock, #tray { +	margin-top: 4px; +	margin-bottom: 2px; +	transition: none; +	border-radius: 6px; +} + +#battery { +	color: #b48ead; +	background: #4c566a; +} + +#workspaces { +	margin-left: 12px; +	background: #2e3440; +} + +#workspaces button { +	transition: none; +	color: #d8dee9; +	background: transparent; +	font-size: 16px; +} + +#workspaces button.active { +	color: #a3be8c; +    text-shadow: 0px 0px 1px #a3be8c; +} + +#workspaces button:hover { +	transition: none; +	color: #d08770; +} + +#mpd { +	color: #2e3440; +	background: #88c0d0; +} + +#mpd.disconnected, +#mpd.stopped { +	color: #d8dee9; +	background: #2e3440; +} + +#window { +	color: #88c0d0; +} + +#network { +	color: #2e3440; +	background: #5e81ac; +} + +#pulseaudio { +	color: #2e3440; +	background: #b48ead; +} + +#temperature { +	color: #2e3440; +	background: #d08770; +} + +#cpu { +	color: #2e3440; +	background: #ebcb8b; +} + +#custom-memory { +	color: #2e3440; +	background: #a3be8c; +} + +#clock { +	margin-left: 8px; +	margin-right: 12px; +	padding-left: 16px; +	padding-right: 16px; +	color: #d8dee9; +	background: #2e3440; +} + +#tray { +	margin-right: 12px; +	color: #d8dee9; +	background: transparent; +} + +#tray > .needs-attention { +    -gtk-icon-effect: highlight; +    background-color: #bf616a; +} + +#tray > .passive { +    -gtk-icon-effect: dim; +}  | 
