🎨 ux(waybar): waybar layer is now bottom
This commit is contained in:
parent
5dcf4de59f
commit
cb9cf4a68c
1 changed files with 55 additions and 53 deletions
|
@ -1,9 +1,9 @@
|
|||
[
|
||||
{
|
||||
"height": 50,
|
||||
"layer": "top",
|
||||
"layer": "bottom",
|
||||
"output": "DP-1",
|
||||
"mod": "dock",
|
||||
"mode": "dock",
|
||||
"exclusive": true,
|
||||
"passtrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
|
@ -15,7 +15,7 @@
|
|||
"custom/arch",
|
||||
"hyprland/workspaces",
|
||||
"cava",
|
||||
"custom/wf-recorder",
|
||||
"custom/wf-recorder"
|
||||
],
|
||||
"modules-center": ["custom/music"],
|
||||
"modules-right": [
|
||||
|
@ -24,7 +24,7 @@
|
|||
"custom/weather",
|
||||
"clock",
|
||||
"pulseaudio",
|
||||
"custom/notifications",
|
||||
"custom/notifications"
|
||||
],
|
||||
"custom/wf-recorder": {
|
||||
"format": "{}",
|
||||
|
@ -33,25 +33,25 @@
|
|||
"tooltip": "false",
|
||||
"exec-if": "pgrep 'wf-recorder'",
|
||||
"on-click": "exec $HOME/.config/hypr/scripts/rofi/recording",
|
||||
"signal": 8,
|
||||
"signal": 8
|
||||
},
|
||||
"custom/updates": {
|
||||
"format": "{} {icon}",
|
||||
"return-type": "json",
|
||||
"format-icons": {
|
||||
"has-updates": "",
|
||||
"updated": "",
|
||||
"updated": ""
|
||||
},
|
||||
"exec-if": "which waybar-module-pacman-updates",
|
||||
"exec": "waybar-module-pacman-updates",
|
||||
"on-click": "kitty --class center-float-large topgrade -k --only system",
|
||||
"on-click-right": "kitty --class center-float-large topgrade -k --no-self-update",
|
||||
"on-click-right": "kitty --class center-float-large topgrade -k --no-self-update"
|
||||
},
|
||||
"custom/arch": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "sleep 0.1 && rofi -show drun",
|
||||
"on-click-right": "wleave",
|
||||
"on-click-right": "wleave"
|
||||
},
|
||||
"custom/weather": {
|
||||
"exec": "wttrbar --location Alicante",
|
||||
|
@ -61,7 +61,7 @@
|
|||
"return-type": "json",
|
||||
"on-click": "kitty --hold --class center-float wttr Alicante",
|
||||
"on-click-right": "kitty --hold --class center-float wttr -v2 Alicante",
|
||||
"on-click-middle": "xdg-open https://wttr.in/alicante",
|
||||
"on-click-middle": "xdg-open https://wttr.in/alicante"
|
||||
},
|
||||
"custom/notifications": {
|
||||
"tooltip": false,
|
||||
|
@ -74,14 +74,14 @@
|
|||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": "",
|
||||
"dnd-inhibited-none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true,
|
||||
"escape": true
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": true,
|
||||
|
@ -98,18 +98,18 @@
|
|||
"7": "",
|
||||
"8": "",
|
||||
"9": "",
|
||||
"10": "",
|
||||
"10": ""
|
||||
},
|
||||
"on-scroll-up": "hyprctl dispatch workspace r-1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace r+1",
|
||||
"on-click": "activate",
|
||||
"sort-by-number": true,
|
||||
"sort-by-number": true
|
||||
},
|
||||
"hyprland/language": {
|
||||
"format": "{}",
|
||||
"format-en": " US",
|
||||
"format-es": " ES",
|
||||
"on-click": "hyprctl switchxkblayout evision-usb-device next",
|
||||
"on-click": "hyprctl switchxkblayout evision-usb-device next"
|
||||
},
|
||||
"clock": {
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
|
@ -124,8 +124,8 @@
|
|||
"days": "<span color='#cad3f5'><b>{}</b></span>",
|
||||
"weeks": "<span color='#8aadf4'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#8bd5ca'><b>{}</b></span>",
|
||||
"today": "<span color='#ed8796'><b><u>{}</u></b></span>",
|
||||
},
|
||||
"today": "<span color='#ed8796'><b><u>{}</u></b></span>"
|
||||
}
|
||||
},
|
||||
"interval": 1,
|
||||
"format": "{:%H:%M:%OS} ",
|
||||
|
@ -135,9 +135,9 @@
|
|||
"on-click-forward": "tz_up",
|
||||
"on-click-backward": "tz_down",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down",
|
||||
"on-scroll-down": "shift_down"
|
||||
},
|
||||
"on-click-middle": "thunderbird -calendar && hyprctl dispatch workspace 23",
|
||||
"on-click-middle": "thunderbird -calendar && hyprctl dispatch workspace 23"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}% {format_source}",
|
||||
|
@ -153,14 +153,14 @@
|
|||
"phone": " ",
|
||||
"portable": " ",
|
||||
"car": " ",
|
||||
"default": [" ", " ", " "],
|
||||
"default": [" ", " ", " "]
|
||||
},
|
||||
"tooltip-format": "{desc}, {volume}%",
|
||||
"on-click": "swayosd-client --output-volume mute-toggle",
|
||||
"on-click-right": "swayosd-client --input-volume mute-toggle",
|
||||
"on-click-middle": "pypr toggle volume",
|
||||
"on-scroll-up": "swayosd-client --output-volume +1",
|
||||
"on-scroll-down": "swayosd-client --output-volume -1",
|
||||
"on-scroll-down": "swayosd-client --output-volume -1"
|
||||
},
|
||||
"cava": {
|
||||
"autosens": 1,
|
||||
|
@ -174,7 +174,7 @@
|
|||
"<span foreground='#89b4fa'>▅</span>",
|
||||
"<span foreground='#89b4fa'>▆</span>",
|
||||
"<span foreground='#89b4fa'>▇</span>",
|
||||
"<span foreground='#89b4fa'>█</span>",
|
||||
"<span foreground='#89b4fa'>█</span>"
|
||||
],
|
||||
"framerate": 75,
|
||||
"higher_cutoff_freq": 10000,
|
||||
|
@ -188,7 +188,7 @@
|
|||
"waves": false,
|
||||
"on-click": "kitty --class center-float-mini cava",
|
||||
"on-click-right": "qpwgraph",
|
||||
"on-click-middle": "easyeffects",
|
||||
"on-click-middle": "easyeffects"
|
||||
},
|
||||
"custom/music": {
|
||||
"format": "{icon} {}",
|
||||
|
@ -196,19 +196,20 @@
|
|||
"max-length": 100,
|
||||
"format-icons": {
|
||||
"spotify": " ",
|
||||
"default": " ",
|
||||
"default": " "
|
||||
},
|
||||
"escape": true,
|
||||
"exec": "$HOME/.config/waybar/scripts/mediaplayer.py 2> /dev/null",
|
||||
"on-click": "playerctl --player=spotify play-pause",
|
||||
"on-scroll-up": "playerctl --player=spotify next",
|
||||
"on-scroll-down": "playerctl --player=spotify previous",
|
||||
},
|
||||
"on-scroll-down": "playerctl --player=spotify previous"
|
||||
}
|
||||
},
|
||||
{
|
||||
"height": 50,
|
||||
"position": "bottom",
|
||||
"layer": "top",
|
||||
"layer": "bottom",
|
||||
"mode": "dock",
|
||||
"output": "DP-3",
|
||||
"exclusive": true,
|
||||
"passtrough": false,
|
||||
|
@ -224,7 +225,7 @@
|
|||
"temperature#cpu",
|
||||
"custom/gpu-usage",
|
||||
"temperature#gpu",
|
||||
"custom/notifications",
|
||||
"custom/notifications"
|
||||
],
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
|
@ -232,15 +233,15 @@
|
|||
"rewrite": {
|
||||
"(.*) — LibreWolf": " $1",
|
||||
"(.*) - Discord": " $1",
|
||||
"(.*) - fish": "> [$1]",
|
||||
"(.*) - fish": "> [$1]"
|
||||
},
|
||||
"separate-outputs": false,
|
||||
"separate-outputs": false
|
||||
},
|
||||
"custom/arch": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "sleep 0.1 && rofi -show drun",
|
||||
"on-click-right": "wleave",
|
||||
"on-click-right": "wleave"
|
||||
},
|
||||
"custom/notifications": {
|
||||
"tooltip": false,
|
||||
|
@ -253,14 +254,14 @@
|
|||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": "",
|
||||
"dnd-inhibited-none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true,
|
||||
"escape": true
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": true,
|
||||
|
@ -278,31 +279,31 @@
|
|||
"17": "",
|
||||
"18": "",
|
||||
"19": "",
|
||||
"20": "",
|
||||
"20": ""
|
||||
},
|
||||
"on-scroll-up": "hyprctl dispatch workspace r-1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace r+1",
|
||||
"on-click": "activate",
|
||||
"sort-by-number": true,
|
||||
"sort-by-number": true
|
||||
},
|
||||
"cpu": {
|
||||
"on-click": "kitty --class center-float-large btop",
|
||||
"format": "CPU: {usage}%",
|
||||
"tooltip": false,
|
||||
"interval": 2,
|
||||
"interval": 2
|
||||
},
|
||||
"custom/gpu-usage": {
|
||||
"exec": "cat /sys/class/hwmon/hwmon1/device/gpu_busy_percent",
|
||||
"on-click": "kitty --class center-float-large nvtop",
|
||||
"format": "GPU: {}%",
|
||||
"return-type": "",
|
||||
"interval": 2,
|
||||
"interval": 2
|
||||
},
|
||||
"memory": {
|
||||
"format": "{}% ",
|
||||
"on-click": "kitty --class center-float-large btop",
|
||||
"tooltip": true,
|
||||
"interval": 2,
|
||||
"interval": 2
|
||||
},
|
||||
"temperature#cpu": {
|
||||
"critical-threshold": 90,
|
||||
|
@ -312,7 +313,7 @@
|
|||
"format": "{icon} {temperatureC}°C",
|
||||
"format-icons": ["", "", ""],
|
||||
"tooltip": true,
|
||||
"interval": 2,
|
||||
"interval": 2
|
||||
},
|
||||
"temperature#gpu": {
|
||||
"critical-threshold": 80,
|
||||
|
@ -322,13 +323,14 @@
|
|||
"format": "{icon} {temperatureC}°C",
|
||||
"format-icons": ["", "", ""],
|
||||
"tooltip": true,
|
||||
"interval": 2,
|
||||
},
|
||||
"interval": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"height": 50,
|
||||
"layer": "top",
|
||||
"layer": "bottom",
|
||||
"output": "HDMI-A-1",
|
||||
"mode": "dock",
|
||||
"exclusive": true,
|
||||
"passtrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
|
@ -343,7 +345,7 @@
|
|||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "sleep 0.1 && rofi -show drun",
|
||||
"on-click-right": "wleave",
|
||||
"on-click-right": "wleave"
|
||||
},
|
||||
"custom/notifications": {
|
||||
"tooltip": false,
|
||||
|
@ -356,14 +358,14 @@
|
|||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": "",
|
||||
"dnd-inhibited-none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true,
|
||||
"escape": true
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": true,
|
||||
|
@ -380,15 +382,15 @@
|
|||
"27": "",
|
||||
"28": "",
|
||||
"29": "",
|
||||
"30": "",
|
||||
"30": ""
|
||||
},
|
||||
"on-scroll-up": "hyprctl dispatch workspace r-1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace r+1",
|
||||
"on-click": "activate",
|
||||
"sort-by-number": true,
|
||||
"sort-by-number": true
|
||||
},
|
||||
"tray": {
|
||||
"spacing": 10,
|
||||
"spacing": 10
|
||||
},
|
||||
"clock#cl2": {
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
|
@ -403,8 +405,8 @@
|
|||
"days": "<span color='#cad3f5'><b>{}</b></span>",
|
||||
"weeks": "<span color='#8aadf4'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#8bd5ca'><b>{}</b></span>",
|
||||
"today": "<span color='#ed8796'><b><u>{}</u></b></span>",
|
||||
},
|
||||
"today": "<span color='#ed8796'><b><u>{}</u></b></span>"
|
||||
}
|
||||
},
|
||||
"format": "{:%H:%M - %A, %B %d, %Y }",
|
||||
"actions": {
|
||||
|
@ -412,9 +414,9 @@
|
|||
"on-click-forward": "tz_up",
|
||||
"on-click-backward": "tz_down",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down",
|
||||
},
|
||||
"on-click-middle": "thunderbird -calendar && hyprctl dispatch workspace 23",
|
||||
},
|
||||
"on-scroll-down": "shift_down"
|
||||
},
|
||||
"on-click-middle": "thunderbird -calendar && hyprctl dispatch workspace 23"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue