mirror of
https://github.com/szymon-jozef/superior_dotfiles.git
synced 2026-09-07 12:10:38 +02:00
Update .config/btop/btop.conf
Update .config/hypr/hyprland/exec.conf Update .config/hypr/hyprland/monitors.conf Update .config/hypr/hyprland/rules/vesktop.conf Update .config/waybar/config.jsonc Update .config/waybar/style.css
This commit is contained in:
@@ -1,92 +1,76 @@
|
||||
// -*- mode: jsonc -*-
|
||||
{
|
||||
"layer": "top", // Waybar at top layer
|
||||
"position": "top", // Waybar position (top|bottom|left|right)
|
||||
"spacing": 5, // Gaps between modules (4px)
|
||||
"position": "right", // Waybar position (top|bottom|left|right)
|
||||
"spacing": 4, // Gaps between modules (4px)
|
||||
"output": "DP-1",
|
||||
// Choose the order of the modules
|
||||
"modules-left": [
|
||||
"clock",
|
||||
"custom/notifications",
|
||||
"network",
|
||||
"privacy",
|
||||
"tray",
|
||||
"custom/spotify",
|
||||
"custom/media"
|
||||
"pulseaudio"
|
||||
],
|
||||
"modules-center": [
|
||||
"clock",
|
||||
"hyprland/workspaces"
|
||||
],
|
||||
"modules-right": [
|
||||
"group/hardware",
|
||||
"pulseaudio",
|
||||
"custom/notifications",
|
||||
"battery",
|
||||
"tray"
|
||||
],
|
||||
"hyprland/workspaces": {
|
||||
"active-only": true,
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"on-click-right": "close",
|
||||
"all-outputs": true,
|
||||
"active-only": false,
|
||||
"sort-by-number": true,
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"8": "",
|
||||
"9": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
"format": "<big>{:%H:%M}</big>",
|
||||
"format": "<big>{:%R}</big>",
|
||||
"format-alt": "<small>{:%d.%m.%Y}</small>",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format-alt": "{:%Y-%m-%d}"
|
||||
},
|
||||
"group/hardware": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"children-class": "not-power",
|
||||
"transition-left-to-right": true,
|
||||
"calendar": {
|
||||
"mode": "year",
|
||||
"mode-mon-col": 3,
|
||||
"weeks-pos": "right",
|
||||
"on-scroll": 1,
|
||||
"format": {
|
||||
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
||||
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
||||
},
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-scroll-up": "tz_up",
|
||||
"on-scroll-down": "tz_down"
|
||||
}
|
||||
},
|
||||
"modules": [
|
||||
"custom/hardware",
|
||||
"temperature",
|
||||
"memory",
|
||||
"disk",
|
||||
"cpu",
|
||||
"network",
|
||||
],
|
||||
},
|
||||
"temperature": {
|
||||
"format": "|TEMP: {temperatureC}%|",
|
||||
"tooltip": false,
|
||||
},
|
||||
"memory": {
|
||||
"format": "|RAM: {percentage}%|",
|
||||
},
|
||||
"disk": {
|
||||
"format": "|DISK: {percentage_used}%|",
|
||||
"tooltip": false,
|
||||
},
|
||||
"cpu": {
|
||||
"format": "|CPU: {usage}%|",
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
},
|
||||
"format": "|{capacity}% {icon}|",
|
||||
"format-charging": "|{capacity}% |",
|
||||
"format-plugged": "|{capacity}% |",
|
||||
"format-alt": "|{time} {icon}|",
|
||||
"format-full": "",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"network": {
|
||||
"format-wifi": "Wifi: {essid} ({signalStrength}%) ",
|
||||
"format-ethernet": "Ethernet: ",
|
||||
"format-ethernet": "",
|
||||
"tooltip-format": "{ifname} via {gwaddr} with {ipaddr}/{cidr} ",
|
||||
"format-linked": "{ifname} (No IP) ",
|
||||
"format-linked": "{ifname} (No IP) ",
|
||||
"format-disconnected": "Disconnected ⚠",
|
||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||
"on-click": "kitty nmtui"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
@@ -110,7 +94,7 @@
|
||||
]
|
||||
},
|
||||
"on-click": "pavucontrol -t 3",
|
||||
"on-click-right": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||
"on-click-right": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
||||
},
|
||||
"custom/spotify": {
|
||||
"format": "{}",
|
||||
@@ -123,10 +107,7 @@
|
||||
"hide-empty-text": true,
|
||||
"justify": "center",
|
||||
"max-length": 40,
|
||||
"exec": "$HOME/.config/waybar/scripts/mediaplayer.sh spotify",
|
||||
},
|
||||
"custom/hardware": {
|
||||
"format": "<big></big>",
|
||||
"exec": "$HOME/.config/waybar/scripts/mediaplayer.sh spotify"
|
||||
},
|
||||
"custom/notifications": {
|
||||
"format": "<big>{text}</big>",
|
||||
@@ -135,6 +116,6 @@
|
||||
"exec-on-event": "~/.local/bin/check-do-not-disturb.sh show",
|
||||
"tooltip": false,
|
||||
"return-type": "text",
|
||||
"signal": 2,
|
||||
},
|
||||
"signal": 2
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,143 +1,76 @@
|
||||
@import "./colors.css";
|
||||
|
||||
/* Global styles */
|
||||
* {
|
||||
transition: 0.4s all ease-in-out;
|
||||
font-family: "Cousine Nerd Font Mono";
|
||||
transition: 0.7s all ease-in-out;
|
||||
font-size: 16px;
|
||||
padding: 2px;
|
||||
margin: 1px 4px;
|
||||
font-family: inherit;
|
||||
padding: 3px;
|
||||
margin: 1px 2px;
|
||||
color: @text;
|
||||
text-shadow: none;
|
||||
border-radius: 12px;
|
||||
min-width: 20px;
|
||||
}
|
||||
|
||||
*:hover {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
window {
|
||||
background-color: @base;
|
||||
margin: 1px;
|
||||
}
|
||||
|
||||
/* Window */
|
||||
window#waybar {
|
||||
background: @surface0;
|
||||
border-radius: 12px;
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
/* modules */
|
||||
/* Workspaces */
|
||||
#workspaces button {
|
||||
background-color: @surface1;
|
||||
margin-left: 5px;
|
||||
color: @text;
|
||||
padding: 2px;
|
||||
margin: 1px;
|
||||
background: transparent;
|
||||
color: @lavender;
|
||||
box-shadow: inset 0 1.5px;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background-color: @blue;
|
||||
color: @base;
|
||||
background-color: @surface1;
|
||||
box-shadow: inset 2px 5px;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
box-shadow: inset 1px 4px 0 1px;
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: @red;
|
||||
animation: blink;
|
||||
animation-duration: 2s;
|
||||
}
|
||||
|
||||
/* Clock */
|
||||
#clock {
|
||||
margin: 10px;
|
||||
font-style: oblique;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
/* Modules */
|
||||
.modules-left,
|
||||
.modules-right,
|
||||
.modules-center {
|
||||
background-color: @crust;
|
||||
}
|
||||
|
||||
menu {
|
||||
background-color: @surface1;
|
||||
border-radius: 10px;
|
||||
/* Tray */
|
||||
#tray>.needs-attention {
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
/* moduły */
|
||||
#media,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#battery {
|
||||
border-radius: 12px;
|
||||
margin: 5px;
|
||||
background-color: @surface2;
|
||||
}
|
||||
|
||||
#tray {
|
||||
background-color: @surface1;
|
||||
border-radius: 5px;
|
||||
padding: 5px;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
#tray:hover {
|
||||
background-color: @blue;
|
||||
color: @base;
|
||||
}
|
||||
|
||||
/* battery */
|
||||
#battery.warning:not(.charging) {
|
||||
background: @yellow;
|
||||
color: @base;
|
||||
animation-name: blink;
|
||||
animation-duration: 1s;
|
||||
animation-timing-function: steps(12);
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#battery.charging,
|
||||
#battery.plugged {
|
||||
color: @base;
|
||||
/* Custom */
|
||||
#custom-spotify:hover {
|
||||
background-color: @green;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: @red;
|
||||
color: @base;
|
||||
animation-name: blink;
|
||||
animation-duration: 1s;
|
||||
animation-timing-function: steps(12);
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
#network:hover {
|
||||
background-color: @sky;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: @red;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
/* spotify */
|
||||
#custom-spotify {
|
||||
background-color: rgba(100, 149, 237, 0.2);
|
||||
/* delikatny niebieski */
|
||||
color: @text;
|
||||
padding: 10px;
|
||||
margin: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#custom-spotify:hover {
|
||||
background-color: rgba(100, 149, 237, 0.8);
|
||||
color: @base;
|
||||
}
|
||||
|
||||
/* notifications, hardware */
|
||||
#custom-notifications {
|
||||
border-radius: 5px;
|
||||
padding: 5px;
|
||||
margin: 5px;
|
||||
background-color: @surface2;
|
||||
}
|
||||
|
||||
#custom-hardware {
|
||||
border-radius: 10px;
|
||||
margin: 4px;
|
||||
background-color: @surface2;
|
||||
#custom-notifications:hover {
|
||||
background-color: @sapphire;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user