updated waybar + hypr rules
This commit is contained in:
@@ -104,3 +104,8 @@ ipc_socket = true
|
|||||||
|
|
||||||
## Import additional configuration files.
|
## Import additional configuration files.
|
||||||
import = ["~/.config/alacritty/colors.toml", "~/.config/alacritty/fonts.toml"]
|
import = ["~/.config/alacritty/colors.toml", "~/.config/alacritty/fonts.toml"]
|
||||||
|
|
||||||
|
[[keyboard.bindings]]
|
||||||
|
key = "Return"
|
||||||
|
mods = "Shift"
|
||||||
|
chars = "\u001B\r"
|
||||||
|
|||||||
+19
-4
@@ -1,13 +1,28 @@
|
|||||||
include=~/.config/fuzzel/catppuccin-fuzzel/themes/catppuccin-mocha/red.ini
|
include=~/.config/fuzzel/catppuccin-fuzzel/themes/catppuccin-mocha/red.ini
|
||||||
|
include=~/.config/fuzzel/catppuccin-fuzzel/themes/catppuccin-mocha/red.ini
|
||||||
|
|
||||||
[main]
|
[main]
|
||||||
font=FiraCode Nerd Font:size=14
|
font=FiraCode Nerd Font:size=14
|
||||||
terminal=alacritty
|
terminal=alacritty
|
||||||
dpi-aware=no
|
dpi-aware=no
|
||||||
prompt="> "
|
|
||||||
icon-theme=Papirus-Dark
|
width=45
|
||||||
show-actions=yes
|
lines=8
|
||||||
|
horizontal-pad=20
|
||||||
|
vertical-pad=20
|
||||||
|
inner-pad=10
|
||||||
|
|
||||||
|
prompt=" "
|
||||||
|
|
||||||
|
show-actions=no
|
||||||
|
layer=overlay
|
||||||
|
|
||||||
[border]
|
[border]
|
||||||
radius=4
|
radius=12
|
||||||
width=2
|
width=2
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
background=1e1e2e80
|
||||||
|
# Matches the background so the counter becomes invisible for a cleaner look
|
||||||
|
counter=1e1e2eff
|
||||||
|
border=f38ba8ff
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
wallpaper {
|
wallpaper {
|
||||||
monitor =
|
monitor =
|
||||||
path = ~/Pictures/mandelbrot.png
|
path = ~/Pictures/reze/reze.png
|
||||||
fit_mode = fill
|
fit_mode = cover
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ general {
|
|||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||||
# col.active_border = rgba(cba6f7ee) rgba(f38ba8ee) 45deg
|
# col.active_border = rgba(cba6f7ee) rgba(f38ba8ee) 45deg
|
||||||
col.active_border = rgb($mauveAlpha) rgb($blueAlpha) 30deg
|
col.active_border = $red $blue 30deg
|
||||||
col.inactive_border = rgb($surface2Alpha)
|
col.inactive_border = rgb($surface2Alpha)
|
||||||
|
|
||||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||||
@@ -27,8 +27,8 @@ general {
|
|||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||||
decoration {
|
decoration {
|
||||||
rounding = 4
|
rounding = 12
|
||||||
rounding_power = 1
|
rounding_power = 3
|
||||||
|
|
||||||
# Change transparency of focused and unfocused windows
|
# Change transparency of focused and unfocused windows
|
||||||
active_opacity = 1.0
|
active_opacity = 1.0
|
||||||
|
|||||||
@@ -75,3 +75,15 @@ windowrule = no_blur 1, match:class $steam, match:title negative:^(Steam)$
|
|||||||
|
|
||||||
# Allow tearing for games started with Gamescope
|
# Allow tearing for games started with Gamescope
|
||||||
windowrule = immediate 1, match:class $gamescope
|
windowrule = immediate 1, match:class $gamescope
|
||||||
|
|
||||||
|
|
||||||
|
# Layer rules
|
||||||
|
|
||||||
|
# waybar blur
|
||||||
|
layerrule = blur on, match:namespace bottom
|
||||||
|
layerrule = blur on, match:namespace top
|
||||||
|
layerrule = ignore_alpha 0.5, match:namespace bottom
|
||||||
|
layerrule = ignore_alpha 0.5, match:namespace top
|
||||||
|
# launcher blur
|
||||||
|
layerrule = blur on, match:namespace launcher
|
||||||
|
layerrule = ignore_alpha 0.5, match:namespace launcher
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ x-scheme-handler/unknown=google-chrome.desktop
|
|||||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop
|
||||||
x-scheme-handler/ror2mm=r2modman.desktop
|
x-scheme-handler/ror2mm=r2modman.desktop
|
||||||
image/webp=feh.desktop
|
image/webp=feh.desktop
|
||||||
|
x-scheme-handler/claude-cli=claude-code-url-handler.desktop
|
||||||
|
|
||||||
[Added Associations]
|
[Added Associations]
|
||||||
application/pdf=org.pwmt.zathura-pdf-poppler.desktop;
|
application/pdf=org.pwmt.zathura-pdf-poppler.desktop;
|
||||||
|
|||||||
+29
-22
@@ -45,7 +45,7 @@
|
|||||||
"custom/gamemode": {
|
"custom/gamemode": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs game",
|
"exec": "fluxo-rs game",
|
||||||
"on-click": "~/.config/hypr/scripts/gamemode.sh & disown",
|
"on-click": "~/.config/hypr/scripts/gamemode.sh & disown",
|
||||||
"interval": 1
|
"interval": 1
|
||||||
},
|
},
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
"custom/power_status": {
|
"custom/power_status": {
|
||||||
"format": "{} ",
|
"format": "{} ",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs power",
|
"exec": "fluxo-rs power",
|
||||||
"on-click": "~/.config/hypr/scripts/powermenu.sh & disown",
|
"on-click": "~/.config/hypr/scripts/powermenu.sh & disown",
|
||||||
"interval": 5
|
"interval": 5
|
||||||
}
|
}
|
||||||
@@ -71,11 +71,18 @@
|
|||||||
|
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"custom/sys",
|
"custom/sys",
|
||||||
"custom/cpu",
|
"group/hardware", // Replaced individual modules with a group
|
||||||
"custom/mem",
|
|
||||||
"custom/network",
|
|
||||||
"custom/disk-root"
|
"custom/disk-root"
|
||||||
],
|
],
|
||||||
|
// Add the group definition anywhere in the bottom bar block:
|
||||||
|
"group/hardware": {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"modules": [
|
||||||
|
"custom/cpu",
|
||||||
|
"custom/mem",
|
||||||
|
"custom/network"
|
||||||
|
]
|
||||||
|
},
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
@@ -88,26 +95,26 @@
|
|||||||
"custom/sys": {
|
"custom/sys": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs sys",
|
"exec": "fluxo-rs sys",
|
||||||
"interval": 5
|
"interval": 5
|
||||||
},
|
},
|
||||||
"custom/cpu": {
|
"custom/cpu": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs cpu",
|
"exec": "fluxo-rs cpu",
|
||||||
"on-click": "zenmonitor & disown",
|
"on-click": "zenmonitor & disown",
|
||||||
"interval": 3
|
"interval": 3
|
||||||
},
|
},
|
||||||
"custom/mem": {
|
"custom/mem": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs mem",
|
"exec": "fluxo-rs mem",
|
||||||
"interval": 3
|
"interval": 3
|
||||||
},
|
},
|
||||||
"custom/network": {
|
"custom/network": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs net",
|
"exec": "fluxo-rs net",
|
||||||
"interval": 2
|
"interval": 2
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -115,7 +122,7 @@
|
|||||||
"custom/disk-root": {
|
"custom/disk-root": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs disk /",
|
"exec": "fluxo-rs disk /",
|
||||||
"interval": 30
|
"interval": 30
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -123,31 +130,31 @@
|
|||||||
"custom/volume": {
|
"custom/volume": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs vol",
|
"exec": "fluxo-rs vol",
|
||||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||||
"on-scroll-up": "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+",
|
"on-scroll-up": "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+",
|
||||||
"on-scroll-down": "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-",
|
"on-scroll-down": "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-",
|
||||||
"on-click-right": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs vol --cycle",
|
"on-click-right": "fluxo-rs vol --cycle",
|
||||||
"on-click-middle": "pavucontrol",
|
"on-click-middle": "pavucontrol",
|
||||||
"interval": 1
|
"interval": 1
|
||||||
},
|
},
|
||||||
"custom/mic": {
|
"custom/mic": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs mic",
|
"exec": "fluxo-rs mic",
|
||||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
|
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
|
||||||
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%+",
|
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%+",
|
||||||
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%-",
|
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%-",
|
||||||
"on-click-right": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs mic --cycle",
|
"on-click-right": "fluxo-rs mic --cycle",
|
||||||
"on-click-middle": "pavucontrol",
|
"on-click-middle": "pavucontrol",
|
||||||
"interval": 1
|
"interval": 1
|
||||||
},
|
},
|
||||||
"custom/bluetooth-audio": {
|
"custom/bluetooth-audio": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs bt",
|
"exec": "fluxo-rs bt",
|
||||||
"on-click": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs bt menu",
|
"on-click": "fluxo-rs bt menu",
|
||||||
"on-click-right": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs bt disconnect",
|
"on-click-right": "fluxo-rs bt disconnect",
|
||||||
"interval": 3
|
"interval": 3
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -156,22 +163,22 @@
|
|||||||
"custom/gpu": {
|
"custom/gpu": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs gpu",
|
"exec": "fluxo-rs gpu",
|
||||||
"on-click": "lact gui & disown",
|
"on-click": "lact gui & disown",
|
||||||
"interval": 3
|
"interval": 3
|
||||||
},
|
},
|
||||||
"custom/btrfs": {
|
"custom/btrfs": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs pool",
|
"exec": "fluxo-rs pool",
|
||||||
"interval": 30
|
"interval": 30
|
||||||
},
|
},
|
||||||
"custom/pixelbuds_pro": {
|
"custom/pixelbuds_pro": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs buds",
|
"exec": "fluxo-rs buds",
|
||||||
"on-click": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs buds connect & disown",
|
"on-click": "fluxo-rs buds connect & disown",
|
||||||
"on-click-right": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs buds cycle_anc & disown",
|
"on-click-right": "fluxo-rs buds cycle_anc & disown",
|
||||||
"interval": 5
|
"interval": 5
|
||||||
},
|
},
|
||||||
"custom/gpu-screen-recorder": {
|
"custom/gpu-screen-recorder": {
|
||||||
|
|||||||
@@ -1,202 +0,0 @@
|
|||||||
// ~/.config/waybar/config.jsonc
|
|
||||||
{
|
|
||||||
"layer": "top",
|
|
||||||
"position": "top",
|
|
||||||
"height": 36,
|
|
||||||
"modules-left": [
|
|
||||||
"hyprland/workspaces"
|
|
||||||
],
|
|
||||||
"modules-center": [
|
|
||||||
],
|
|
||||||
"modules-right": [
|
|
||||||
// "custom/bluetooth-audio",
|
|
||||||
// "custom/pixelbuds_pro",
|
|
||||||
"custom/mem",
|
|
||||||
"custom/cpu",
|
|
||||||
"custom/gpu",
|
|
||||||
"custom/disk-root",
|
|
||||||
"custom/disk-gdrive",
|
|
||||||
"custom/disk-data",
|
|
||||||
"custom/disk-games",
|
|
||||||
// "network",
|
|
||||||
"custom/audio-output",
|
|
||||||
"wireplumber",
|
|
||||||
"tray",
|
|
||||||
"custom/gpu-screen-recorder",
|
|
||||||
"custom/gamemode",
|
|
||||||
"clock"
|
|
||||||
],
|
|
||||||
"hyprland/workspaces": {
|
|
||||||
"format": "{icon}",
|
|
||||||
"on-click": "activate"
|
|
||||||
},
|
|
||||||
"hyprland/window": {
|
|
||||||
"format": "{}",
|
|
||||||
"max-length": 35
|
|
||||||
},
|
|
||||||
"clock": {
|
|
||||||
"format": "{:%a %d %b %H:%M}",
|
|
||||||
"format-alt": false,
|
|
||||||
"on-click-right": "xdg-open https://calendar.proton.me/u/0/month &> /dev/null & disown",
|
|
||||||
"tooltip": false,
|
|
||||||
},
|
|
||||||
"cpu": {
|
|
||||||
"format": "CPU: {usage}%",
|
|
||||||
"tooltip": true,
|
|
||||||
"interval": 1
|
|
||||||
},
|
|
||||||
"memory": {
|
|
||||||
"format": "MEM: {used}/{total}GB",
|
|
||||||
"interval": 3
|
|
||||||
},
|
|
||||||
"network": {
|
|
||||||
"format-wifi": "{essid} ({signalStrength}%): {ipaddr}",
|
|
||||||
"format-ethernet": "{ifname}: {ipaddr}",
|
|
||||||
"format-disconnected": "Disconnected",
|
|
||||||
"tooltip-format": "{ifname} via {gwaddr}"
|
|
||||||
},
|
|
||||||
"wireplumber": {
|
|
||||||
"format": "{volume}% {icon}",
|
|
||||||
"format-muted": "--- ",
|
|
||||||
"format-icons": {
|
|
||||||
"headphone": "",
|
|
||||||
"hands-free": "",
|
|
||||||
"default": ["", "", ""]
|
|
||||||
},
|
|
||||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
|
||||||
"on-click-right": "~/.config/waybar/scripts/audio.sh cycle",
|
|
||||||
"on-click-middle": "pavucontrol",
|
|
||||||
"scroll-step": 1
|
|
||||||
},
|
|
||||||
|
|
||||||
"custom/bluetooth-audio": {
|
|
||||||
"format": "{}",
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "~/.config/waybar/scripts/bluetooth_audio.sh",
|
|
||||||
"interval": 3,
|
|
||||||
"on-click": "~/.config/waybar/scripts/bluetooth_audio.sh disconnect & disown"
|
|
||||||
},
|
|
||||||
|
|
||||||
"pulseaudio": {
|
|
||||||
"format": "{icon} {volume}%",
|
|
||||||
"format-muted": " Muted",
|
|
||||||
"format-icons": {
|
|
||||||
"headphone": "",
|
|
||||||
"hands-free": "",
|
|
||||||
"headset": "",
|
|
||||||
"phone": "",
|
|
||||||
"portable": "",
|
|
||||||
"car": "",
|
|
||||||
"default": ["", ""]
|
|
||||||
},
|
|
||||||
"on-click": "pavucontrol & disown"
|
|
||||||
},
|
|
||||||
"tray": {
|
|
||||||
"icon-size": 18,
|
|
||||||
"spacing": 10
|
|
||||||
},
|
|
||||||
"custom/power": {
|
|
||||||
"format": "",
|
|
||||||
"tooltip": false,
|
|
||||||
"on-click": "~/.config/hypr/scripts/powermenu.sh & disown"
|
|
||||||
},
|
|
||||||
"custom/tlp": {
|
|
||||||
"format": "{}",
|
|
||||||
"exec": "~/.config/waybar/scripts/tlp-profile.sh",
|
|
||||||
"return-type": "json",
|
|
||||||
"interval": 5
|
|
||||||
},
|
|
||||||
"battery": {
|
|
||||||
"states": {
|
|
||||||
"warning": 30,
|
|
||||||
"critical": 15
|
|
||||||
},
|
|
||||||
"format": "{capacity}%",
|
|
||||||
"format-charging": "{capacity}%",
|
|
||||||
"format-plugged": "{capacity}%",
|
|
||||||
"format-alt": "{time} {icon}",
|
|
||||||
"format-full": "{capacity}%",
|
|
||||||
"format-icons": ["", "", "", "", ""]
|
|
||||||
},
|
|
||||||
"custom/pixelbuds_pro": {
|
|
||||||
"format": "{}",
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "~/.config/waybar/scripts/pixelbuds_pro_control.sh",
|
|
||||||
"interval": 5,
|
|
||||||
"on-click": "~/.config/waybar/scripts/pixelbuds_pro_control.sh connect & disown",
|
|
||||||
"on-click-right": "~/.config/waybar/scripts/pixelbuds_pro_control.sh cycle_anc & disown"
|
|
||||||
},
|
|
||||||
"custom/audio-output": {
|
|
||||||
"format": "{}",
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "/home/narl/.config/waybar/scripts/audio.sh show",
|
|
||||||
"on-click": "/home/narl/.config/waybar/scripts/audio.sh cycle & disown",
|
|
||||||
"interval": 1
|
|
||||||
},
|
|
||||||
"custom/gamemode": {
|
|
||||||
"format": "{}",
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "~/.config/waybar/scripts/gamemode_status.sh",
|
|
||||||
"on-click": "~/.config/hypr/scripts/gamemode.sh & disown",
|
|
||||||
"interval": 1
|
|
||||||
},
|
|
||||||
"custom/gpu-screen-recorder": {
|
|
||||||
"format": "{}",
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "~/.config/waybar/scripts/gpu-screen-recorder-status.sh",
|
|
||||||
"on-click-right": "~/.config/hypr/scripts/replay-ctrl.sh save & disown",
|
|
||||||
"on-click-middle": "nautilus ~/Videos/replay & disown",
|
|
||||||
"on-click": "~/.config/waybar/scripts/toggle-replay.sh & disown",
|
|
||||||
"interval": 1
|
|
||||||
},
|
|
||||||
"custom/gpu": {
|
|
||||||
"format": "{}",
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "~/.config/waybar/scripts/gpu_info.sh",
|
|
||||||
"on-click": "lact gui & disown",
|
|
||||||
"interval": 3
|
|
||||||
},
|
|
||||||
"custom/cpu": {
|
|
||||||
"format": "{}",
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "~/.config/waybar/scripts/cpu_info.sh",
|
|
||||||
"on-click": "zenmonitor & disown",
|
|
||||||
"interval": 3
|
|
||||||
},
|
|
||||||
"custom/mem": {
|
|
||||||
"format": "{}",
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "~/.config/waybar/scripts/memory.sh",
|
|
||||||
"interval": 3
|
|
||||||
},
|
|
||||||
"custom/btrfs": {
|
|
||||||
"format": "{}",
|
|
||||||
"exec": "~/.config/waybar/scripts/btrfs.sh",
|
|
||||||
"return-type": "json",
|
|
||||||
"interval": 30
|
|
||||||
},
|
|
||||||
"custom/disk-root": {
|
|
||||||
"format": "{}",
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "~/.config/waybar/scripts/disk_info.sh /",
|
|
||||||
"interval": 30
|
|
||||||
},
|
|
||||||
"custom/disk-gdrive": {
|
|
||||||
"format": "{}",
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "~/.config/waybar/scripts/disk_info.sh ~/gdrive",
|
|
||||||
"interval": 30
|
|
||||||
},
|
|
||||||
"custom/disk-data": {
|
|
||||||
"format": "{}",
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "~/.config/waybar/scripts/disk_info.sh ~/data",
|
|
||||||
"interval": 30
|
|
||||||
},
|
|
||||||
"custom/disk-games": {
|
|
||||||
"format": "{}",
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "~/.config/waybar/scripts/disk_info.sh ~/games",
|
|
||||||
"interval": 30
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+89
-91
@@ -4,13 +4,11 @@
|
|||||||
/* --- Global Reset --- */
|
/* --- Global Reset --- */
|
||||||
* {
|
* {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 12px;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
font-family:
|
font-family: JetBrainsMono Nerd Font, sans-serif;
|
||||||
JetBrainsMono Nerd Font,
|
font-size: 12px;
|
||||||
monospace;
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
||||||
font-size: 13px;
|
|
||||||
transition: all 0.2s ease;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Bar Background (Floating Island Style) --- */
|
/* --- Bar Background (Floating Island Style) --- */
|
||||||
@@ -19,32 +17,6 @@ window#waybar {
|
|||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Shared Island Styling --- */
|
|
||||||
#workspaces,
|
|
||||||
#window,
|
|
||||||
#clock,
|
|
||||||
#tray,
|
|
||||||
#custom-sys,
|
|
||||||
#custom-cpu,
|
|
||||||
#custom-gpu,
|
|
||||||
#custom-mem,
|
|
||||||
#custom-network,
|
|
||||||
#custom-btrfs,
|
|
||||||
#custom-disk-root,
|
|
||||||
#custom-pixelbuds_pro,
|
|
||||||
#custom-bluetooth-audio,
|
|
||||||
#custom-volume,
|
|
||||||
#custom-mic,
|
|
||||||
#custom-gamemode,
|
|
||||||
#custom-gpu-screen-recorder,
|
|
||||||
#custom-power_status {
|
|
||||||
background-color: alpha(@surface0, 0.95);
|
|
||||||
margin: 4px 2px;
|
|
||||||
padding: 0 12px;
|
|
||||||
border-radius: 5px;
|
|
||||||
border: 1px solid alpha(@surface1, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* --- Top Bar Special Handling --- */
|
/* --- Top Bar Special Handling --- */
|
||||||
window#waybar.top {
|
window#waybar.top {
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
@@ -55,33 +27,65 @@ window#waybar.bottom {
|
|||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --- Shared Island Styling --- */
|
||||||
|
#workspaces,
|
||||||
|
#window,
|
||||||
|
#tray,
|
||||||
|
#custom-sys,
|
||||||
|
#hardware,
|
||||||
|
#custom-disk-root,
|
||||||
|
#custom-bluetooth-audio,
|
||||||
|
#custom-volume,
|
||||||
|
#custom-mic,
|
||||||
|
#custom-gamemode,
|
||||||
|
#custom-power_status {
|
||||||
|
background-color: alpha(@surface0, 0.8);
|
||||||
|
margin: 4px 6px;
|
||||||
|
padding: 4px 16px;
|
||||||
|
border: 1px solid alpha(@surface1, 0.5);
|
||||||
|
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
|
||||||
|
color: @text; /* Unifies all standard text to the soft Catppuccin white */
|
||||||
|
}
|
||||||
|
|
||||||
/* --- Workspaces --- */
|
/* --- Workspaces --- */
|
||||||
|
#workspaces {
|
||||||
|
padding: 2px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 8px;
|
padding: 0;
|
||||||
margin: 4px 2px;
|
margin: 4px;
|
||||||
border-radius: 5px;
|
min-width: 12px;
|
||||||
color: @subtext0;
|
min-height: 12px;
|
||||||
background-color: transparent;
|
background-color: @subtext0; /* Subtle dark gray for inactive */
|
||||||
|
color: transparent;
|
||||||
|
border-radius: 12px;
|
||||||
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
color: @blue;
|
min-width: 30px;
|
||||||
background-color: @surface1;
|
background-color: @mauve; /* Signature Catppuccin accent */
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.urgent {
|
|
||||||
color: @red;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
background-color: @surface2;
|
background-color: @lavender;
|
||||||
color: @text;
|
min-width: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.urgent {
|
||||||
|
background-color: @red;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Clock (Centered Pill) --- */
|
/* --- Clock (Centered Pill) --- */
|
||||||
#clock {
|
#clock {
|
||||||
color: @red;
|
background: linear-gradient(45deg, @mauve, @lavender); /* Cohesive pastel gradient */
|
||||||
font-weight: bold;
|
color: @base;
|
||||||
|
font-weight: 900;
|
||||||
|
margin: 4px 6px;
|
||||||
|
padding: 4px 20px;
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Power Status --- */
|
/* --- Power Status --- */
|
||||||
@@ -90,86 +94,80 @@ window#waybar.bottom {
|
|||||||
}
|
}
|
||||||
#custom-power_status.charging {
|
#custom-power_status.charging {
|
||||||
color: @green;
|
color: @green;
|
||||||
border-color: @green;
|
|
||||||
}
|
|
||||||
#custom-power_status.bat {
|
|
||||||
color: @blue;
|
|
||||||
}
|
}
|
||||||
#custom-power_status.warning {
|
#custom-power_status.warning {
|
||||||
color: @red;
|
color: @peach;
|
||||||
}
|
}
|
||||||
#custom-power_status.critical {
|
#custom-power_status.critical {
|
||||||
color: @red;
|
color: @red;
|
||||||
border-color: @red;
|
|
||||||
animation: blink 1s infinite alternate;
|
animation: blink 1s infinite alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes blink {
|
@keyframes blink {
|
||||||
to {
|
to {
|
||||||
background-color: alpha(@red, 0.4);
|
color: @base;
|
||||||
|
background-color: @red;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Hardware Metrics (Left Bottom) --- */
|
/* --- Hardware Group (Left Bottom) --- */
|
||||||
#custom-sys {
|
#hardware {
|
||||||
color: @red;
|
border-radius: 24px;
|
||||||
}
|
padding: 4px 10px;
|
||||||
#custom-cpu {
|
|
||||||
color: @blue;
|
|
||||||
}
|
|
||||||
#custom-mem {
|
|
||||||
color: @red;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Strip backgrounds and borders from the items inside the group */
|
||||||
|
#custom-cpu,
|
||||||
|
#custom-mem,
|
||||||
#custom-network {
|
#custom-network {
|
||||||
color: @blue;
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
box-shadow: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-cpu.high,
|
/* Subtle vertical separator line between them */
|
||||||
#custom-mem.high {
|
#custom-cpu,
|
||||||
color: @red;
|
#custom-mem {
|
||||||
}
|
border-right: 1px solid alpha(@surface1, 0.5);
|
||||||
#custom-cpu.max,
|
border-radius: 0;
|
||||||
#custom-mem.max {
|
|
||||||
color: @red;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hardware Semantic Alerts */
|
||||||
|
#custom-cpu.high, #custom-mem.high { color: @peach; }
|
||||||
|
#custom-cpu.max, #custom-mem.max { color: @red; }
|
||||||
|
|
||||||
/* --- Center Bottom Utilities --- */
|
/* --- Center Bottom Utilities --- */
|
||||||
#custom-gamemode {
|
|
||||||
color: @red;
|
|
||||||
}
|
|
||||||
#custom-gamemode.active {
|
#custom-gamemode.active {
|
||||||
color: @blue;
|
color: @mauve; /* Matches the workspace accent */
|
||||||
border-color: @blue;
|
|
||||||
padding-left: 9px;
|
padding-left: 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Right Bottom Controls --- */
|
/* --- Right Bottom Controls Semantic Alerts --- */
|
||||||
#custom-disk-root {
|
|
||||||
color: @blue;
|
|
||||||
}
|
|
||||||
#custom-volume {
|
|
||||||
color: @red;
|
|
||||||
}
|
|
||||||
#custom-mic {
|
|
||||||
color: @blue;
|
|
||||||
}
|
|
||||||
#custom-volume.muted,
|
#custom-volume.muted,
|
||||||
#custom-mic.muted {
|
#custom-mic.muted {
|
||||||
color: @overlay0;
|
color: @overlay0; /* Dims when muted */
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-bluetooth-audio {
|
/* --- Hover States --- */
|
||||||
color: @blue;
|
#custom-volume:hover,
|
||||||
|
#custom-mic:hover,
|
||||||
|
#custom-bluetooth-audio:hover,
|
||||||
|
#custom-power_status:hover {
|
||||||
|
background-color: @surface1;
|
||||||
|
color: @mauve; /* Subtle accent color on hover instead of jarring borders */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Tooltip --- */
|
/* --- Tooltip --- */
|
||||||
tooltip {
|
tooltip {
|
||||||
background-color: alpha(@base, 0.95);
|
background-color: alpha(@base, 0.9);
|
||||||
border: 1px solid @surface1;
|
border: 1px solid @surface1;
|
||||||
border-radius: 5px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
tooltip label {
|
tooltip label {
|
||||||
color: @text;
|
color: @text;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user