Finally pushed my gentoo dotfiles :3
This commit is contained in:
commit
0b55692739
70 changed files with 9750 additions and 0 deletions
170
waybar/config.jsonc
Normal file
170
waybar/config.jsonc
Normal file
|
|
@ -0,0 +1,170 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 30,
|
||||
"width": 2550,
|
||||
"margin-top": 5,
|
||||
"margin-bottom": 0,
|
||||
"modules-left": [
|
||||
"custom/icon",
|
||||
"sway/workspaces"
|
||||
],
|
||||
"modules-center": [
|
||||
"sway/window"
|
||||
],
|
||||
"modules-right": [
|
||||
"cpu",
|
||||
"memory",
|
||||
"disk",
|
||||
"pulseaudio",
|
||||
"clock"
|
||||
],
|
||||
"custom/icon": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"on-click": "rofi -show drun"
|
||||
},
|
||||
"custom/separator": {
|
||||
"format": "|"
|
||||
},
|
||||
"disk": {
|
||||
"interval": 60,
|
||||
"format": " {used}/{total}",
|
||||
"tooltip-format": "{used}/{total}"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": " {usage}%",
|
||||
"tooltip-format": "{usage}%",
|
||||
"on-click": "swaymsg exec gnome-system-monitor"
|
||||
},
|
||||
"sway/workspaces": {
|
||||
"on-click": "activate",
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "1",
|
||||
"2": "2",
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
"5": "5",
|
||||
"6": "6",
|
||||
"7": "7",
|
||||
"8": "8",
|
||||
"9": "9",
|
||||
"10": "10",
|
||||
"focused": ""
|
||||
},
|
||||
"persistent-workspaces": {
|
||||
"1": []
|
||||
}
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"on-click": "activate",
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"default": "",
|
||||
"1": "1",
|
||||
"2": "2",
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
"5": "5",
|
||||
"6": "6",
|
||||
"7": "7",
|
||||
"8": "8",
|
||||
"9": "9",
|
||||
"active": "★"
|
||||
},
|
||||
"persistent-workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": []
|
||||
}
|
||||
},
|
||||
"niri/workspaces": {
|
||||
"on-click": "activate",
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "I",
|
||||
"2": "II",
|
||||
"3": "III",
|
||||
"4": "IV",
|
||||
"5": "V",
|
||||
"6": "VI",
|
||||
"7": "VII",
|
||||
"8": "VIII",
|
||||
"9": "IX",
|
||||
"10": "X",
|
||||
"focused": ""
|
||||
},
|
||||
"persistent-workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": []
|
||||
}
|
||||
},
|
||||
"sway/scratchpad": {
|
||||
"format": " {count}",
|
||||
"show-empty": false,
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{app}: {title}"
|
||||
},
|
||||
"clock#date": {
|
||||
// "format": " {:%a %b %d}",
|
||||
"format": "{:%a %b %d}",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "<tt>{calendar}</tt>"
|
||||
},
|
||||
"clock": {
|
||||
// "format": " {:%I:%M %p}",
|
||||
"format": "{:%I:%M %p}",
|
||||
"tooltip": true,
|
||||
"tooltip-format": false,
|
||||
"on-click": "swaymsg exec gnome-calendar"
|
||||
},
|
||||
"battery": {
|
||||
"interval": 1,
|
||||
"states": {
|
||||
"good": 80,
|
||||
"warning": 30,
|
||||
"critical": 20
|
||||
},
|
||||
"format": " {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-discharging": " {capacity}%",
|
||||
"format-critical": " {capacity}% (Critical!!)",
|
||||
"format-charging-warning": " {capacity}%",
|
||||
"format-charging-critical": " {capacity}%",
|
||||
"format-discharging-critical": " {capacity}% (critical!!)",
|
||||
"tooltip-format": "{time} remaining",
|
||||
"tooltip-format-charging": "{time} until full",
|
||||
"tooltip-format-discharging": "{time} remaining",
|
||||
"on-click": "swaymsg exec gnome-control-center power"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "format": " {volume}%",
|
||||
"format": " {volume}%",
|
||||
"format-muted": " M",
|
||||
"tooltip-format": "{desc}"
|
||||
},
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"scroll-step": 5,
|
||||
"format": " {percent}%",
|
||||
"tooltip": false
|
||||
},
|
||||
"memory": {
|
||||
"interval": 1,
|
||||
"format": " {used}GiB/{total}GiB",
|
||||
"tooltip-format": "{used}/{total} GiB",
|
||||
"on-click": "swaymsg exec gnome-system-monitor"
|
||||
},
|
||||
"custom/power": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"on-click": "wlogout"
|
||||
}
|
||||
}
|
||||
107
waybar/style.css
Normal file
107
waybar/style.css
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
@import "themes/gruvbox.css";
|
||||
|
||||
* {
|
||||
/* background-color: @foreground; */
|
||||
color: @foreground;
|
||||
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-height: 0;
|
||||
font-family: "JetBrainsMono Nerd Font", monospace;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.modules-left {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.modules-right {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
#waybar {
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
border-radius: 120px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
all: initial;
|
||||
padding: 0 6px;
|
||||
margin: 0 1.5px;
|
||||
min-width: 9px;
|
||||
}
|
||||
|
||||
#workspaces button.empty {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
color: @critical;
|
||||
}
|
||||
|
||||
#scratchpad,
|
||||
#cpu,
|
||||
#disk,
|
||||
#memory,
|
||||
#battery,
|
||||
#clock,
|
||||
#pulseaudio,
|
||||
#backlight,
|
||||
#custom-icon,
|
||||
|
||||
#custom-power {
|
||||
min-width: 12px;
|
||||
margin: 0 7.5px;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#custom-power {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
#custom-separator {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
#scratchpad {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
#battery.critical {
|
||||
color: @critical;
|
||||
}
|
||||
|
||||
#battery.warning {
|
||||
color: @warning;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: @good;
|
||||
}
|
||||
|
||||
@keyframes blink-critical {
|
||||
0% {
|
||||
color: @background;
|
||||
}
|
||||
|
||||
50% {
|
||||
color: @critical;
|
||||
}
|
||||
|
||||
100% {
|
||||
color: @background;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.critical {
|
||||
animation: blink-critical 1s infinite;
|
||||
color: @critical;
|
||||
}
|
||||
19
waybar/themes/gruvbox.css
Normal file
19
waybar/themes/gruvbox.css
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
@define-color background #282828;
|
||||
@define-color background-alt #3c3836;
|
||||
@define-color foreground #ebdbb2;
|
||||
|
||||
@define-color warning #fabd2f;
|
||||
@define-color critical #fb4934;
|
||||
@define-color good #b8bb26;
|
||||
|
||||
/* Module Colors */
|
||||
@define-color scratchpad #d3869b;
|
||||
@define-color disk #83a598;
|
||||
@define-color cpu #fe8019;
|
||||
@define-color memory #b8bb26;
|
||||
@define-color temperature #fb4934;
|
||||
@define-color network #8ec07c;
|
||||
@define-color pulseaudio #d3869b;
|
||||
@define-color backlight #fabd2f;
|
||||
@define-color battery #b8bb26;
|
||||
@define-color clock #ebdbb2;
|
||||
Loading…
Add table
Add a link
Reference in a new issue