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

@ -15,4 +15,4 @@
/* @define-color accentColor #b6c8d3; */
@define-color accentColor #ec775c;
@define-color charging #6bc46d;
@define-color charging #6bc46d;

View file

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

View file

@ -1,5 +1,5 @@
@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": {
"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,
"tooltip": false
},

View file

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

4
.zshrc
View file

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