diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-17 23:15:47 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-17 23:15:47 +0200 |
commit | a3aca5cf6bc7e5c3d9623e48f4c57ea4745d62dd (patch) | |
tree | e6dab2a527f23818edcbea59487d4a5350c07209 /config/hyprland | |
parent | 08fe7f54c0daf00f49993eb74f56e1ce4d0be781 (diff) |
added dwl configuration
Diffstat (limited to 'config/hyprland')
-rw-r--r-- | config/hyprland/waybar/dwl.jsonc | 74 | ||||
-rw-r--r-- | config/hyprland/waybar/hyprland.jsonc (renamed from config/hyprland/waybar/config.jsonc) | 0 | ||||
-rw-r--r-- | config/hyprland/waybar/schemes/base16.css | 24 |
3 files changed, 92 insertions, 6 deletions
diff --git a/config/hyprland/waybar/dwl.jsonc b/config/hyprland/waybar/dwl.jsonc new file mode 100644 index 0000000..9d65564 --- /dev/null +++ b/config/hyprland/waybar/dwl.jsonc @@ -0,0 +1,74 @@ +{ + "layer": "top", + "modules-left": ["battery", "dwl/tags", "mpd"], + "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, + }, + "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/hyprland/waybar/config.jsonc b/config/hyprland/waybar/hyprland.jsonc index cd24d14..cd24d14 100644 --- a/config/hyprland/waybar/config.jsonc +++ b/config/hyprland/waybar/hyprland.jsonc diff --git a/config/hyprland/waybar/schemes/base16.css b/config/hyprland/waybar/schemes/base16.css index 61696d0..35737b4 100644 --- a/config/hyprland/waybar/schemes/base16.css +++ b/config/hyprland/waybar/schemes/base16.css @@ -54,7 +54,7 @@ window#waybar.PCSX2 #window { margin-left: 3px; } -#workspaces, #mpd, #battery, +#workspaces, #tags, #mpd, #battery, #clock, #custom-wireguard, #network, #pulseaudio, #temperature, #cpu, #custom-memory, #custom-bluetooth, #tray { border: solid @background; @@ -73,26 +73,38 @@ window#waybar.PCSX2 #window { margin-right: 16px; } -#workspaces { +#workspaces, #tags { border: solid @background 2px; background: @color3; } -#workspaces button { +#workspaces button, #tags button { transition: none; background: transparent; color: @background; } -#workspaces button.active { - text-shadow: 0px 1px 0px @color1; +#tags button.occupied { + background: @color2; } -#workspaces button:hover { +#workspaces button.active, #tags button.focused { + background-color: @color6; + border-bottom: 6px solid @color4; + +} + +#workspaces button:hover, #tags button:hover { transition: none; color: @color8; } +#tags button { + margin: 0; + padding-left: 5px; + padding-right: 5px; +} + #mpd { color: @background; padding: 0 16px; |