new year new bar
This commit is contained in:
+37
-38
@@ -2,20 +2,35 @@
|
|||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"spacing": 0,
|
"spacing": 0,
|
||||||
"modules-left": ["sway/workspaces", "hyprland/workspaces"],
|
"modules-left": ["cpu", "disk", "disk#sda", "disk#nocturnal"],
|
||||||
"modules-center": ["clock"],
|
"modules-center": ["sway/workspaces"],
|
||||||
"modules-right": ["custom/recording", "cpu", "disk", "disk#sda", "disk#mount", "idle_inhibitor", "tray", "custom/transmission", "network"],
|
"modules-right": ["idle_inhibitor", "tray", "clock"],
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"format": "{name}",
|
"format": "<span size=\"16pt\" line_height=\"0.8\" baseline_shift=\"5pt\">{name}</span><span size=\"26pt\" line_height=\"0.8\">{windows}</span>",
|
||||||
"all-outputs": false,
|
"all-outputs": false,
|
||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
"sort-by-number": true
|
"sort-by-number": true,
|
||||||
},
|
"window-rewrite-default": "",
|
||||||
"hyprland/workspaces": {
|
"window-format": "{}",
|
||||||
"format": "{name}",
|
"format-window-separator": "",
|
||||||
"all-outputs": false,
|
"window-rewrite": {
|
||||||
"on-click": "activate",
|
"class<equibop>": "",
|
||||||
"sort-by-number": true
|
"class<firefox>": "",
|
||||||
|
"(.*)talos(.*)": "T",
|
||||||
|
"(.*)kitty(.*)": "",
|
||||||
|
"(.*)nocturnal(.*)": "N",
|
||||||
|
//"class<kitty>": "",
|
||||||
|
"class<dev.zed.Zed>": "",
|
||||||
|
"class<thunar>": "",
|
||||||
|
"class<mpv>": "",
|
||||||
|
"class<eom>": "",
|
||||||
|
"(.*)Steam(.*)": "",
|
||||||
|
"class<godot>": "",
|
||||||
|
"(.*)bottles(.*)": "",
|
||||||
|
"class<teams-for-linux>": "",
|
||||||
|
"class<spotify>": "",
|
||||||
|
"class<glava>": "",
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"custom/recording": {
|
"custom/recording": {
|
||||||
"format": "●",
|
"format": "●",
|
||||||
@@ -24,56 +39,40 @@
|
|||||||
"exec-if": "pgrep wf-recorder",
|
"exec-if": "pgrep wf-recorder",
|
||||||
"interval": 1
|
"interval": 1
|
||||||
},
|
},
|
||||||
"network": {
|
|
||||||
"interface": "moz0",
|
|
||||||
"format": "🕵️",
|
|
||||||
"format-disconnected": ""
|
|
||||||
},
|
|
||||||
"custom/gpu": {
|
|
||||||
"exec": "cat /sys/class/hwmon/hwmon2/device/gpu_busy_percent",
|
|
||||||
"format": "{icon}",
|
|
||||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
|
|
||||||
"interval": 1
|
|
||||||
},
|
|
||||||
"custom/transmission": {
|
|
||||||
"exec": "/home/mark/.scripts/transmission",
|
|
||||||
"format": "{icon}",
|
|
||||||
"format-icons": ["", ""],
|
|
||||||
"interval": 5
|
|
||||||
},
|
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"format": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}",
|
"format": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}",
|
||||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
|
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
|
||||||
},
|
},
|
||||||
"disk": {
|
"disk": {
|
||||||
"path": "/",
|
"path": "/",
|
||||||
"format": "{free}",
|
"format": "<span size=\"30pt\" line_height=\"0.3\" baseline_shift=\"-8pt\"></span> {free}",
|
||||||
"tooltip-format": "{free} available on {path}"
|
"tooltip-format": "{free} available on {path}"
|
||||||
},
|
},
|
||||||
"disk#sda": {
|
"disk#sda": {
|
||||||
"path": "/home/mark/Files",
|
"path": "/home/mark/Files",
|
||||||
"format": "{free}",
|
"format": "<span size=\"26pt\" line_height=\"0.3\" baseline_shift=\"-7pt\"></span> {free}",
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"tooltip-format": "{free} available on {path}"
|
"tooltip-format": "{free} available on {path}"
|
||||||
},
|
},
|
||||||
"disk#mount": {
|
"disk#nocturnal": {
|
||||||
"path": "/home/mark/Files/Downloads/mount",
|
"path": "/nasfw",
|
||||||
"format": "{free}",
|
"format": "<span size=\"30pt\" line_height=\"0.3\" baseline_shift=\"-9pt\"></span> {free}",
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"tooltip-format": "{free} available on {path}"
|
"tooltip-format": "{free} available on {path}"
|
||||||
},
|
},
|
||||||
"idle_inhibitor": {
|
"idle_inhibitor": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"deactivated": "💤",
|
"deactivated": "",
|
||||||
"activated": "🦉",
|
"activated": "",
|
||||||
"default": ""
|
"default": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 26,
|
"icon-size": 28,
|
||||||
"spacing": 8
|
"spacing": 8,
|
||||||
|
"show-passive-items": true
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:%H:%M}",
|
"format": "{:%H:%M}",
|
||||||
|
|||||||
+74
-34
@@ -4,32 +4,44 @@
|
|||||||
border: none;
|
border: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
font-family: 'Space Mono';
|
font-family: "BlexMono Nerd Font Mono";
|
||||||
text-shadow: 0 0 2px @background;
|
text-shadow: 0 0 2px @background;
|
||||||
font-weight: bold;
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
window {
|
window {
|
||||||
background-color: alpha(@background, 0.8);
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modules-right, .modules-center, .modules-left {
|
.modules-right,
|
||||||
|
.modules-center,
|
||||||
|
.modules-left {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-top: 0;
|
margin: 8px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
.modules-left {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
.modules-center {
|
||||||
|
}
|
||||||
|
.modules-right {
|
||||||
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 15px;
|
padding: 0 8px;
|
||||||
font-size:20px;
|
margin-right: 8px;
|
||||||
margin: 0;
|
font-size: 30px;
|
||||||
font-weight:bold;
|
letter-spacing: 8px;
|
||||||
/*background-color: alpha(@background, 1.0);*/
|
/*background-color: alpha(@background, 1.0);*/
|
||||||
background: transparent;
|
border-radius: 8px;
|
||||||
color: alpha(@foreground, 1.0);
|
background-color: @color6;
|
||||||
|
color: alpha(@foreground, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.focused, #workspaces button.active {
|
#workspaces button.focused,
|
||||||
|
#workspaces button.active {
|
||||||
background-color: alpha(@color4, 0.8);
|
background-color: alpha(@color4, 0.8);
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
}
|
}
|
||||||
@@ -52,59 +64,87 @@ window {
|
|||||||
#custom-transmission,
|
#custom-transmission,
|
||||||
#custom-recording,
|
#custom-recording,
|
||||||
#network,
|
#network,
|
||||||
#wireplumber
|
#wireplumber {
|
||||||
{
|
padding: 0 8px;
|
||||||
padding: 0 10px;
|
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#cpu {
|
||||||
|
background: @color2;
|
||||||
|
border-radius: 8px;
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#disk {
|
||||||
|
border-radius: 8px;
|
||||||
|
margin-right: 8px;
|
||||||
|
background: @color3;
|
||||||
|
}
|
||||||
|
|
||||||
#custom-recording {
|
#custom-recording {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
#custom-transmission {
|
#custom-transmission {
|
||||||
color:#FEE;
|
color: #fee;
|
||||||
|
}
|
||||||
|
#idle_inhibitor {
|
||||||
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
background-color: alpha(@background, 0.8);
|
|
||||||
background: transparent;
|
|
||||||
padding: 0 20px 5px 20px;
|
|
||||||
margin: 0;
|
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces *:last-child {
|
#tray {
|
||||||
border-bottom-right-radius: 0px;
|
padding: 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modules-right > *:first-child > * {
|
#tray > * {
|
||||||
border-bottom-left-radius: 0px;
|
padding: 0;
|
||||||
|
-gtk-icon-shadow: 0px 0px 2px @foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-left #disk.nocturnal {
|
||||||
|
border-top-right-radius: 8px;
|
||||||
|
border-bottom-right-radius: 8px;
|
||||||
|
}
|
||||||
|
#workspaces button:first-child {
|
||||||
|
border-top-left-radius: 8px;
|
||||||
|
border-bottom-left-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-right > * > *,
|
||||||
|
.modules-left > * > *,
|
||||||
|
.modules-center > * > * > * {
|
||||||
|
border-radius: 8px;
|
||||||
|
margin-left: 8px;
|
||||||
|
border: 1px solid @foreground;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modules-right > *:nth-child(1) > * {
|
.modules-right > *:nth-child(1) > * {
|
||||||
background-color: alpha(@color1, 1.0);
|
background-color: alpha(@color1, 1);
|
||||||
}
|
}
|
||||||
.modules-right > *:nth-child(2) > * {
|
.modules-right > *:nth-child(2) > * {
|
||||||
background-color: alpha(@color2, 1.0);
|
background-color: alpha(@color2, 1);
|
||||||
}
|
}
|
||||||
.modules-right > *:nth-child(3) > * {
|
.modules-right > *:nth-child(3) > * {
|
||||||
background-color: alpha(@color3, 1.0);
|
background-color: alpha(@color3, 1);
|
||||||
}
|
}
|
||||||
.modules-right > *:nth-child(4) > * {
|
.modules-right > *:nth-child(4) > * {
|
||||||
background-color: alpha(@color4, 1.0);
|
background-color: alpha(@color4, 1);
|
||||||
}
|
}
|
||||||
.modules-right > *:nth-child(5) > * {
|
.modules-right > *:nth-child(5) > * {
|
||||||
background-color: alpha(@color5, 1.0);
|
background-color: alpha(@color5, 1);
|
||||||
}
|
}
|
||||||
.modules-right > *:nth-child(6) > * {
|
.modules-right > *:nth-child(6) > * {
|
||||||
background-color: alpha(@color6, 1.0);
|
background-color: alpha(@color6, 1);
|
||||||
}
|
}
|
||||||
.modules-right > *:nth-child(7) > * {
|
.modules-right > *:nth-child(7) > * {
|
||||||
background-color: alpha(@color7, 1.0);
|
background-color: alpha(@color7, 1);
|
||||||
}
|
}
|
||||||
.modules-right > *:nth-child(8) > * {
|
.modules-right > *:nth-child(8) > * {
|
||||||
background-color: alpha(@color7, 1.0);
|
background-color: alpha(@color7, 1);
|
||||||
}
|
}
|
||||||
.modules-right > *:nth-child(9) > * {
|
.modules-right > *:nth-child(9) > * {
|
||||||
background-color: alpha(@color7, 1.0);
|
background-color: alpha(@color7, 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user