From 1f6c2afa699a7c30be8b538c4fa9dc32c61b3dd4 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Tue, 7 Nov 2023 01:25:37 +0100 Subject: removed symlinks --- config/wayland/waybar/style.css | 143 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 142 insertions(+), 1 deletion(-) mode change 120000 => 100644 config/wayland/waybar/style.css (limited to 'config/wayland/waybar/style.css') diff --git a/config/wayland/waybar/style.css b/config/wayland/waybar/style.css deleted file mode 120000 index 76f49ff..0000000 --- a/config/wayland/waybar/style.css +++ /dev/null @@ -1 +0,0 @@ -styles/nord.css \ No newline at end of file diff --git a/config/wayland/waybar/style.css b/config/wayland/waybar/style.css new file mode 100644 index 0000000..3b7b7f6 --- /dev/null +++ b/config/wayland/waybar/style.css @@ -0,0 +1,142 @@ +/* + ******************************************** + *░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░* + *░░█▀█░█░░░█░█░█▀▀░░░█░█░█░░░▀█▀░█▀▄░█▀█░░* + *░░█▀▀░█░░░█░█░▀▀█░░░█░█░█░░░░█░░█▀▄░█▀█░░* + *░░▀░░░▀▀▀░▀▀▀░▀▀▀░░░▀▀▀░▀▀▀░░▀░░▀░▀░▀░▀░░* + *░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░* + ******************************************** + */ +/* 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; +} -- cgit v1.2.3 From c637bf905bdaa5b3310f1eb293f40d785164fc3c Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 26 Nov 2023 12:51:13 +0100 Subject: changed waybar theme to dwm --- config/wayland/waybar/config.jsonc | 82 +++------------------- config/wayland/waybar/status.sh | 2 + config/wayland/waybar/style.css | 138 +++---------------------------------- 3 files changed, 20 insertions(+), 202 deletions(-) create mode 100755 config/wayland/waybar/status.sh (limited to 'config/wayland/waybar/style.css') diff --git a/config/wayland/waybar/config.jsonc b/config/wayland/waybar/config.jsonc index 9d60915..aa93297 100644 --- a/config/wayland/waybar/config.jsonc +++ b/config/wayland/waybar/config.jsonc @@ -1,78 +1,16 @@ { - "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, - }, + "modules-left": ["hyprland/workspaces", "custom/layout", "hyprland/window"], + "modules-right": ["custom/status"], "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, + "format": " {} " }, - "custom/bluetooth": { - "exec": "bluetoothctl info", - "format": "", - "interval": 3, + "custom/layout": { + "format": " []= ", + "interval": "once", }, - "tray": { - "spacing": 5, + "custom/status": { + "exec": "~/.config/waybar/status.sh", + "format": " {} ", + "interval": 1 } } diff --git a/config/wayland/waybar/status.sh b/config/wayland/waybar/status.sh new file mode 100755 index 0000000..6d5bd66 --- /dev/null +++ b/config/wayland/waybar/status.sh @@ -0,0 +1,2 @@ +#!/bin/sh +printf '%s' "$(date '+%-d %b %R')" diff --git a/config/wayland/waybar/style.css b/config/wayland/waybar/style.css index 3b7b7f6..31eacf0 100644 --- a/config/wayland/waybar/style.css +++ b/config/wayland/waybar/style.css @@ -1,142 +1,20 @@ -/* - ******************************************** - *░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░* - *░░█▀█░█░░░█░█░█▀▀░░░█░█░█░░░▀█▀░█▀▄░█▀█░░* - *░░█▀▀░█░░░█░█░▀▀█░░░█░█░█░░░░█░░█▀▄░█▀█░░* - *░░▀░░░▀▀▀░▀▀▀░▀▀▀░░░▀▀▀░▀▀▀░░▀░░▀░▀░▀░▀░░* - *░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░* - ******************************************** - */ -/* https://github.com/jakehamilton/dotfiles */ -/* Amazing I love it :))) */ - * { border: none; border-radius: 0; - font-family: JetBrains Mono; - font-weight: bold; + font-family: monospace; 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; + min-height: 16px; } -#battery { - color: #b48ead; - background: #4c566a; +window#waybar, #workspaces button.active { + background-color: #4c566a; } -#workspaces { - margin-left: 12px; - background: #2e3440; +#workspaces button, #custom-layout, #custom-status { + background-color: #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; + padding: 0 2px; + margin: 0; } -- cgit v1.2.3