Centralized color management + minor tweaks and fixes

This commit is contained in:
Gu://em_ 2025-09-10 13:36:39 +02:00
parent 6f0fe77ed5
commit 787bb73379
6 changed files with 12 additions and 13 deletions

View file

@ -1,2 +1,2 @@
preload = ~/.config/hypr/images/wallpaper.jpg preload = ~/.config/hypr/images/wallpaper.JPG
wallpaper = , ~/.config/hypr/images/wallpaper.jpg wallpaper = , ~/.config/hypr/images/wallpaper.JPG

View file

@ -1,5 +1,5 @@
@import url('seventy-nine.css'); @import url('seventy-nine.css');
@define-color control-background alpha(@background_dark, 0.7); @define-color control-background alpha(@background_dark, 0.8);
* { * {

View file

@ -392,7 +392,11 @@
}, },
"custom/battery_percentage": { "custom/battery_percentage": {
"format": "<b>{}</b>", "format": "<b>{}</b>",
"exec": "cat /sys/class/power_supply/BAT*/capacity", //"exec": "cat /sys/class/power_supply/BAT*/capacity",
// Makes battery like if 85% was the maximum capacity (100%).
// Useful for people that limit charge up to a certain percentage but like having real percentage
"exec": "echo $(( $(cat /sys/class/power_supply/BAT*/capacity) * 100 / 85 ))",
"interval": 10, "interval": 10,
"tooltip": false "tooltip": false
}, },

View file

@ -20,7 +20,7 @@ window#waybar {
border-radius: 4px; border-radius: 4px;
border: 1px solid alpha(@active, 0.2); border: 1px solid alpha(@active, 0.2);
background: @background; background: @background;
background: alpha(@background, 0.7); background: alpha(@background, 0.8);
color: @foreground; color: @foreground;
} }
@ -106,10 +106,6 @@ tooltip label {
font-size: 14px; font-size: 14px;
} }
#custom-hotspot {
padding-right: 2px;
}
#custom-vpn, #custom-vpn,
#custom-hotspot { #custom-hotspot {
background: alpha(darker(@active), 0.3); background: alpha(darker(@active), 0.3);
@ -137,7 +133,6 @@ tooltip label {
#custom-github { #custom-github {
padding-top: 2px; padding-top: 2px;
padding-right: 4px;
} }
#custom-dmark { #custom-dmark {

4
.zshrc
View file

@ -77,11 +77,11 @@ setopt correct # 'Did you mean'
# Environment variables # Environment variables
export PATH=$PATH:~/.local/bin export PATH=$PATH:~/.local/bin
export PATH=$PATH:~/.local/share/Xilinx/Vivado/2024.2/bin export PATH=$PATH:~/.local/share/Xilinx/Vivado/2024.2/bin
export EDITOR=nvim export EDITOR=helix
# Aliases # Aliases
alias cl='clear' alias cl='clear'
alias hyprcfg='vim ~/.config/hypr/' alias hyprcfg='$EDITOR ~/.config/hypr/'
alias zcfg='$EDITOR ~/.zshrc' alias zcfg='$EDITOR ~/.zshrc'
alias icat='kitten icat' alias icat='kitten icat'
alias nv='nvim' alias nv='nvim'