Centralized color management and small other changes

This commit is contained in:
Gu://em_ 2025-06-18 12:07:51 +02:00
parent 602e3f2f97
commit fad4736225
14 changed files with 52 additions and 59 deletions

View file

@ -25,6 +25,7 @@ enabled=true
[clipboard]
enabled=true
persistent=true
trigger=" "
[files]
enabled=false
@ -87,6 +88,9 @@ command_reboot=reboot
enabled=true
trigger=sys
[timer]
enabled=true
[triggers]
trigger=?

18
.config/colors/colors.css Normal file
View file

@ -0,0 +1,18 @@
/* Swaync */
@define-color active #ec775c;
@define-color background_dark #1c2128;
@define-color background_light #22272e;
@define-color background_transparent alpha(#18191c, 0.7);
@define-color foreground #e4e8ed;
@define-color border #444C56;
@define-color alert #ea4545;
/* Waybar */
@define-color foreground #e4e8ed;
@define-color background #18191c;
/* @define-color accentColor #b6c8d3; */
@define-color accentColor #ec775c;
@define-color charging #6bc46d;

View file

@ -0,0 +1,2 @@
$active_color = rgba(98C1D9FF)
$inactive_color = rgba(595959aa)

View file

@ -1,20 +0,0 @@
@define-color foreground #f5dbb0;
@define-color background #0C0D0F;
@define-color cursor #f5dbb0;
@define-color color0 #0C0D0F;
@define-color color1 #9A6130;
@define-color color2 #95725E;
@define-color color3 #D68A38;
@define-color color4 #B48666;
@define-color color5 #D69B64;
@define-color color6 #F1B268;
@define-color color7 #f5dbb0;
@define-color color8 #ab997b;
@define-color color9 #FF0000;
@define-color color10 #95725E;
@define-color color11 #D68A38;
@define-color color12 #B48666;
@define-color color13 #D69B64;
@define-color color14 #F1B268;
@define-color color15 #f5dbb0;

View file

@ -1,7 +0,0 @@
@define-color foreground #e4e8ed;
@define-color background #18191c;
/* @define-color accentColor #b6c8d3; */
@define-color accentColor #ec775c;
@define-color charging #6bc46d;

View file

@ -3,9 +3,7 @@
#####################
# Refer to https://wiki.hyprland.org/Configuring/Variables/
$active_color = rgba(98C1D9FF)
$inactive_color = rgba(595959aa)
source = ~/.config/hypr/config/colors.conf
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
@ -167,6 +165,23 @@ windowrule=nodim,class:^(albert)$
windowrule=pseudo, class:(org.prismlauncher.PrismLauncher)
windowrule=size 65% 70%, class:(org.prismlauncher.PrismLauncher), title:^(Prism Launcher .*)$
# Nautilus
windowrule=pseudo, class:(org.gnome.Nautilus)
windowrule=size 65% 70%, class:(org.gnome.Nautilus) initialTitle:^(Loading…)$
# Kitty
#windowrule=pseudo, class:(kitty)
#windowrule=size 80% 80%, class:(kitty)
# Vivado
## Loading screen
windowrule=float, class:(ui-PlanAhead)
windowrule=size 397 295, class:(ui-PlanAhead) title:^(win0)$
windowrule=center, class:(ui-PlanAhead)
## Main window
windowrule=tile, class:(Vivado)
# TODO Automatically fullscreen single apps
# - Seems impossible for now (try mixing with workspace rules)

View file

@ -0,0 +1 @@
../../colors/hyprland.conf

View file

@ -21,6 +21,10 @@ exec-once = ~/.config/hypr/scripts/autostart.sh
# Or execute your favorite apps at launch like this:
# exec-once = firefox
# Testing clipboard managers
exec-once = wl-paste --type text --watch cliphist store # Stores only text data
exec-once = wl-paste --type image --watch cliphist store # Stores only image data
#############################
### ENVIRONMENT VARIABLES ###

View file

@ -9,7 +9,7 @@
source = ~/.config/hypr/config/monitors/mirror.conf
source = ~/.config/hypr/config/environment.conf
source = ~/.config/hypr/config/input.conf
source = ~/.config/hypr/config/kb_layouts/fr.conf
source = ~/.config/hypr/config/kb_layouts/us.conf
source = ~/.config/hypr/config/appearance.conf
source = ~/.config/hypr/config/plugins.conf
#source = ~/.config/hypr/config/fast-mod.conf

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

View file

@ -1 +1 @@
fr
en

View file

@ -1,20 +0,0 @@
@define-color foreground #f5dbb0;
@define-color background #0C0D0F;
@define-color cursor #f5dbb0;
@define-color color0 #0C0D0F;
@define-color color1 #9A6130;
@define-color color2 #95725E;
@define-color color3 #D68A38;
@define-color color4 #B48666;
@define-color color5 #D69B64;
@define-color color6 #F1B268;
@define-color color7 #f5dbb0;
@define-color color8 #ab997b;
@define-color color9 #FF0000;
@define-color color10 #95725E;
@define-color color11 #D68A38;
@define-color color12 #B48666;
@define-color color13 #D69B64;
@define-color color14 #F1B268;
@define-color color15 #f5dbb0;

1
.config/swaync/colors.css Symbolic link
View file

@ -0,0 +1 @@
../colors/colors.css

View file

@ -1,7 +0,0 @@
@define-color foreground #e4e8ed;
@define-color background #18191c;
/* @define-color accentColor #b6c8d3; */
@define-color accentColor #ec775c;
@define-color charging #6bc46d;

1
.config/waybar/colors.css Symbolic link
View file

@ -0,0 +1 @@
../colors/colors.css

1
.zshrc
View file

@ -85,6 +85,7 @@ alias hyprcfg='vim ~/.config/hypr/'
alias zcfg='$EDITOR ~/.zshrc'
alias icat='kitten icat'
alias nv='nvim'
alias hx='helix'
alias cg='cargo'
alias rqr='rust-quick-run.sh'
alias vm='quickemu --vm *.conf'