throw stuff at git
This commit is contained in:
commit
7272fc68c4
16 changed files with 4040 additions and 0 deletions
115
waybar/config.jsonc
Normal file
115
waybar/config.jsonc
Normal file
|
@ -0,0 +1,115 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 25,
|
||||
"spacing": 8,
|
||||
|
||||
"modules-left": ["niri/workspaces", "niri/window"],
|
||||
"modules-center": ["custom/gpu", "cpu", "memory", "disk", "network#down", "network#up"],
|
||||
"modules-right": ["pulseaudio", "tray", "clock", "custom/notification", "custom/lock"],
|
||||
|
||||
"niri/workspaces": {
|
||||
"format": "<span size='larger'>{icon}</span>",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"active": "\uf444",
|
||||
"default": "\uf4c3"
|
||||
},
|
||||
"icon-size": 10
|
||||
},
|
||||
|
||||
"niri/window": {
|
||||
"max-length": 36
|
||||
},
|
||||
|
||||
"custom/gpu": {
|
||||
"exec": "cat /sys/class/hwmon/hwmon2/device/gpu_busy_percent",
|
||||
"format": " {}%",
|
||||
"return-type": "",
|
||||
"interval": 2,
|
||||
"on-click": "kitty btop",
|
||||
"align": 0
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"format": " {usage}%",
|
||||
"interval": 2,
|
||||
"on-click": "kitty btop",
|
||||
"align": 0
|
||||
},
|
||||
|
||||
"disk": {
|
||||
"format": " {percentage_used}%",
|
||||
"on-click": "kitty btop",
|
||||
"align": 0
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 4,
|
||||
"format": " {percentage}%",
|
||||
"on-click": "kitty btop",
|
||||
"align": 0
|
||||
},
|
||||
|
||||
"network#down": {
|
||||
"interval": 2,
|
||||
"format": " {bandwidthDownBits}",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
|
||||
"tooltip-format-ethernet": "{ifname}",
|
||||
"align": 0
|
||||
},
|
||||
|
||||
"network#up": {
|
||||
"interval": 2,
|
||||
"format": " {bandwidthUpBits}",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
|
||||
"tooltip-format-ethernet": "{ifname}",
|
||||
"align": 0
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "\udb81\udd7e {volume}%",
|
||||
"format-source": " {volume}%",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol",
|
||||
"max-volume": 100,
|
||||
"scroll-step": 1
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"spacing": 8
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"interval": 5,
|
||||
"format": "{:%Y-%m-%d %H:%M}"
|
||||
},
|
||||
|
||||
"custom/notification": {
|
||||
"tooltip": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><sup></sup></span>",
|
||||
"none": "",
|
||||
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-none": "",
|
||||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true
|
||||
},
|
||||
|
||||
"custom/lock": {
|
||||
"tooltip": false,
|
||||
"on-click": "swaylock -f",
|
||||
"format": "",
|
||||
},
|
||||
}
|
37
waybar/mocha.css
Normal file
37
waybar/mocha.css
Normal file
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
*
|
||||
* Catppuccin Mocha palette
|
||||
* Maintainer: rubyowo
|
||||
*
|
||||
*/
|
||||
|
||||
@define-color base #1e1e2e;
|
||||
@define-color mantle #181825;
|
||||
@define-color crust #11111b;
|
||||
|
||||
@define-color text #cdd6f4;
|
||||
@define-color subtext0 #a6adc8;
|
||||
@define-color subtext1 #bac2de;
|
||||
|
||||
@define-color surface0 #313244;
|
||||
@define-color surface1 #45475a;
|
||||
@define-color surface2 #585b70;
|
||||
|
||||
@define-color overlay0 #6c7086;
|
||||
@define-color overlay1 #7f849c;
|
||||
@define-color overlay2 #9399b2;
|
||||
|
||||
@define-color blue #89b4fa;
|
||||
@define-color lavender #b4befe;
|
||||
@define-color sapphire #74c7ec;
|
||||
@define-color sky #89dceb;
|
||||
@define-color teal #94e2d5;
|
||||
@define-color green #a6e3a1;
|
||||
@define-color yellow #f9e2af;
|
||||
@define-color peach #fab387;
|
||||
@define-color maroon #eba0ac;
|
||||
@define-color red #f38ba8;
|
||||
@define-color mauve #cba6f7;
|
||||
@define-color pink #f5c2e7;
|
||||
@define-color flamingo #f2cdcd;
|
||||
@define-color rosewater #f5e0dc;
|
126
waybar/style.css
Normal file
126
waybar/style.css
Normal file
|
@ -0,0 +1,126 @@
|
|||
@import url("mocha.css");
|
||||
|
||||
@define-color background rgba(17,17,27,0.8);
|
||||
|
||||
* {
|
||||
font-family: JetBrainsMono Nerd Font;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#waybar {
|
||||
color: @text;
|
||||
background-color: rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
|
||||
.modules-left
|
||||
{
|
||||
background-color: @background;
|
||||
padding-right: 0.5em;
|
||||
|
||||
border-radius: 0px 0px 5px 0px;
|
||||
|
||||
border-style: hidden solid solid hidden;
|
||||
border-width: 2px;
|
||||
border-color: @surface2;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
background-color: @crust;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
padding-right: 4px;
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @mauve;
|
||||
}
|
||||
|
||||
#window {
|
||||
font-weight: 500;
|
||||
color: @mauve;
|
||||
min-width: 300px;
|
||||
}
|
||||
|
||||
.modules-center {
|
||||
padding-left: 0.8em;
|
||||
padding-right: 0.8em;
|
||||
|
||||
background-color: @crust;
|
||||
border-radius: 0px 0px 5px 5px;
|
||||
|
||||
border-style: hidden solid solid solid;
|
||||
border-width: 2px;
|
||||
border-color: @surface2;
|
||||
}
|
||||
|
||||
.modules-center .module {
|
||||
min-width: 50px;
|
||||
}
|
||||
|
||||
#custom-gpu {
|
||||
color: @mauve;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: @peach;
|
||||
}
|
||||
|
||||
#disk {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
#network.down {
|
||||
color: @green;
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
#network.up {
|
||||
color: @sapphire;
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
.modules-right {
|
||||
background-color: @crust;
|
||||
padding-left: 0.5em;
|
||||
padding-right: 0.5em;
|
||||
|
||||
border-radius: 0px 0px 0px 5px;
|
||||
|
||||
border-style: hidden hidden solid solid;
|
||||
border-width: 2px;
|
||||
border-color: @surface2;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#tray {
|
||||
padding-left: 0.5em;
|
||||
padding-right: 0.5em;
|
||||
background-color: @base;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#custom-notification {
|
||||
color: @maroon;
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
#custom-lock {
|
||||
color: @lavender;
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
|
||||
#clock {
|
||||
font-weight: 500;
|
||||
padding-right: 0.5em;
|
||||
color: @teal;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue