up
This commit is contained in:
74
waybar/config
Normal file
74
waybar/config
Normal file
@ -0,0 +1,74 @@
|
||||
{
|
||||
// "height": 40, // Waybar height (to be removed for auto height)
|
||||
"spacing": 4, // Gaps between modules (4px)
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["sway/workspaces", "sway/window"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["custom/tiramisu","battery", "wireplumber", "tray"],
|
||||
//"modules-right": ["custom/tiramisu", "network", "wireplumber", "tray"],
|
||||
// Modules configuration
|
||||
// "hyprland/workspaces": {
|
||||
// "disable-scroll": true,
|
||||
// "all-outputs": true,
|
||||
// "warp-on-scroll": false,
|
||||
// "format": "{name}",
|
||||
// },
|
||||
"sway/workspaces": {
|
||||
"format": "{icon}",
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 21,
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
// "timezone": "America/New_York",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format-alt": "{:%Y-%m-%d %H:%M}"
|
||||
},
|
||||
"network": {
|
||||
"format-wifi": " {icon}",
|
||||
"format-ethernet": " ",
|
||||
"format-disconnected": "",
|
||||
"format-icons": [
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "
|
||||
],
|
||||
"on-click": "alacritty -e nmtui"
|
||||
},
|
||||
"battery": {
|
||||
"interval": 1,
|
||||
"states": {
|
||||
"good": 99,
|
||||
"warning": 30,
|
||||
"critical": 20
|
||||
},
|
||||
"format-icons": [" "," "," "," "," "],
|
||||
"format": "<span color='#8ec07c' > {icon}</span>{capacity}%",
|
||||
"format-critical": "<span color='#cc241d' > {icon}</span>{capacity}%",
|
||||
"format-warning": "<span color='#d8a657' > {icon}</span>{capacity}%",
|
||||
"format-full": "<span color='#8ec07c' > {icon}</span>{capacity}%",
|
||||
"format-charging": "<span color='#8ec07c' > </span>{capacity}%",
|
||||
"format-charging-warning": "<span color='#d8a657' > </span>{capacity}%",
|
||||
"format-charging-critical": "<span color='#cc241d' > </span>{capacity}%",
|
||||
"format-plugged": "<span color='#8ec07c' > </span>{capacity}%",
|
||||
"tooltip": false
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "{volume}% {icon}",
|
||||
"format-muted": "{node_name} off",
|
||||
"on-click-right": "pactl set-default-sink $((s=$(pactl list short sinks | sed -e 's:^[0-9]\\+\\s\\+::' | grep -oP '^\\S+'); echo \"$s\"; echo \"$s\") | fgrep $(pactl get-default-sink) -m 1 -A 1 | tail -1)",
|
||||
"on-click": "pavucontrol",
|
||||
"max-volume": 100,
|
||||
"scroll-step": 2,
|
||||
"format-icons": ["", ""],
|
||||
},
|
||||
|
||||
"custom/tiramisu": {
|
||||
"format": "{} ",
|
||||
"exec": "sh ~/.config/polybar/scripts/polytiramisu.sh",
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user