From 787bb7337933eb133f6dc377de9204958bbc5d24 Mon Sep 17 00:00:00 2001 From: "Gu://em_" Date: Wed, 10 Sep 2025 13:36:39 +0200 Subject: [PATCH] Centralized color management + minor tweaks and fixes --- .config/colors/colors.css | 2 +- .config/hypr/hyprpaper.conf | 4 ++-- .config/swaync/style.css | 2 +- .config/waybar/config.jsonc | 6 +++++- .config/waybar/style.css | 7 +------ .zshrc | 4 ++-- 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.config/colors/colors.css b/.config/colors/colors.css index 9353b0e..c6304d5 100644 --- a/.config/colors/colors.css +++ b/.config/colors/colors.css @@ -15,4 +15,4 @@ /* @define-color accentColor #b6c8d3; */ @define-color accentColor #ec775c; -@define-color charging #6bc46d; \ No newline at end of file +@define-color charging #6bc46d; diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf index 246b059..51bf3ef 100644 --- a/.config/hypr/hyprpaper.conf +++ b/.config/hypr/hyprpaper.conf @@ -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 diff --git a/.config/swaync/style.css b/.config/swaync/style.css index 5c76f1f..22034b2 100644 --- a/.config/swaync/style.css +++ b/.config/swaync/style.css @@ -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); * { diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index e76e37a..a147e99 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -392,7 +392,11 @@ }, "custom/battery_percentage": { "format": "{}", - "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 }, diff --git a/.config/waybar/style.css b/.config/waybar/style.css index d1b1bd1..93653d9 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -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 { diff --git a/.zshrc b/.zshrc index 1dcd74b..b838f64 100644 --- a/.zshrc +++ b/.zshrc @@ -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'