wip: add niri wm
This commit is contained in:
parent
278f87f4c7
commit
c2ab4f76cc
7 changed files with 861 additions and 0 deletions
86
home/tiling/waybar/config/config.jsonc
Normal file
86
home/tiling/waybar/config/config.jsonc
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"spacing": 0,
|
||||
"height": 0,
|
||||
|
||||
"margin-top": 0,
|
||||
"margin-right": 0,
|
||||
"margin-bottom": 0,
|
||||
"margin-left": 0,
|
||||
|
||||
"modules-left": ["sway/workspaces"],
|
||||
|
||||
"modules-center": [],
|
||||
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"cpu_text",
|
||||
"cpu",
|
||||
"memory",
|
||||
"battery",
|
||||
"network",
|
||||
"pulseaudio",
|
||||
"clock",
|
||||
],
|
||||
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"spacing": 10,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{:%a %d, %I:%M %p}",
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"format": "cpu {usage}%",
|
||||
"interval": 2,
|
||||
|
||||
"states": {
|
||||
"critical": 90,
|
||||
},
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"format": "mem {percentage}%",
|
||||
"interval": 2,
|
||||
|
||||
"states": {
|
||||
"critical": 80,
|
||||
},
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"format": "bat {capacity}%",
|
||||
"interval": 5,
|
||||
"states": {
|
||||
"warning": 20,
|
||||
"critical": 10,
|
||||
},
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format-wifi": "wifi up",
|
||||
"format-ethernet": "enth up",
|
||||
"format-disconnected": "no network",
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"scroll-step": 5,
|
||||
"max-volume": 150,
|
||||
"format": "vol {volume}%",
|
||||
"format-bluetooth": "vol {volume}%",
|
||||
"nospacing": 1,
|
||||
"on-click": "pavucontrol",
|
||||
"tooltip": false,
|
||||
},
|
||||
}
|
||||
26
home/tiling/waybar/config/mocha.css
Normal file
26
home/tiling/waybar/config/mocha.css
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
@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;
|
||||
92
home/tiling/waybar/config/style.css
Normal file
92
home/tiling/waybar/config/style.css
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
@import "./mocha.css";
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-height: 0;
|
||||
font-family: "Noto Sans";
|
||||
/*font-weight: bold;*/
|
||||
font-size: 12px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: @crust;
|
||||
border-bottom: 2px solid @mantle;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background-color: @crust;
|
||||
border: 2px solid @peach;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#tray,
|
||||
#cpu,
|
||||
#memory,
|
||||
#battery,
|
||||
#network,
|
||||
#pulseaudio {
|
||||
margin: 6px 6px 6px 0px;
|
||||
padding: 2px 8px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
background-color: #322d28;
|
||||
margin: 6px 0px 6px 6px;
|
||||
border: 2px solid #625343;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
all: initial;
|
||||
min-width: 0;
|
||||
box-shadow: inset 0 -3px transparent;
|
||||
padding: 2px 4px;
|
||||
color: #917a53;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
color: #ddc7a1;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #e78a4e;
|
||||
color: #1d2021;
|
||||
}
|
||||
|
||||
#clock {
|
||||
background-color: @base;
|
||||
border: 2px solid @blue;
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
#battery {
|
||||
background-color: @base;
|
||||
border: 2px solid @green;
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
#tray,
|
||||
#cpu,
|
||||
#memory,
|
||||
#network,
|
||||
#pulseaudio {
|
||||
background-color: @base;
|
||||
border: 2px solid @blue;
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
#cpu.critical,
|
||||
#memory.critical {
|
||||
background-color: @base;
|
||||
border: 2px solid @red;
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
#battery.warning,
|
||||
#battery.critical,
|
||||
#battery.urgent {
|
||||
background-color: #c9af82;
|
||||
border: 2px solid #917a53;
|
||||
color: #ae6330;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue