refactor!(tmpfiles): expand power upon tmpfiles by deabstracting
This returns tmpfiles to its original form. Turns out that making something too simple gives it less power.
This commit is contained in:
parent
f4770f1908
commit
035fb24038
20 changed files with 74 additions and 72 deletions
41
hosts/solterra/users/artur/configs/waybar/config.jsonc
Normal file
41
hosts/solterra/users/artur/configs/waybar/config.jsonc
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"position": "bottom",
|
||||
"height": 0,
|
||||
"modules-left": ["custom/nixos", "niri/workspaces"],
|
||||
"modules-center": ["mpris"],
|
||||
"modules-right": ["tray", "wireplumber", "clock"],
|
||||
"reload_style_on_change": true,
|
||||
"custom/nixos": {
|
||||
"format": "",
|
||||
"on-click": "rofi -show drun",
|
||||
"tooltip": false,
|
||||
},
|
||||
"mpris": {
|
||||
"format": "{player_icon} {dynamic}",
|
||||
"format-paused": "{status_icon} <i>{dynamic}</i>",
|
||||
"format-stopped": "whitespace",
|
||||
"interval": 1,
|
||||
"dynamic-len": 64,
|
||||
"player-icons": {
|
||||
"default": "▶",
|
||||
"mpv": "🎵",
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": "",
|
||||
"paused": "⏸",
|
||||
},
|
||||
},
|
||||
"clock": {
|
||||
"format": " {:%H:%M}",
|
||||
"tooltip-format": "{:%A, %B %d, %Y}",
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": "",
|
||||
"on-click": "helvum",
|
||||
"format-icons": ["", "", ""],
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 18,
|
||||
},
|
||||
}
|
72
hosts/solterra/users/artur/configs/waybar/style.css
Normal file
72
hosts/solterra/users/artur/configs/waybar/style.css
Normal file
|
@ -0,0 +1,72 @@
|
|||
@define-color base00 #2b3339;
|
||||
@define-color base01 #323c41;
|
||||
@define-color base02 #503946;
|
||||
@define-color base03 #868d80;
|
||||
@define-color base04 #d3c6aa;
|
||||
@define-color base05 #d3c6aa;
|
||||
@define-color base06 #e9e8d2;
|
||||
@define-color base07 #fff9e8;
|
||||
@define-color base08 #7fbbb3;
|
||||
@define-color base09 #d699b6;
|
||||
@define-color base0A #83c092;
|
||||
@define-color base0B #dbbc7f;
|
||||
@define-color base0C #e69875;
|
||||
@define-color base0D #a7c080;
|
||||
@define-color base0E #e67e80;
|
||||
@define-color base0F #d699b6;
|
||||
|
||||
* {
|
||||
all: unset;
|
||||
color: @base05;
|
||||
min-height: 0px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: @base00;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: @base00;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
background: @base00;
|
||||
padding: 6px 16px;
|
||||
transition: 0.2s background;
|
||||
}
|
||||
|
||||
.modules-right label,
|
||||
#tray image {
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: @base01;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background: @base02;
|
||||
}
|
||||
|
||||
#custom-nixos {
|
||||
padding: 0px 12px;
|
||||
font-size: 24px;
|
||||
color: @base08;
|
||||
}
|
||||
|
||||
menu {
|
||||
background: @base00;
|
||||
color: @base05;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
menuitem {
|
||||
background: @base01;
|
||||
margin: 2px;
|
||||
padding: 5px 30px;
|
||||
}
|
||||
|
||||
menuitem label {
|
||||
font-size: 14px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue