diff options
Diffstat (limited to 'home-config/waybar')
| -rw-r--r-- | home-config/waybar/config | 24 | ||||
| -rw-r--r-- | home-config/waybar/style.css | 2 |
2 files changed, 19 insertions, 7 deletions
diff --git a/home-config/waybar/config b/home-config/waybar/config index 9d4b88f..677c60c 100644 --- a/home-config/waybar/config +++ b/home-config/waybar/config | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | { | 1 | { |
| 2 | "layer": "bottom", | 2 | "layer": "top", |
| 3 | "position": "top", | 3 | "position": "top", |
| 4 | "height": 30, | 4 | "height": 30, |
| 5 | 5 | ||
| 6 | "modules-left": ["wlr/workspaces", "hyprland/submap"], | 6 | "modules-left": ["wlr/workspaces", "hyprland/submap"], |
| 7 | "modules-center": ["hyprland/window"], | 7 | "modules-center": ["hyprland/window"], |
| 8 | "modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"], | 8 | "modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "bluetooth", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"], |
| 9 | "hyprland/submap": { | 9 | "hyprland/submap": { |
| 10 | "format": " {}" | 10 | "format": " {}" |
| 11 | }, | 11 | }, |
| @@ -15,7 +15,8 @@ | |||
| 15 | }, | 15 | }, |
| 16 | "hyprland/window": { | 16 | "hyprland/window": { |
| 17 | "max-length": 80, | 17 | "max-length": 80, |
| 18 | "tooltip": false | 18 | "tooltip": false, |
| 19 | "separate-outputs": true | ||
| 19 | }, | 20 | }, |
| 20 | "clock": { | 21 | "clock": { |
| 21 | "format": "{:%a %d %b %H:%M}", | 22 | "format": "{:%a %d %b %H:%M}", |
| @@ -34,14 +35,25 @@ | |||
| 34 | "tooltip": false, | 35 | "tooltip": false, |
| 35 | "bat":"BAT1" | 36 | "bat":"BAT1" |
| 36 | }, | 37 | }, |
| 38 | "bluetooth": { | ||
| 39 | "format": "", | ||
| 40 | "format-disabled": "", | ||
| 41 | "format-connected": "", | ||
| 42 | "format-connected-battery": " {device_battery_percentage}%", | ||
| 43 | "on-click": "blueman-manager", | ||
| 44 | "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", | ||
| 45 | "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", | ||
| 46 | "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}", | ||
| 47 | "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%" | ||
| 48 | }, | ||
| 37 | "network": { | 49 | "network": { |
| 38 | "format-alt": "{icon}", | 50 | "format-alt": "{ipaddr}/{cidr} {icon} {bandwidthTotalBytes}", |
| 39 | "format": "{ipaddr}/{cidr} {icon}", | 51 | "format": "{ipaddr}/{cidr} {icon}", |
| 40 | "format-alt-click": "click-right", | 52 | "format-alt-click": "click-right", |
| 41 | "format-icons": { | 53 | "format-icons": { |
| 42 | "wifi": ["", "" ,""], | 54 | "wifi": ["", "" ,"", ""], |
| 43 | "ethernet": [""], | 55 | "ethernet": [""], |
| 44 | "disconnected": ["睊"] | 56 | "disconnected": [""] |
| 45 | }, | 57 | }, |
| 46 | "on-click": "alacritty -e doas nmtui", | 58 | "on-click": "alacritty -e doas nmtui", |
| 47 | "tooltip": false | 59 | "tooltip": false |
diff --git a/home-config/waybar/style.css b/home-config/waybar/style.css index cf776ad..0e98fc6 100644 --- a/home-config/waybar/style.css +++ b/home-config/waybar/style.css | |||
| @@ -46,7 +46,7 @@ window#waybar.solo { | |||
| 46 | color: rgba(238, 46, 36, 1); | 46 | color: rgba(238, 46, 36, 1); |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | #mode, #battery, #cpu, #memory, #network, #pulseaudio, #idle_inhibitor, #backlight, #custom-storage, #custom-spotify, #custom-weather, #custom-mail { | 49 | #mode, #battery, #cpu, #memory, #network, #bluetooth, #pulseaudio, #idle_inhibitor, #backlight, #custom-storage, #custom-spotify, #custom-weather, #custom-mail { |
| 50 | margin: 0px 6px 0px 10px; | 50 | margin: 0px 6px 0px 10px; |
| 51 | min-width: 25px; | 51 | min-width: 25px; |
| 52 | } | 52 | } |
