Commit 39364ea
Changed files (16)
.config
hypr
modules
matugen
waybar
.config/hypr/modules/decorations.conf
@@ -2,8 +2,8 @@ general {
gaps_in = 3
gaps_out = 18
border_size = 1
- col.active_border = rgba(b4befeee)
- col.inactive_border = rgba(595959aa)
+ col.active_border = $primary
+ col.inactive_border = $secondary_container
resize_on_border = true
allow_tearing = false
layout = dwindle
@@ -19,7 +19,7 @@ decoration {
enabled = true
range = 4
render_power = 3
- color = rgba(1a1a1aee)
+ color = $surface_dim
}
blur {
.config/hypr/modules/vars.conf
@@ -1,6 +1,6 @@
$terminal = uwsm-app -- xdg-terminal-exec
$fileManager = smart-launch -n --tui "file-manager" "yazi"
-$browser = zen-browser
+$browser = librewolf
$menu = rofi -show drun
$cliphistMenu = cliphist list | rofi -dmenu -p "" -no-show-icons| cliphist decode | wl-copy
$emojiMenu = rofimoji -a type copy type-numerical
@@ -16,4 +16,4 @@ env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = PATH,$PATH:$HOME/.wraith/bin
env = TERMINAL,ghostty
env = EDITOR,nvim
-env = SSH_AUTH_SOCK,$HOME/.ssh/agent.sock
\ No newline at end of file
+env = SSH_AUTH_SOCK,$HOME/.ssh/agent.sock
.config/hypr/hyprland.conf
@@ -2,6 +2,7 @@ source = ./modules/vars.conf
source = ./modules/windows.conf
source = ./modules/autostarts.conf
source = ./modules/keybinds.conf
+source = ./modules/colors.conf
source = ./modules/decorations.conf
dwindle {
.config/matugen/templates/colors.css
@@ -0,0 +1,7 @@
+/*
+* Css Colors
+* Generated with Matugen
+*/
+<* for name, value in colors *>
+ @define-color {{name}} {{value.default.hex}};
+<* endfor *>
.config/matugen/templates/ghostty
@@ -0,0 +1,22 @@
+background = {{colors.background.default.hex}}
+foreground = {{colors.on_surface.default.hex}}
+cursor-color = {{colors.primary.default.hex}}
+cursor-text = {{colors.on_primary.default.hex}}
+selection-background = {{colors.secondary_container.default.hex}}
+selection-foreground = {{colors.on_secondary_container.default.hex}}
+palette = 0={{colors.surface_container_high.default.hex}}
+palette = 1={{colors.error.default.hex}}
+palette = 2={{colors.primary.default.hex}}
+palette = 3={{colors.tertiary.default.hex}}
+palette = 4={{colors.secondary.default.hex}}
+palette = 5={{colors.primary_fixed.default.hex}}
+palette = 6={{colors.secondary_fixed.default.hex}}
+palette = 7={{colors.on_surface_variant.default.hex}}
+palette = 8={{colors.outline.default.hex}}
+palette = 9={{colors.error_container.default.hex}}
+palette = 10={{colors.primary_container.default.hex}}
+palette = 11={{colors.tertiary_container.default.hex}}
+palette = 12={{colors.secondary_container.default.hex}}
+palette = 13={{colors.inverse_primary.default.hex}}
+palette = 14={{colors.outline_variant.default.hex}}
+palette = 15={{colors.on_surface.default.hex}}
.config/matugen/templates/hyprland-colors.conf
@@ -0,0 +1,4 @@
+$image = {{image}}
+<* for name, value in colors *>
+${{name}} = rgba({{value.default.hex_stripped}}ff)
+<* endfor *>
.config/matugen/templates/rofi-colors.rasi
@@ -0,0 +1,47 @@
+* {
+ primary: {{colors.primary.default.hex}};
+ primary-fixed: {{colors.primary_fixed.default.hex}};
+ primary-fixed-dim: {{colors.primary_fixed_dim.default.hex}};
+ on-primary: {{colors.on_primary.default.hex}};
+ on-primary-fixed: {{colors.on_primary_fixed.default.hex}};
+ on-primary-fixed-variant: {{colors.on_primary_fixed_variant.default.hex}};
+ primary-container: {{colors.primary_container.default.hex}};
+ on-primary-container: {{colors.on_primary_container.default.hex}};
+ secondary: {{colors.secondary.default.hex}};
+ secondary-fixed: {{colors.secondary_fixed.default.hex}};
+ secondary-fixed-dim: {{colors.secondary_fixed_dim.default.hex}};
+ on-secondary: {{colors.on_secondary.default.hex}};
+ on-secondary-fixed: {{colors.on_secondary_fixed.default.hex}};
+ on-secondary-fixed-variant: {{colors.on_secondary_fixed_variant.default.hex}};
+ secondary-container: {{colors.secondary_container.default.hex}};
+ on-secondary-container: {{colors.on_secondary_container.default.hex}};
+ tertiary: {{colors.tertiary.default.hex}};
+ tertiary-fixed: {{colors.tertiary_fixed.default.hex}};
+ tertiary-fixed-dim: {{colors.tertiary_fixed_dim.default.hex}};
+ on-tertiary: {{colors.on_tertiary.default.hex}};
+ on-tertiary-fixed: {{colors.on_tertiary_fixed.default.hex}};
+ on-tertiary-fixed-variant: {{colors.on_tertiary_fixed_variant.default.hex}};
+ tertiary-container: {{colors.tertiary_container.default.hex}};
+ on-tertiary-container: {{colors.on_tertiary_container.default.hex}};
+ error: {{colors.error.default.hex}};
+ on-error: {{colors.on_error.default.hex}};
+ error-container: {{colors.error_container.default.hex}};
+ on-error-container: {{colors.on_error_container.default.hex}};
+ surface: {{colors.surface.default.hex}};
+ on-surface: {{colors.on_surface.default.hex}};
+ on-surface-variant: {{colors.on_surface_variant.default.hex}};
+ outline: {{colors.outline.default.hex}};
+ outline-variant: {{colors.outline_variant.default.hex}};
+ shadow: {{colors.shadow.default.hex}};
+ scrim: {{colors.scrim.default.hex}};
+ inverse-surface: {{colors.inverse_surface.default.hex}};
+ inverse-on-surface: {{colors.inverse_on_surface.default.hex}};
+ inverse-primary: {{colors.inverse_primary.default.hex}};
+ surface-dim: {{colors.surface_dim.default.hex}};
+ surface-bright: {{colors.surface_bright.default.hex}};
+ surface-container-lowest: {{colors.surface_container_lowest.default.hex}};
+ surface-container-low: {{colors.surface_container_low.default.hex}};
+ surface-container: {{colors.surface_container.default.hex}};
+ surface-container-high: {{colors.surface_container_high.default.hex}};
+ surface-container-highest: {{colors.surface_container_highest.default.hex}};
+}
.config/matugen/templates/tmux-colors.conf
@@ -0,0 +1,18 @@
+# Auto-generated by Matugen
+
+set -g status-bg "{{colors.surface_container_lowest.default.hex}}"
+set -gq @thm_bar_bg "{{colors.surface_container_lowest.default.hex}}"
+
+set -gq @thm_bg "{{colors.surface.default.hex}}"
+set -gq @thm_fg "{{colors.on_surface.default.hex}}"
+set -gq @thm_primary "{{colors.primary.default.hex}}"
+set -gq @thm_inverse_primary "{{colors.inverse_primary.default.hex}}"
+set -gq @thm_surface_low "{{colors.surface_container_low.default.hex}}"
+set -gq @thm_surface "{{colors.surface_container.default.hex}}"
+set -gq @thm_surface_variant "{{colors.surface_container_high.default.hex}}"
+set -gq @thm_outline "{{colors.outline_variant.default.hex}}"
+set -gq @thm_text_variant "{{colors.on_surface_variant.default.hex}}"
+
+# Some variables/options must be re-set, which can be done here
+set -g status-style "bg=#{@thm_bg},fg=#{@thm_fg}"
+set -g window-active-style "bg=#{@thm_bg},fg=#{@thm_fg}"
.config/matugen/config.toml
@@ -0,0 +1,20 @@
+[config]
+
+[templates.hyprland]
+input_path = '~/.config/matugen/templates/hyprland-colors.conf'
+output_path = '~/.config/hypr/modules/colors.conf'
+post_hook = 'hyprctl reload'
+
+[templates.waybar]
+input_path = '~/.config/matugen/templates/colors.css'
+output_path = '~/.config/waybar/colors.css'
+post_hook = 'pkill -SIGUSR2 waybar'
+
+[templates.rofi]
+input_path = '~/.config/matugen/templates/rofi-colors.rasi'
+output_path = '~/.config/rofi/colors.rasi'
+
+[templates.swaync]
+input_path = "~/.config/matugen/templates/colors.css"
+output_path = "~/.config/swaync/colors.css"
+post_hook = "swaync-client -rs"
.config/rofi/wraith-template.rasi
@@ -2,7 +2,7 @@
font: "Hack Nerd Font Propo Regular 13";
background-color: transparent;
- text-color: @fg0;
+ text-color: @secondary;
margin: 0px;
padding: 0px;
@@ -15,7 +15,7 @@ window {
width: 480;
border-radius: 7px;
- background-color: @bg0;
+ background-color: @surface;
}
mainbox {
@@ -23,8 +23,8 @@ mainbox {
}
inputbar {
- background-color: @bg1;
- border-color: @bg3;
+ background-color: @surface;
+ border-color: @primary;
border: 1px;
border-radius: 7px;
@@ -35,7 +35,7 @@ inputbar {
}
prompt {
- text-color: @fg2;
+ text-color: @on-surface;
}
entry {
@@ -71,15 +71,15 @@ element {
}
element normal active {
- text-color: @bg3;
+ text-color: @surface;
}
element alternate active {
- text-color: @bg3;
+ text-color: @surface;
}
element selected normal, element selected active {
- background-color: @bg3;
+ background-color: @on-surface;
}
element-icon {
.config/rofi/wraith-theme.rasi
@@ -16,8 +16,9 @@ configuration{
fg3: #4C566A;
}
+@import "./colors.rasi"
@import "./wraith-template.rasi"
element selected {
- text-color: @bg1;
+ text-color: @primary-container;
}
.config/swaync/central_control.css
@@ -1,10 +1,9 @@
-@define-color text @fg0;
-@define-color background-alt @bg1;
-@define-color selected @fg0;
-@define-color hover alpha(@fg0, .4);
-@define-color urgent @red;
-@define-color background @bg0;
-@define-color background-sec @bg2;
+@define-color text @primary;
+@define-color background-alt @secondary_container;
+@define-color selected @secondary_fixed_dim;
+@define-color hover alpha(@secondary_container, .4);
+@define-color urgent @error;
+@define-color background-sec @surface;
* {
color: @text;
.config/swaync/notifications.css
@@ -1,8 +1,8 @@
-@define-color text @fg0;
-@define-color background-alt @bg1;
-@define-color selected @fg0;
-@define-color hover @succ;
-@define-color urgent @errr;
+@define-color text @primary;
+@define-color background-alt @background;
+@define-color selected @secondary;
+@define-color hover @surface;
+@define-color urgent @error;
* {
color: @text;
.config/swaync/style.css
@@ -1,3 +1,3 @@
-@import '../../.wraith/theme/colors.css';
+@import './colors.css';
@import 'notifications.css';
-@import 'central_control.css';
\ No newline at end of file
+@import 'central_control.css';
.config/waybar/style.css
@@ -1,27 +1,29 @@
+@import "colors.css";
+
* {
font-family: "JetBrains Nerd Font Propo",
"Font Awesome 7 Free",
"Font Awesome 7 Free Solid";
font-weight: bold;
font-size: 14px;
- color: #b4befe;
+ color: @primary;
}
tooltip {
- background: #1e1e2e;
- border: 1px solid #b4befe;
+ background: @background;
+ border: 1px solid @outline;
padding: 16px 18px;
border-radius: 5px;
}
menu {
- background: #161320;
- color: #888888;
+ background: @background;
+ color: @on_primary;
border-radius: 7px;
}
menuitem:hover {
- background-color: #888888;
+ background-color: @surface_variant;
}
#waybar {
@@ -38,7 +40,7 @@ menuitem:hover {
#custom-butt-out,
#pulseaudio,
#workspaces.special {
- background-color: #241f31;
+ background-color: @background;
padding: 4px 10px;
font-size: 18px;
margin-top: 10px;
@@ -80,7 +82,7 @@ menuitem:hover {
}
#workspaces.main {
- background-color: #241f31;
+ background-color: @background;
padding: 4px 6px;
margin-top: 6px;
margin-left: 6px;
@@ -98,9 +100,9 @@ menuitem:hover {
#workspaces.main button,
#workspaces.special button {
- background: #241f31;
+ background: @background;
border: none;
- color: #888888;
+ color: @secondary_container;
padding: 0px 8px;
padding-left: 2px;
padding-right: 4px;
@@ -117,11 +119,11 @@ menuitem:hover {
}
#workspaces.main button.active {
- border: 1px solid #888888;
+ border: 1px solid @secondary_container;
min-width: 80px;
}
#workspaces.special button.active {
- border: 1px solid #888888;
+ border: 1px solid @secondary_container;
min-width: 40px;
}
.gitignore
@@ -1,3 +1,7 @@
.config/tmux/plugins/
*.cache
/.config/zsh/plugins/zsh-autosuggestions
+/.config/hypr/modules/colors.conf
+/.config/rofi/colors.rasi
+/.config/swaync/colors.css
+/.config/waybar/colors.css