dotfiles for nitro5
This commit is contained in:
@@ -0,0 +1,185 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"height": 30,
|
||||
"spacing": 5,
|
||||
// Choose the order of the modules
|
||||
"modules-left": [
|
||||
"group/group-cpu",
|
||||
"hyprland/workspaces"
|
||||
],
|
||||
"modules-center": [
|
||||
"hyprland/window"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/pacman",
|
||||
"tray",
|
||||
"network",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"battery",
|
||||
"clock",
|
||||
"group/group-power"
|
||||
],
|
||||
"hyprland/window": {
|
||||
"separate-outputs": true
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"6": "",
|
||||
"7": "",
|
||||
"8": " ",
|
||||
"9": "",
|
||||
"10": "",
|
||||
"urgent": "",
|
||||
"default": ""
|
||||
},
|
||||
"sort-by-number": true
|
||||
},
|
||||
"tray": {
|
||||
//"icon-size": 21,
|
||||
"spacing": 10
|
||||
},
|
||||
"custom/pacman": {
|
||||
"interval": 3600,
|
||||
"return-type": "json",
|
||||
"exec": "pacman-updates",
|
||||
"exec-if": "exit 0",
|
||||
"on-click": "kitty -e 'paru'; pkill -SIGRTMIN+8 waybar",
|
||||
"signal": 8
|
||||
},
|
||||
"clock": {
|
||||
"tooltip-format": "{:%A, %B %d, %Y}",
|
||||
"format": "{:%H:%M}"
|
||||
},
|
||||
"battery": {
|
||||
"interval": 10,
|
||||
"format": "{icon}",
|
||||
"format-charging": "",
|
||||
"format-icons": [ "", "", "", "", "", "", "", "", "", "", "" ],
|
||||
"tooltip-format": "{capacity}% capacity"
|
||||
},
|
||||
"network": {
|
||||
"interval": 60,
|
||||
"format": "{ifname}",
|
||||
"format-wifi": "{essid}", //
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "Connected to {essid}",
|
||||
"on-click": "gnome-terminal -- nmtui"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"default": ["", "", ""],
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
},
|
||||
"tooltip-format": "{volume}% volume",
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"group/group-power": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"children-class": "not-power",
|
||||
"transition-left-to-right": false
|
||||
},
|
||||
"modules": [
|
||||
"user", // First element is the "group leader" and won't ever be hidden
|
||||
"idle_inhibitor",
|
||||
"custom/quit",
|
||||
"custom/sleep",
|
||||
"custom/lock",
|
||||
"custom/reboot",
|
||||
"custom/power"
|
||||
]
|
||||
},
|
||||
"custom/quit": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-triple-click": "hyprctl dispatch exit"
|
||||
},
|
||||
"custom/lock": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "hyprlock"
|
||||
},
|
||||
"custom/sleep": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-triple-click": "systemctl suspend; hyprlock"
|
||||
},
|
||||
"custom/reboot": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-triple-click": "reboot"
|
||||
},
|
||||
"custom/power": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-triple-click": "shutdown now"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"tooltip": true,
|
||||
"tooltip-format-activated": "Idle inhibitor on",
|
||||
"tooltip-format-deactivated": "Idle inhibitor off"
|
||||
},
|
||||
"user": {
|
||||
"format": "{user} ",
|
||||
"interval": 60,
|
||||
"height": 30,
|
||||
"width": 30,
|
||||
"icon": false,
|
||||
}
|
||||
,
|
||||
"backlight": {
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": ["", "", ""]
|
||||
},
|
||||
"group/group-cpu": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"children-class": "not-cpu",
|
||||
"transition-right-to-left": true
|
||||
},
|
||||
"modules": [
|
||||
"custom/arch", // First element is the "group leader" and won't ever be hidden
|
||||
"cpu",
|
||||
"memory"
|
||||
]
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"max-length": 10
|
||||
},
|
||||
"custom/arch": {
|
||||
"format": " ",
|
||||
"tooltip": false
|
||||
},
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {used:0.1f}G/{total:0.1f}G"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,205 @@
|
||||
@define-color base #1e1e2e;
|
||||
@define-color mantle #181825;
|
||||
@define-color crust rgba(0, 0, 0, 0);
|
||||
|
||||
@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;
|
||||
|
||||
* {
|
||||
font-family: Cantarell, Symbols Nerd Font;
|
||||
font-weight: bolder;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
transition-property: background-color;
|
||||
transition-duration: .5s;
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
window#waybar.termite {
|
||||
background-color: #3F3F3F;
|
||||
}
|
||||
|
||||
window#waybar.chromium {
|
||||
background-color: #000000;
|
||||
border: none;
|
||||
}
|
||||
|
||||
button {
|
||||
/* Use box-shadow instead of border so the text isn't offset */
|
||||
box-shadow: inset 0 -3px transparent;
|
||||
/* Avoid rounded borders under each button name */
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
|
||||
#workspaces button:hover {
|
||||
color: @blue;
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
background: @crust;
|
||||
border: @crust;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0px;
|
||||
color: @surface2;
|
||||
margin: 2px;
|
||||
transition: color 200ms ease-in-out;
|
||||
}
|
||||
|
||||
#workspaces button.selected {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#battery,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#backlight,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#wireplumber,
|
||||
#custom-pacman,
|
||||
#tray,
|
||||
#mode,
|
||||
#idle_inhibitor,
|
||||
#scratchpad,
|
||||
#mpd {
|
||||
padding: 0 2px;
|
||||
color: @text;
|
||||
border-radius: 15px;
|
||||
margin: 2px 0;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
#clock {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#custom-pacman {
|
||||
color: @peach;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
color: @mauve;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
color: @surface2;
|
||||
}
|
||||
|
||||
#network {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
color: @surface2;
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#group-power {
|
||||
color: @maroon;
|
||||
}
|
||||
|
||||
#group-cpu {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
#custom-reboot {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
#custom-lock {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
#custom-quit {
|
||||
color: @lavender;
|
||||
}
|
||||
|
||||
#custom-sleep {
|
||||
color: @sky;
|
||||
}
|
||||
|
||||
#keyboard-state > label {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#keyboard-state > label.locked {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#scratchpad {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#scratchpad.empty {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#tray menu {
|
||||
background-color: rgba(0, 0, 0, 0.25); /* Transparent background */
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user