rename waybar folder to bars, add mangowc, add bar-rs, add bar-rs config, add mangowc config

This commit is contained in:
alyx 2026-03-09 16:02:07 +00:00
parent ab12fa7536
commit ef01d9c9c0
Signed by: alyx
SSH key fingerprint: SHA256:ikXQIBRoakFdxVU/cImm2/V8XxM0gMJU8QybMfU66H0
12 changed files with 592 additions and 82 deletions

74
home/bars/bar-rs.ini Normal file
View file

@ -0,0 +1,74 @@
[general]
# monitor = DP-1
anchor = top
hot_reloading = true
# hard_reloading = true
[modules]
left = media
center = cpu
right = time, volume, memory, disk_usage
[style]
spacing = 10 20 5
padding = 0 10
background = rgba(0, 0, 0, 0)
width = 2540
height = 30
margin = 7
[module_style]
font_size = 17
icon_size = 20
text_color = white
icon_color = white
[module:time]
background = rgba(0, 36, 40, 1)
border_color = rgba(0, 146, 148, 1)
margin = 0
border_width = 2.5
padding = 8
border_radius = 7
[module:volume]
background = rgba(0, 36, 40, 1)
border_color = rgba(0, 146, 148, 1)
margin = 0
border_width = 2.5
padding = 8
border_radius = 7
[module:cpu]
background = rgba(0, 36, 40, 1)
border_color = rgba(0, 146, 148, 1)
margin = 0
border_width = 2.5
padding = 5
border_radius = 7
[module:memory]
background = rgba(0, 36, 40, 1)
border_color = rgba(0, 146, 148, 1)
margin = 0
border_width = 2.5
padding = 8
border_radius = 7
[module:disk_usage]
background = rgba(0, 36, 40, 1)
border_color = rgba(0, 146, 148, 1)
margin = 0
border_width = 2.5
padding = 3
border_radius = 7
[module:media]
players = firefox,mpd
background = rgba(0, 36, 40, 1)
border_color = rgba(0, 146, 148, 1)
margin = 0
border_width = 2.5
padding = 3
border_radius = 7

146
home/bars/cyberhack Normal file
View file

@ -0,0 +1,146 @@
[{
"position": "top",
"modules-left": ["group/traydrawer", "custom/weather", "battery", "power-profiles-daemon"],
"modules-center": ["cpu", "group/mpdcontrols", "cpu#frequency"],
"modules-right": ["clock", "wireplumber", "memory", "disk", "group/poweroptions"],
"margin-top": 8,
"margin-left": 8,
"margin-right": 8,
"height": 40,
"wireplumber": {
"on-click": "pavucontrol",
"format": "󰓃 {volume}%",
"format-muted": "󰓄 {volume}%",
},
"battery": {
"interval": 5,
"format-icons": [" ", " ", " ", " ", " "],
"states": {
"warning": 26,
"critical": 15,
"dead": 5
},
"format": "{icon} {capacity}%",
"tooltip-format": "BAT0, {power}W",
},
"power-profiles-daemon": {
"format": "{icon} {profile}",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"format-icons": {
"default": "",
"performance": "",
"balanced": " ",
"power-saver": " "
}
},
"group/mpdcontrols": {
"orientation": "inherit",
"drawer": {
"transition-duration": 250,
"transition-left-to-right": true
},
"modules": ["mpd", "custom/playpause", "custom/prev", "custom/next"]
},
"custom/playpause": {
"format": " 󰐎 ",
"on-click": "mpc toggle"
},
"custom/prev": {
"format": " 󰒮 ",
"on-click": "mpc prev"
},
"custom/next": {
"format": " 󰒭 ",
"on-click": "mpc next"
},
"group/traydrawer": {
"orientation": "inherit",
"modules": ["custom/trayadvisory", "tray"],
"drawer": {
"transition-duration": 250
}
},
"mpd": {
"on-click": "mpc toggle",
"format-disconnected": " MPD disconnected ",
"format-stopped": " Nothing Playing! ",
"format": "  {title} - {album} - {artist} ",
"format-paused": "  {title} - {album} - {artist} ",
"on-scroll-up": "mpc volume +5",
"on-scroll-down": "mpc volume -5"
},
"custom/trayadvisory": {
"format": " "
},
"tray": {
"icon-size": 15,
"spacing": 10,
},
"custom/systemadvisory": {
"format": "󱖫 "
},
"group/poweroptions": {
"orientation": "inherit",
"modules": ["custom/poweroff", "custom/logout"],
"drawer": {
"transition-duration": 250
}
},
"custom/poweroff": {
"format": "⏻ ",
"on-click": "shutdown now",
},
"custom/logout": {
"format": "| 󰩈 ",
"on-click": "swaymsg exit",
},
"custom/weather": {
"format": " {}° ",
"tooltip": true,
"interval": 3600,
"exec": "wttrbar --nerd --location edinburgh",
"return-type": "json"
},
"group/systemstatus": {
"orientation": "inherit",
"modules": ["custom/systemadvisory", "memory", "disk"],
"drawer": {
"click-to-reveal": true,
"transition-duration": 250,
}
},
"cpu": {
"format": "  {usage}% ",
"states": { "highcpu": 85 },
},
"cpu#frequency": {
"format": "{max_frequency}GHz"
},
"memory": {
"format": " {avail:0.0f} GiB  {swapAvail:0.0f} GiB"
},
"disk": {
"format": " {specific_free:0.1f} GiB",
"unit": "GiB",
},
}]

50
home/bars/cyberhack.css Normal file
View file

@ -0,0 +1,50 @@
#waybar {
font-family: "DepartureMono Nerd Font";
background: rgba(0, 36, 40, 0.999);
color: rgba(0, 255, 255, 0.999);
border: 2px solid rgba(0, 146, 148, 0.999);
border-radius: 11px;
}
#wireplumber,
#cpu,
#cpu-frequency,
#battery,
#power-profiles-daemon,
#clock,
#memory,
#disk,
#mpdcontrols,
#poweroptions
{
border: 2px solid rgba(0, 146, 148, 0.999);
/*margin: 3px;*/
min-height: 0;
margin-left: 4px;
margin-right: 4px;
margin-top: 7px;
margin-bottom: 7px;
padding: 2px;
padding-left: 5px;
padding-right: 5px;
border-radius: 4px;
}
#custom-trayadvisory {
margin: 3px 10px 3px;
}
#poweroptions {
margin-right: 10px;
padding-left: 8px;
}
#mpd.playing {
background: rgba(0, 100, 40, 0.4);
color: rgba(87, 255, 0, 1);
}
#cpu.highcpu {
background: rgba(121, 93, 201, 0.2);
color: rgba(87, 255, 0, 1);
}

146
home/bars/modern Normal file
View file

@ -0,0 +1,146 @@
[
{
"layer": "top",
"margin-top": 10,
"margin-left": 12,
"margin-right": 12,
"height": 35,
"spacing": 5,
"position": "top",
"modules-center": ["group/mpdg"],
"modules-left": ["group/dtray", "battery", "battery#bat1", "battery#bat2"],
"modules-right": ["clock", "group/audio", "disk", "memory", "cpu"],
"memory": {
"format": " {avail} +  {swapAvail} GiB",
},
"cava": {
"method": "pipewire",
"format-icons" : ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" ],
"bar_delimiter": 0,
"bars": 12,
"stereo": false,
"hide_on_silence": true,
"input_delay": 1,
"autosens": 0,
"noise_reduction": 0.5,
"sensitivity": 13,
},
"disk": {
"format": " {free} {path}",
},
"cpu": {
"format": " {usage}% {max_frequency}GHz",
"states": { "highcpu": 85 },
},
"group/dtray": {
"orientation": "inherit",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": true
},
"modules": ["custom/arrow", "tray"]
},
"group/audio": {
"orientation": "inherit",
"modules": ["wireplumber", ],
"on-click": "pavucontrol",
},
"group/mpdg": {
"orientation": "inherit",
"drawer": {
"transition-duration": 500,
"children-class": "mpdcontrol",
"transition-left-to-right": true
},
"modules": ["mpd", "custom/playpause", "custom/prev", "custom/next"]
},
"custom/playpause": {
"format": "󰐎",
"on-click": "mpc toggle"
},
"custom/prev": {
"format": "󰒮",
"on-click": "mpc prev"
},
"custom/next": {
"format": "󰒭",
"on-click": "mpc next"
},
"custom/arrow": {
"format": " ",
"tooltip": false,
"on-click": "swaync-client -t",
},
"tray": {
"spacing": 5
},
"clock": {
"format": "{:%I:%M %p}",
},
"wireplumber": {
"on-click": "pavucontrol",
"format": "󰓃 {volume}%",
"format-muted": "󰓄 {volume}%",
},
"mpd": {
"on-click": "mpc toggle",
"format-disconnected": "MPD seems to be down",
"format-stopped": "Nothing playing!",
"format": "{title} - {album} - {artist}",
"format-paused": "{title} - {album} - {artist}",
},
"battery": {
"bat": "BAT0",
"interval": 5,
"format-icons": [" ", " ", " ", " ", " "],
"states": {
"warning": 30,
"critical": 15,
"dead": 5
},
"format": "{icon} {capacity}%",
"tooltip-format": "BAT0, {power}W"
},
"battery#bat1": {
"bat": "BAT1",
"interval": 5,
"format-icons": [" ", " ", " ", " ", " "],
"states": {
"warning": 30,
"critical": 15,
"dead": 5
},
"format": "{icon} {capacity}%",
"tooltip-format": "BAT1, {power}W"
},
"battery#bat2": {
"bat": "BAT2",
"interval": 5,
"format-icons": [" ", " ", " ", " ", " "],
"states": {
"warning": 30,
"critical": 15,
"dead": 5
},
"format": "{icon} {capacity}%",
"tooltip-format": "BAT2, {power}W"
},
}
]

115
home/bars/modern.css Normal file
View file

@ -0,0 +1,115 @@
@define-color rosewater #f5e0dc;
@define-color flamingo #f2cdcd;
@define-color pink #f5c2e7;
@define-color mauve #cba6f7;
@define-color red #f38ba8;
@define-color maroon #eba0ac;
@define-color peach #fab387;
@define-color yellow #f9e2af;
@define-color green #a6e3a1;
@define-color teal #94e2d5;
@define-color sky #89dceb;
@define-color sapphire #74c7ec;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
@define-color text #cdd6f4;
@define-color subtext1 #bac2de;
@define-color subtext0 #a6adc8;
@define-color overlay2 #9399b2;
@define-color overlay1 #7f849c;
@define-color overlay0 #6c7086;
@define-color surface2 #585b70;
@define-color surface1 #45475a;
@define-color surface0 #313244;
@define-color base #1e1e2e;
@define-color mantle #181825;
@define-color crust #11111b;
/* forgive me, above is the contents of catppuccin mocha's waybar css file */
* {
color: #ffffff;
font-family: Iosevka NF;
}
window#waybar {
background-color: rgba(49, 50, 68, 0.999);
/* padding: 0px 5px;
margin: 5px 10px 5px; */
border-radius: 10px;
}
#clock,
#audio,
#mpd,
#battery,
#cpu,
#disk,
#memory {
padding: 5px;
border-radius: 10px;
border: 0.2em solid #cba6f7;
background: @surface2;
min-height: 0;
margin: 0.2em;
}
#battery.warning {
border: 0.2em solid @yellow;
}
#battery.critical {
border: 0.2em solid @red;
}
#battery.dead {
background: @surface0;
color: @surface2;
border: 0.2em solid @overlay1;
}
#dtray {
margin: 0px 10px 0px;
padding: 0px 10px 0px;
}
#wireplumber.muted {
border: 0;
color: #888888;
}
#mpd.stopped {
background-color: @surface0;
border: 0
}
#mpd.playing {
background: @mauve;
}
.mpdcontrol {
background-color: @surface0;
/* border-radius: 10px; */
font-size: 1.2em;
}
#custom-playpause {
background-color: #e5a6f7;
padding-right: 10px;
padding-left: 5px;
}
#custom-prev {
background-color: #F7A6E8;
padding-right: 7px;
padding-left: 6px;
}
#custom-next {
background-color: #FAA5B7;
padding-right: 8px;
padding-left: 6px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
#mpdg:hover {
border-bottom-left-radius: 10px;
border-top-left-radius: 10px;
background: #e5a6f7;
}
#battery.charging {
background: @mauve;
}
#cava {
margin-left: 0.2em;
color: @mauve;
}
#cpu.highcpu {
background: @mauve;
}