waybar: bare `waybar` now uses the niri config
Browse files at this commitef264af452f4b77896fde7b55b54b847c1b4478cParent: 6d78fe13 changed files +2 -223
- .config/hypr/hyprland.conf +1 -1
- .config/waybar/config +0 -222
- .config/waybar/config-hyprland +1 -0
.config/hypr/hyprland.confmodified+1 -1
| @@ -5,7 +5,7 @@ monitor = HDMI-A-1, 1920x1080@75, 2560x0, 1, bitdepth, 10 | |||
| 5 | exec-once = hyprpm reload -n | 5 | exec-once = hyprpm reload -n |
| 6 | exec-once = sleep 1 && /usr/libexec/polkit-mate-authentication-agent-1 | 6 | exec-once = sleep 1 && /usr/libexec/polkit-mate-authentication-agent-1 |
| 7 | exec-once = bash ~/.config/scripts/shared/song_detail_writer.sh | 7 | exec-once = bash ~/.config/scripts/shared/song_detail_writer.sh |
| 8 | -exec-once = sleep 1 && waybar | 8 | +exec-once = sleep 1 && waybar -c ~/.config/waybar/config-hyprland |
| 9 | exec-once = sleep 2 && nm-applet | 9 | exec-once = sleep 2 && nm-applet |
| 10 | exec-once = sleep 2 && blueman-applet | 10 | exec-once = sleep 2 && blueman-applet |
| 11 | exec-once = sleep 2 && kdeconnect-indicator | 11 | exec-once = sleep 2 && kdeconnect-indicator |
.config/waybar/configtype changed+0 -222
| @@ -1,222 +0,0 @@ | |||
| 1 | -{ | ||
| 2 | - "layer": "top", | ||
| 3 | - "position": "top", | ||
| 4 | - "height": 34, | ||
| 5 | - "spacing": 16, | ||
| 6 | - "modules-left": ["hyprland/workspaces", "custom/music"], | ||
| 7 | - "modules-center": ["clock"], | ||
| 8 | - "modules-right": ["privacy", "cpu", "memory", "wireplumber", "group/tray", "battery"], | ||
| 9 | - | ||
| 10 | - "cava": { | ||
| 11 | - "framerate": 30, | ||
| 12 | - "autosens": 1, | ||
| 13 | - "sensitivity": 100, | ||
| 14 | - "bars": 14, | ||
| 15 | - "lower_cutoff_freq": 50, | ||
| 16 | - "higher_cutoff_freq": 10000, | ||
| 17 | - "method": "pulse", | ||
| 18 | - "source": "auto", | ||
| 19 | - "stereo": true, | ||
| 20 | - "reverse": false, | ||
| 21 | - "bar_delimiter": 0, | ||
| 22 | - "monstercat": false, | ||
| 23 | - "waves": false, | ||
| 24 | - "noise_reduction": 0.77, | ||
| 25 | - "input_delay": 2, | ||
| 26 | - "format-icons" : ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" ], | ||
| 27 | - "actions": { | ||
| 28 | - "on-click-right": "mode" | ||
| 29 | - } | ||
| 30 | - }, | ||
| 31 | - | ||
| 32 | - "wlr/taskbar": { | ||
| 33 | - "format": "{icon}", | ||
| 34 | - "icon-size": 14, | ||
| 35 | - "icon-theme": "Numix-Circle", | ||
| 36 | - "tooltip-format": "{title}", | ||
| 37 | - "on-click": "activate", | ||
| 38 | - "on-click-middle": "close", | ||
| 39 | - "ignore-list": [ | ||
| 40 | - "Alacritty" | ||
| 41 | - ], | ||
| 42 | - "app_ids-mapping": { | ||
| 43 | - "firefoxdeveloperedition": "firefox-developer-edition" | ||
| 44 | - }, | ||
| 45 | - "rewrite": { | ||
| 46 | - "Firefox Web Browser": "Firefox", | ||
| 47 | - "Foot Server": "Terminal" | ||
| 48 | - } | ||
| 49 | - }, | ||
| 50 | - | ||
| 51 | - "pulseaudio/slider": { | ||
| 52 | - "min": 0, | ||
| 53 | - "max": 100, | ||
| 54 | - "orientation": "horizontal" | ||
| 55 | - }, | ||
| 56 | - | ||
| 57 | - "privacy": { | ||
| 58 | - "icon-spacing": 4, | ||
| 59 | - "icon-size": 18, | ||
| 60 | - "transition-duration": 250, | ||
| 61 | - "modules": [ | ||
| 62 | - { | ||
| 63 | - "type": "screenshare", | ||
| 64 | - "tooltip": true, | ||
| 65 | - "tooltip-icon-size": 24 | ||
| 66 | - }, | ||
| 67 | - { | ||
| 68 | - "type": "audio-out", | ||
| 69 | - "tooltip": true, | ||
| 70 | - "tooltip-icon-size": 24 | ||
| 71 | - }, | ||
| 72 | - { | ||
| 73 | - "type": "audio-in", | ||
| 74 | - "tooltip": true, | ||
| 75 | - "tooltip-icon-size": 24 | ||
| 76 | - } | ||
| 77 | - ] | ||
| 78 | - }, | ||
| 79 | - | ||
| 80 | - "custom/music": { | ||
| 81 | - "format": "{}", | ||
| 82 | - "exec": "tail -n 1 -F /tmp/song_detail_last 2>/dev/null", | ||
| 83 | - "on-click": "bash ~/.config/scripts/shared/playerctl-active.sh play-pause", | ||
| 84 | - "on-click-right": "bash ~/.config/scripts/shared/show_cover.sh", | ||
| 85 | - "on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+", | ||
| 86 | - "on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" | ||
| 87 | - }, | ||
| 88 | - | ||
| 89 | - "custom/usb": { | ||
| 90 | - "format": "{}", | ||
| 91 | - "exec": "bash ~/.config/scripts/system/usb_menu.sh waybar", | ||
| 92 | - "interval": 10, | ||
| 93 | - "return-type": "json", | ||
| 94 | - "tooltip": true, | ||
| 95 | - "on-click": "bash ~/.config/scripts/system/usb_menu.sh menu", | ||
| 96 | - "on-click-right": "bash ~/.config/scripts/system/usb_menu.sh replug-keyboard", | ||
| 97 | - "on-click-middle": "bash ~/.config/scripts/system/usb_menu.sh all-replug" | ||
| 98 | - }, | ||
| 99 | - | ||
| 100 | - "custom/power": { | ||
| 101 | - "format": "\uf011", | ||
| 102 | - "tooltip": true, | ||
| 103 | - "tooltip-format": "Power menu (Mod+Escape)", | ||
| 104 | - "on-click": "bash ~/.config/scripts/system/power_menu.sh" | ||
| 105 | - }, | ||
| 106 | - | ||
| 107 | - "custom/camera": { | ||
| 108 | - "format": "{text}", | ||
| 109 | - "exec": "bash ~/.config/scripts/waybar/camera_monitor.sh bar", | ||
| 110 | - "interval": 1, | ||
| 111 | - "return-type": "json", | ||
| 112 | - "tooltip": true | ||
| 113 | - }, | ||
| 114 | - | ||
| 115 | - "wireplumber": { | ||
| 116 | - "format": "{icon} {volume}% ", | ||
| 117 | - "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", | ||
| 118 | - "format-icons": ["", "", ""], | ||
| 119 | - "on-click-right": "pavucontrol", | ||
| 120 | - "format-muted": "\uf00d {volume}%" | ||
| 121 | - }, | ||
| 122 | - | ||
| 123 | - "hyprland/workspaces": { | ||
| 124 | - "format": "{icon}", | ||
| 125 | - "active-only": true | ||
| 126 | - }, | ||
| 127 | - "hyprland/window": { | ||
| 128 | - "format": "{title}" | ||
| 129 | - }, | ||
| 130 | - "idle_inhibitor": { | ||
| 131 | - "format": "{icon}", | ||
| 132 | - "format-icons": { | ||
| 133 | - "activated": "\uf06e", | ||
| 134 | - "deactivated": "\uf070" | ||
| 135 | - } | ||
| 136 | - }, | ||
| 137 | - "network": { | ||
| 138 | - "interface": "enp4s0f4u2u1c2", | ||
| 139 | - "format": "{ifname}", | ||
| 140 | - "format-wifi": "{essid} ({signalStrength}%) ", | ||
| 141 | - "format-ethernet": "{ifname} ", | ||
| 142 | - "format-disconnected": "", | ||
| 143 | - "tooltip-format": "{ifname}", | ||
| 144 | - "tooltip-format-wifi": "{essid} ({signalStrength}%) ", | ||
| 145 | - "tooltip-format-ethernet": "{ifname} ", | ||
| 146 | - "tooltip-format-disconnected": "Disconnected", | ||
| 147 | - "max-length": 50 | ||
| 148 | - }, | ||
| 149 | - "cpu": { | ||
| 150 | - "interval": 1, | ||
| 151 | - "format": "{usage}%" | ||
| 152 | - }, | ||
| 153 | - "memory": { | ||
| 154 | - "interval": 1, | ||
| 155 | - "format": "{used:0.1f}" | ||
| 156 | - }, | ||
| 157 | - | ||
| 158 | - "clock": { | ||
| 159 | - "interval" : 1, | ||
| 160 | - "format": "{:%H:%M:%S | %A, %B %d, %Y }", | ||
| 161 | - "format-alt": "{:%H:%M:%S}", | ||
| 162 | - "tooltip-format": "<tt><small>{calendar}</small></tt>", | ||
| 163 | - "on-click-right": "gnome-calendar", | ||
| 164 | - "calendar": { | ||
| 165 | - "format": { | ||
| 166 | - "months": "<span color='#ffead3'><b>{}</b></span>", | ||
| 167 | - "today": "<span color='#ff6699'><b>{}</b></span>" | ||
| 168 | - } | ||
| 169 | - } | ||
| 170 | - }, | ||
| 171 | - "pulseaudio": { | ||
| 172 | - "format": "{icon} {volume}%", | ||
| 173 | - "format-icons": { | ||
| 174 | - "default": ["\uf026", "\uf027", "\uf028"] | ||
| 175 | - }, | ||
| 176 | - "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle", | ||
| 177 | - "on-click-right": "pavucontrol", | ||
| 178 | - "format-muted": "\uf00d {volume}%" | ||
| 179 | - }, | ||
| 180 | - // Nested drawer: hovering the ☰ reveals the ⋯ (plus the tray icons); hovering | ||
| 181 | - // the ⋯ expands the USB and power menus. Nothing extra is claimed on the bar. | ||
| 182 | - "group/system": { | ||
| 183 | - "orientation": "horizontal", | ||
| 184 | - "drawer": { | ||
| 185 | - "transition-duration": 300, | ||
| 186 | - "transition-left-to-right": false | ||
| 187 | - }, | ||
| 188 | - "modules": [ | ||
| 189 | - "custom/system-toggle", | ||
| 190 | - "custom/usb", | ||
| 191 | - "custom/power" | ||
| 192 | - ] | ||
| 193 | - }, | ||
| 194 | - | ||
| 195 | - "custom/system-toggle": { | ||
| 196 | - "format": "\u22ef", | ||
| 197 | - "tooltip-format": "USB + power" | ||
| 198 | - }, | ||
| 199 | - | ||
| 200 | - "group/tray": { | ||
| 201 | - "orientation": "horizontal", | ||
| 202 | - "drawer": { | ||
| 203 | - "transition-duration": 300, | ||
| 204 | - "transition-left-to-right": false | ||
| 205 | - }, | ||
| 206 | - "modules": [ | ||
| 207 | - "custom/tray-toggle", | ||
| 208 | - "group/system", | ||
| 209 | - "tray" | ||
| 210 | - ] | ||
| 211 | - }, | ||
| 212 | - | ||
| 213 | - "custom/tray-toggle": { | ||
| 214 | - "format": "\uf0c9", | ||
| 215 | - "tooltip": false | ||
| 216 | - }, | ||
| 217 | - | ||
| 218 | - "tray": { | ||
| 219 | - "icon-size": 20, | ||
| 220 | - "spacing": 10 | ||
| 221 | - } | ||
| 222 | -} | ||
.config/waybar/config-hyprlandadded+1 -0
| @@ -0,0 +1 @@ | |||
| 1 | +config-niri | ||
| \ No newline at end of file | \ No newline at end of file | ||