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:
2025-09-22 13:23:25 +02:00
parent 5025600498
commit 3e423d0271
6 changed files with 95 additions and 179 deletions

View File

@@ -1,4 +1,4 @@
#? Config file for btop v. 1.4.4 #? Config file for btop v. 1.4.5
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
@@ -115,6 +115,9 @@ cpu_bottom = False
#* Shows the system uptime in the CPU box. #* Shows the system uptime in the CPU box.
show_uptime = True show_uptime = True
#* Shows the CPU package current power consumption in watts. Requires running `make setcap` or `make setuid` or running with sudo.
show_cpu_watts = True
#* Show cpu temperature. #* Show cpu temperature.
check_temp = True check_temp = True

View File

@@ -6,3 +6,4 @@ exec-once = uwsm app -- mangohud steam
exec-once = uwsm app -- kdeconnect-indicator exec-once = uwsm app -- kdeconnect-indicator
exec-once = uwsm app -- waybar exec-once = uwsm app -- waybar
exec-once = uwsm app -- hyprpaper exec-once = uwsm app -- hyprpaper
exec-once = openrgb -c white

View File

@@ -1,3 +1,3 @@
monitor = DP-1, 2560x1440@180.06, 0x0, 1, bitdepth, 10, cm, hdr, sdrbrightness, 1.3, sdrsaturation, 0.99 monitor = DP-1, 2560x1440@180.06, 0x0, 1.25, bitdepth, 10, cm, hdr, sdrbrightness, 1.3, sdrsaturation, 0.8, vrr, 1
monitor = DP-2, 1920x1080@144, auto-left, 1 monitor = DP-2, 1920x1080@144, auto-left, 1, vrr, 1
monitor = , preferred, auto, 1 monitor = , preferred, auto, 1

View File

@@ -2,5 +2,3 @@ windowrule = workspace 1 silent, class:^(vesktop)$
windowrule = noinitialfocus, class:^(vesktop)$ windowrule = noinitialfocus, class:^(vesktop)$
windowrule = focusonactivate 0, class:^(vesktop)$ windowrule = focusonactivate 0, class:^(vesktop)$
windowrule = renderunfocused, class:^(vesktop)$ windowrule = renderunfocused, class:^(vesktop)$
windowrule = pseudo, class:^(vesktop)$
windowrule = size 65% 80%, class:^(vesktop)$

View File

@@ -1,92 +1,76 @@
// -*- mode: jsonc -*- // -*- mode: jsonc -*-
{ {
"layer": "top", // Waybar at top layer "layer": "top", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right) "position": "right", // Waybar position (top|bottom|left|right)
"spacing": 5, // Gaps between modules (4px) "spacing": 4, // Gaps between modules (4px)
"output": "DP-1", "output": "DP-1",
// Choose the order of the modules // Choose the order of the modules
"modules-left": [ "modules-left": [
"clock",
"custom/notifications",
"network",
"privacy", "privacy",
"tray",
"custom/spotify", "custom/spotify",
"custom/media" "pulseaudio"
], ],
"modules-center": [ "modules-center": [
"clock", "hyprland/workspaces"
], ],
"modules-right": [ "modules-right": [
"group/hardware",
"pulseaudio",
"custom/notifications",
"battery", "battery",
"tray"
], ],
"hyprland/workspaces": { "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": { "tray": {
"spacing": 10 "spacing": 10
}, },
"clock": { "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>", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}" "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>"
}, },
"group/hardware": { "actions": {
"orientation": "inherit", "on-click-right": "mode",
"drawer": { "on-scroll-up": "tz_up",
"transition-duration": 500, "on-scroll-down": "tz_down"
"children-class": "not-power", }
"transition-left-to-right": true,
}, },
"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": { "network": {
"format-wifi": "Wifi: {essid} ({signalStrength}%)  ", "format-wifi": "Wifi: {essid} ({signalStrength}%)  ",
"format-ethernet": "Ethernet:  ", "format-ethernet": "",
"tooltip-format": "{ifname} via {gwaddr} with {ipaddr}/{cidr} ", "tooltip-format": "{ifname} via {gwaddr} with {ipaddr}/{cidr} ",
"format-linked": "{ifname} (No IP) ", "format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠", "format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}" "on-click": "kitty nmtui"
}, },
"pulseaudio": { "pulseaudio": {
// "scroll-step": 1, // %, can be a float // "scroll-step": 1, // %, can be a float
@@ -110,7 +94,7 @@
] ]
}, },
"on-click": "pavucontrol -t 3", "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": { "custom/spotify": {
"format": "{}", "format": "{}",
@@ -123,10 +107,7 @@
"hide-empty-text": true, "hide-empty-text": true,
"justify": "center", "justify": "center",
"max-length": 40, "max-length": 40,
"exec": "$HOME/.config/waybar/scripts/mediaplayer.sh spotify", "exec": "$HOME/.config/waybar/scripts/mediaplayer.sh spotify"
},
"custom/hardware": {
"format": "<big></big>",
}, },
"custom/notifications": { "custom/notifications": {
"format": "<big>{text}</big>", "format": "<big>{text}</big>",
@@ -135,6 +116,6 @@
"exec-on-event": "~/.local/bin/check-do-not-disturb.sh show", "exec-on-event": "~/.local/bin/check-do-not-disturb.sh show",
"tooltip": false, "tooltip": false,
"return-type": "text", "return-type": "text",
"signal": 2, "signal": 2
}, }
} }

View File

@@ -1,143 +1,76 @@
@import "./colors.css"; @import "./colors.css";
/* Global styles */
* { * {
transition: 0.4s all ease-in-out; transition: 0.7s all ease-in-out;
font-family: "Cousine Nerd Font Mono";
font-size: 16px; font-size: 16px;
padding: 2px; font-family: inherit;
margin: 1px 4px; padding: 3px;
margin: 1px 2px;
color: @text; color: @text;
text-shadow: none;
border-radius: 12px; border-radius: 12px;
min-width: 20px;
} }
*:hover { *:hover {
text-shadow: none; text-shadow: none;
} }
window { /* Window */
background-color: @base;
margin: 1px;
}
window#waybar { window#waybar {
background: @surface0; background-color: @base;
border-radius: 12px;
} }
/* modules */ /* Workspaces */
#workspaces button { #workspaces button {
background-color: @surface1; padding: 2px;
margin-left: 5px; margin: 1px;
color: @text; background: transparent;
color: @lavender;
box-shadow: inset 0 1.5px;
} }
#workspaces button:hover { #workspaces button:hover {
background-color: @blue; background-color: @surface1;
color: @base; box-shadow: inset 2px 5px;
}
#workspaces button.active {
box-shadow: inset 1px 4px 0 1px;
background-color: @surface0;
} }
#workspaces button.urgent { #workspaces button.urgent {
background-color: @red; background-color: @red;
animation: blink;
animation-duration: 2s;
} }
/* Clock */
#clock { #clock {
margin: 10px; font-style: oblique;
opacity: 1;
} }
tooltip { /* Modules */
background-color: @surface1; .modules-left,
color: @text; .modules-right,
.modules-center {
background-color: @crust;
} }
menu { /* Tray */
background-color: @surface1; #tray>.needs-attention {
border-radius: 10px; background-color: @red;
} }
/* moduły */ /* Custom */
#media, #custom-spotify:hover {
#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;
background-color: @green; background-color: @green;
} }
#battery.critical:not(.charging) { #network:hover {
background-color: @red; background-color: @sky;
color: @base;
animation-name: blink;
animation-duration: 1s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
} }
@keyframes blink { #custom-notifications:hover {
to { background-color: @sapphire;
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;
} }