This commit is contained in:
Mariano Z. 2025-04-21 12:07:24 -03:00
commit b4cdb80b5c
Signed by: marianozunino
GPG key ID: 4C73BAD25156DACE
137 changed files with 6383 additions and 0 deletions

View file

@ -0,0 +1,210 @@
{
"layer": "top",
"position": "top",
"margin": "5 0 0",
"mod": "dock",
"exclusive": true,
"passthrough": false,
"gtk-layer-shell": true,
"height": 30,
"margin-bottom": 0,
"margin-top": 5,
"margin-left": 10,
"margin-right": 10,
"sway/workspaces": {
"disable-scroll": true,
"format": "{name} {icon}",
"format-icons": {
"1": "",
"2": "",
"3": "",
"urgent": "",
"active": "",
"default": ""
},
"sort-by-number": true
},
"sway/window": {
"format": "{}",
"max-length": 50,
"rewrite": {
"(.*) - Mozilla Firefox": "🌎 $1",
"(.*) - zsh": "> [$1]"
}
},
"tray": {
"icon-size": 18,
"spacing": 5
},
"clock": {
// DD-MM-YYYY
"format": " {0:%H:%M:%S %Z} 󰸘 {0:%d/%m/%Y}",
"interval": 60,
"format-alt": "{:L%A, %B %d, %Y (%R)}  ",
"tooltip-format": "<small><tt>{calendar}</tt></small>",
"timezones": [
"America/Montevideo",
"America/New_York"
],
"actions": {
"on-click-right": "mode",
"on-scroll-up": "tz_up",
"on-scroll-down": "tz_down"
},
"calendar": {
"mode": "year",
"mode-mon-col": 3,
"weeks-pos": "right",
"on-scroll": 1,
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
},
},
"backlight": {
"device": "intel_backlight",
"format": "{icon} {percent}%",
"format-icons": [
"󰃞",
"󰃟",
"󰃠"
],
"on-scroll-up": "brightnessctl set 10%+",
"on-scroll-down": "brightnessctl set 10%-",
"min-length": 6
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 20
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
"format-icons": [
"󰂎",
"󰁺",
"󰁻",
"󰁼",
"󰁽",
"󰁾",
"󰁿",
"󰂀",
"󰂁",
"󰂂",
"󰁹"
]
},
"pulseaudio": {
"format": "{icon} {volume}%",
"tooltip": false,
"format-muted": " Muted",
"on-click": "wpctl set-mute @DEFAULT_SINK@ toggle",
"on-click-right": "pavucontrol",
"on-scroll-up": "wpctl set-volume -l 1 @DEFAULT_SINK@ 5%+",
"on-scroll-down": "wpctl set-volume @DEFAULT_SINK@ 5%-",
"scroll-step": 5,
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": [
"",
"",
" "
]
}
},
"pulseaudio#microphone": {
"format": "{format_source}",
"format-source": " {volume}%",
"format-source-muted": " Muted",
"on-click": "wpctl set-mute @DEFAULT_SOURCE@ toggle",
"on-click-right": "pavucontrol",
"on-scroll-up": "wpctl set-volume -l 1 @DEFAULT_SOURCE@ 5%+",
"on-scroll-down": "wpctl set-volume -l 1 @DEFAULT_SOURCE@ 5%-",
"scroll-step": 5
},
"temperature": {
"thermal-zone": 1,
"format": " {temperatureC}°C",
"critical-threshold": 80,
"format-critical": "{temperatureC}°C "
},
"network": {
"format-wifi": " {signalStrength}%",
"format-ethernet": "{ipaddr}/{cidr}",
"tooltip-format": "{essid} - {ifname} via {gwaddr}",
"format-linked": "{ifname} (No IP)",
"format-disconnected": "Disconnected",
"format-alt": "{ifname}:{essid} {ipaddr}/{cidr}"
},
"bluetooth": {
"format": " {status}",
"format-disabled": " off",
"format-connected": " {num_connections}",
"tooltip-format": "{device_alias}",
"tooltip-format-connected": " {device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}",
"on-click": "bluetoothctl toggle"
},
"custom/playerctl": {
"format": "{icon}",
"return-type": "json",
"max-length": 64,
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
"on-click-middle": "playerctl play-pause",
"on-click": "playerctl play-pause",
"on-click-right": "playerctl play-pause",
"format-icons": {
"Playing": "<span foreground='#E5B9C6'>󰏥</span>",
"Paused": "<span foreground='#928374'>󰐌</span>"
}
},
"custom/playerlabel": {
"format": "<span>{}</span>",
"return-type": "json",
"max-length": 48,
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
"on-click": "playerctl previous",
"on-click-right": "playerctl next",
"format-icons": {
"Playing": "<span foreground='#E5B9C6'>󰒮 󰐌 󰒭</span>",
"Paused": "<span foreground='#928374'>󰒮 󰏥 󰒭</span>"
}
},
"custom/notification": {
"tooltip": false,
"format": "{icon}",
"format-icons": {
"notification": "󰎟<span foreground='red'><sup></sup></span>",
"none": "󰎟",
"inhibited-notification": "󰎟<span foreground='red'><sup></sup></span>",
"inhibited-none": "󰎟",
"dnd-notification": "<span foreground='red'><sup></sup></span>",
"dnd-none": "",
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
"dnd-inhibited-none": ""
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
"custom/randwall": {
"format": "󰏘",
"on-click": "$HOME/.bin/randwall",
"on-click-right": "$HOME/.bin/randwall"
}
}

View file

@ -0,0 +1,96 @@
[
{
"include": [
"~/.config/waybar/common.jsonc"
],
"modules-left": [
"sway/workspaces"
],
"modules-right": [
"disk",
"cpu",
"memory"
],
"output": [
"DP-1"
],
"cpu": {
"interval": 10,
"format": " {}%",
"max-length": 10
},
"memory": {
"interval": 30,
"format": " {used:0.1f}/{total:0.1f} GiB"
},
"disk": {
"interval": 30,
"format": " {used}/{total}",
"unit": "GiB",
"path": "/home"
}
},
{
"include": [
"~/.config/waybar/common.jsonc"
],
"modules-left": [
"sway/workspaces"
],
"modules-center": [
"custom/playerctl",
"custom/playerlabel"
],
"modules-right": [
"custom/wf-recorder",
"custom/randwall",
"pulseaudio",
"custom/vpn",
"custom/notification",
"tray",
"clock"
],
"output": [
"HDMI-A-1"
],
"custom/vpn": {
"format": "{}",
"return-type": "json",
"interval": 1,
"exec": "/home/forbi/.local/bin/vpn",
"on-click": "/home/forbi/.local/bin/vpn toggle"
}
},
{
"include": [
"~/.config/waybar/common.jsonc"
],
"modules-left": [
"sway/workspaces"
],
"modules-center": [
"custom/playerctl",
"custom/playerlabel"
],
"modules-right": [
"custom/randwall",
"pulseaudio",
"custom/vpn",
"custom/notification",
"backlight",
"battery",
"tray",
"clock"
],
"output": [
"eDP-1"
],
"custom/vpn": {
"format": "{}",
"return-type": "json",
"interval": 1,
"exec": "/home/forbi/.local/bin/vpn",
"on-click": "/home/forbi/.local/bin/vpn toggle"
}
}
]

View file

@ -0,0 +1,167 @@
{
"layer": "top",
"position": "top",
"margin": "5 0 0",
"mod": "dock",
"exclusive": true,
"passthrough": false,
"gtk-layer-shell": true,
"height": 30,
"margin-bottom": 0,
"margin-top": 5,
"margin-left": 10,
"margin-right": 10,
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{icon} {time}",
"format-icons": [
"",
"",
"",
"",
""
]
},
"memory": {
"format": "󰍛 {}%",
"format-alt": "󰍛 {used}/{total} GiB",
"interval": 5
},
"cpu": {
"format": "󰻠 {usage}%",
"format-alt": "󰻠 {avg_frequency} GHz",
"interval": 5
},
"disk": {
"format": "󰋊 {percentage_used}%",
"format-alt": "󰋊 {used}/{total} GiB",
"interval": 5,
"path": "/home"
},
"network": {
"format-wifi": "󰤨",
"format-ethernet": " {ifname}: Main",
"format-linked": " {ifname} (No IP)",
"format-disconnected": "󰤭",
"format-alt": " {ifname}: {ipaddr}/{cidr}",
"tooltip-format": "{essid}",
"on-click-right": "nm-connection-editor"
},
"tray": {
"icon-size": 16,
"spacing": 5
},
"custom/randwall": {
"format": "󰏘",
"on-click": "$HOME/.bin/randwall",
"on-click-right": "$HOME/.bin/randwall"
},
"custom/wf-recorder": {
"format": "{}",
"return-type": "json",
"interval": 1,
"exec": "$HOME/.bin/wlrecord.sh --status",
"on-click": "$HOME/.bin/wlrecord.sh",
"tooltip": true
},
"custom/notification": {
"tooltip": false,
"format": "{icon}",
"format-icons": {
"notification": "<span foreground='red'><sup></sup></span>",
"none": "",
"dnd-notification": "<span foreground='red'><sup></sup></span>",
"dnd-none": "",
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
"inhibited-none": "",
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
"dnd-inhibited-none": ""
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
"hyprland/workspaces": {
"disable-scroll": true,
"format": "{icon}",
"format-icons": {
"1": "",
"2": "󰌀",
"3": "",
"4": "",
"7": "",
"10": "󰙯",
"urgent": "",
"active": "",
"default": "󰧞"
}
},
"hyprland/window": {
"format": "{}",
"max-length": 50,
"rewrite": {
"(.*) - Mozilla Firefox": "🌎 $1",
"(.*) - zsh": "> [$1]"
}
},
"custom/playerctl": {
"format": "{icon}",
"return-type": "json",
"max-length": 64,
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
"on-click-middle": "playerctl play-pause",
"on-click": "playerctl play-pause",
"on-click-right": "playerctl play-pause",
"format-icons": {
"Playing": "<span foreground='#E5B9C6'>󰏥</span>",
"Paused": "<span foreground='#928374'>󰐌</span>"
}
},
"custom/playerlabel": {
"format": "<span>{}</span>",
"return-type": "json",
"max-length": 48,
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
"on-click-middle": "playerctl play-pause",
"on-click": "playerctl previous",
"on-click-right": "playerctl next",
"format-icons": {
"Playing": "<span foreground='#E5B9C6'>󰒮 󰐌 󰒭</span>",
"Paused": "<span foreground='#928374'>󰒮 󰏥 󰒭</span>"
}
},
"pulseaudio": {
"ignored-sinks": [
"Easy Effects Sink"
],
"format": "{icon} {volume}%",
"format-muted": "󰝟",
"format-icons": {
"default": [
"󰕿",
"󰖀",
"󰕾"
]
},
"on-click-right": "pavucontrol",
// "on-scroll-up": "pamixer --sink 77 -ui 5",
// "on-scroll-down": "pamixer --sink 77 -ud 5",
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
},
"clock": {
"format": " {:%H:%M %d/%m}",
"tooltip": "true",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": " {:%d/%m}"
}
}

View file

@ -0,0 +1,21 @@
{
"output": [
"DP-1"
],
"position": "top",
"layer": "top",
"height": 18,
"margin-top": 0,
"margin-bottom": 0,
"margin-left": 0,
"margin-right": 0,
"modules-left": [
"hyprland/workspaces",
"hyprland/window"
],
"modules-right": [
"cpu",
"memory",
"disk"
]
}

View file

@ -0,0 +1,24 @@
{
"output": [
"eDP-1"
],
"modules-left": [
"hyprland/workspaces",
"hyprland/window"
],
"modules-center": [
"custom/playerctl",
"custom/playerlabel"
],
"modules-right": [
"custom/wf-recorder",
"custom/randwall",
"backlight",
"battery",
"network",
"pulseaudio",
"tray",
"clock",
"custom/notification"
]
}

View file

@ -0,0 +1,22 @@
{
"output": [
"HDMI-A-1"
],
"modules-left": [
"hyprland/workspaces",
"hyprland/window",
"hyprland/mode"
],
"modules-center": [
"custom/playerctl",
"custom/playerlabel"
],
"modules-right": [
"custom/wf-recorder",
"custom/randwall",
"pulseaudio",
"tray",
"clock",
"custom/notification"
]
}

View file

@ -0,0 +1,157 @@
/* General Reset and Base Styles */
* {
border: none;
border-radius: 0;
font-family: Iosevka, FontAwesome, Noto Sans CJK;
font-size: 14px;
min-height: 0;
}
/* Window Styles */
window#waybar {
background: rgba(0, 0, 0, 0.7);
border-bottom: 1px solid #282828;
border-radius: 10px;
color: #f4d9e1;
}
tooltip {
background: #010409;
border-radius: 10px;
}
/* Workspace Styles */
#workspaces {
margin-left: -10px;
padding: 0 0 0 5px;
}
#workspaces button {
color: #fff;
padding: 0;
border-radius: 10px;
margin-left: 3px;
transition: all 0.1s ease-in-out;
}
#workspaces button.urgent {
background: #010409;
color: #FF7F7F;
}
#workspaces button:hover,
#workspaces button.focused {
background: #f4d9e1;
color: #282828;
transition: all 0.3s ease-in-out;
margin: 5px;
}
/* Common Module Styles */
#cpu,
#memory,
#window,
#clock,
#battery,
#pulseaudio,
#network,
#bluetooth,
#temperature,
#workspaces,
#tray,
#custom-vpn,
#custom-notification,
#backlight {
padding: 0px 10px;
}
#cpu {
padding-right: 0;
}
/* Individual Module Styles */
#window {
margin: 0 60px;
}
#cpu,
#memory,
#clock,
#network,
#bluetooth,
#pulseaudio,
#pulseaudio.microphone,
#battery {
color: #fff;
}
#temperature.critical {
color: #eba0ac;
}
/* Custom Module Styles */
#custom-playerctl,
#custom-playerlabel {
background: #282828;
border-radius: 16px;
font-style: normal;
font-weight: normal;
margin: 5px 0;
}
#custom-playerctl {
font-size: 16px;
padding: 0 17px 0 15px;
}
#custom-playerlabel {
margin-left: 10px;
padding: 0 15px 0 10px;
}
#custom-notification {
border-radius: 0;
font-weight: bold;
}
#custom-randwall {
margin-right: 10px;
}
#custom-vpn.connected {
color: #a6e3a1;
}
#custom-vpn.disconnected {
color: #f4d9e1;
}
#custom-wf-recorder {
padding: 0 10px;
margin: 0 4px;
border-radius: 4px;
transition: all 0.3s ease;
}
#custom-wf-recorder.idle {
background-color: #2c2c2c;
color: #ccc;
}
#custom-wf-recorder.recording {
background-color: #cc3436;
color: white;
animation: blink 1s infinite;
}
@keyframes blink {
0% {
opacity: 1;
}
50% {
opacity: 0.7;
}
100% {
opacity: 1;
}
}