feat(colors): Default to catppuccin latte/mocha and some switcher

This commit is contained in:
js0ny 2025-04-15 09:41:09 +01:00
parent 2273b15416
commit 94461cdebb
32 changed files with 2487 additions and 1348 deletions

View file

@ -20,7 +20,7 @@ $fileManager = dolphin
$menu = rofi
$iconTheme = Papirus
source=~/.config/hypr/hyprland/dark.conf
source=~/.config/hypr/hyprland/current.conf
source=~/.config/hypr/hyprland/keymaps.conf
source=~/.config/hypr/hyprland/+colemak.conf
source=~/.config/hypr/hyprland/rules.conf
@ -115,8 +115,8 @@ env = LC_CTYPE,en_GB.UTF-8
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
gaps_in = 5
gaps_out = 20
gaps_in = 0
gaps_out = 0
border_size = 3
@ -137,11 +137,11 @@ general {
# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
rounding = 10
rounding = 0
# Change transparency of focused and unfocused windows
active_opacity = 0.97
inactive_opacity = 0.90
active_opacity = 0.9
inactive_opacity = 0.6
shadow {
enabled = true
@ -153,8 +153,8 @@ decoration {
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
enabled = true
size = 3
passes = 1
size = 10
passes = 2
vibrancy = 0.1696
}
@ -176,6 +176,7 @@ animations {
animation = border, 1, 5.39, easeOutQuint
animation = windows, 1, 4.79, easeOutQuint
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
# animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
animation = windowsOut, 1, 1.49, linear, popin 87%
animation = fadeIn, 1, 1.73, almostLinear
animation = fadeOut, 1, 1.46, almostLinear
@ -185,20 +186,12 @@ animations {
animation = layersOut, 1, 1.5, linear, fade
animation = fadeLayersIn, 1, 1.79, almostLinear
animation = fadeLayersOut, 1, 1.39, almostLinear
animation = workspaces, 1, 1.94, almostLinear, fade
animation = workspacesIn, 1, 1.21, almostLinear, fade
animation = workspacesOut, 1, 1.94, almostLinear, fade
animation = workspaces, 1, 1.94, almostLinear, slide
animation = workspacesIn, 1, 1.21, almostLinear, slide
animation = workspacesOut, 1, 1.94, almostLinear, slide
animation = specialWorkspace, 1, 1.94, almostLinear, fade
}
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
# uncomment all if you wish to use that.
# workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0
# windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
# windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
# windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
# windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
@ -246,7 +239,8 @@ gestures {
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
name = epic-mouse-v1
sensitivity = -0.5
}
# device {
# name = epic-mouse-v1
# sensitivity = -0.5
# }

View file

@ -82,3 +82,5 @@ exec = gsettings set org.gnome.desktop.interface gtk-theme "BreezeDark" # for
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
exec = kwriteconfig5 --group "General" --key "ColorScheme" "BreezeDark"
exec = hyprsunset -t 6000 &
exec = ln -sf ~/.config/waybar/dark.css ~/.config/waybar/current.css
exec = ln -sf ~/.config/rofi/dark.rasi ~/.config/rofi/current.rasi

View file

@ -3,10 +3,17 @@ bind = $mainMod, R, exec, $terminal
bind = $mainMod, Q, killactive,
# bind = $mainMod, M, exit
bind = $mainMod SHIFT, F, exec, hyprctl --batch "dispatch togglefloating ; dispatch resizeactive exact 1440 810 ; dispatch centerwindow 1;"
# Maximize
bind = $mainMod SHIFT, M, fullscreen
bind = $mainMod, Page_Up, fullscreen
bind = ALT, Tab, cyclenext, # change focus to another window
bind = ALT SHIFT, Tab, cyclenext,prev # change focus to another window
## Launcher
bind = $mainMod, W, exec, $menu -show window -icon-theme $iconTheme -show-icons
bind = $mainMod, W, exec, $menu -show window -icon-theme $iconTheme -show-icons # -window-thumbnail
bind = $mainMod, V, exec, cliphist list | $menu -dmenu | cliphist decode | wl-copy
bind = $mainMod, D, exec, $HOME/.local/scripts/picker/sdcv.sh
bind = alt, space, exec, $menu -show drun -icon-theme $iconTheme -show-icons

View file

@ -0,0 +1,83 @@
$rosewater = rgb(dc8a78)
$rosewaterAlpha = dc8a78
$flamingo = rgb(dd7878)
$flamingoAlpha = dd7878
$pink = rgb(ea76cb)
$pinkAlpha = ea76cb
$mauve = rgb(8839ef)
$mauveAlpha = 8839ef
$red = rgb(d20f39)
$redAlpha = d20f39
$maroon = rgb(e64553)
$maroonAlpha = e64553
$peach = rgb(fe640b)
$peachAlpha = fe640b
$yellow = rgb(df8e1d)
$yellowAlpha = df8e1d
$green = rgb(40a02b)
$greenAlpha = 40a02b
$teal = rgb(179299)
$tealAlpha = 179299
$sky = rgb(04a5e5)
$skyAlpha = 04a5e5
$sapphire = rgb(209fb5)
$sapphireAlpha = 209fb5
$blue = rgb(1e66f5)
$blueAlpha = 1e66f5
$lavender = rgb(7287fd)
$lavenderAlpha = 7287fd
$text = rgb(4c4f69)
$textAlpha = 4c4f69
$subtext1 = rgb(5c5f77)
$subtext1Alpha = 5c5f77
$subtext0 = rgb(6c6f85)
$subtext0Alpha = 6c6f85
$overlay2 = rgb(7c7f93)
$overlay2Alpha = 7c7f93
$overlay1 = rgb(8c8fa1)
$overlay1Alpha = 8c8fa1
$overlay0 = rgb(9ca0b0)
$overlay0Alpha = 9ca0b0
$surface2 = rgb(acb0be)
$surface2Alpha = acb0be
$surface1 = rgb(bcc0cc)
$surface1Alpha = bcc0cc
$surface0 = rgb(ccd0da)
$surface0Alpha = ccd0da
$base = rgb(eff1f5)
$baseAlpha = eff1f5
$mantle = rgb(e6e9ef)
$mantleAlpha = e6e9ef
$crust = rgb(dce0e8)
$crustAlpha = dce0e8
# https://github.com/hyprwm/Hyprland/discussions/5867
exec = gsettings set org.gnome.desktop.interface gtk-theme "BreezeLight" # for GTK3 apps
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-light" # for GTK4 apps
exec = kwriteconfig5 --group "General" --key "ColorScheme" "BreezeLight"
exec = ln -sf ~/.config/waybar/light.css ~/.config/waybar/current.css

View file

@ -1,4 +1,4 @@
@import "catppuccin-mocha"
@import "current"
* {
selected-active-foreground: @background;

View file

@ -0,0 +1,29 @@
* {
rosewater: #dc8a78;
flamingo: #dd7878;
pink: #ea76cb;
mauve: #8839ef;
red: #d20f39;
maroon: #e64553;
peach: #fe640b;
yellow: #df8e1d;
green: #40a02b;
teal: #179299;
sky: #04a5e5;
sapphire: #209fb5;
blue: #1e66f5;
lavender: #7287fd;
text: #4c4f69;
subtext1: #5c5f77;
subtext0: #6c6f85;
overlay2: #7c7f93;
overlay1: #8c8fa1;
overlay0: #9ca0b0;
surface2: #acb0be;
surface1: #bcc0cc;
surface0: #ccd0da;
base: #eff1f5;
mantle: #e6e9ef;
crust: #dce0e8;
}

View file

@ -1,37 +0,0 @@
* {
bg: #faf4ed;
cur: #fffaf3;
fgd: #575279;
cmt: #9893a5;
cya: #56949f;
grn: #286983;
ora: #d7827e;
pur: #907aa9;
red: #b4637a;
yel: #ea9d34;
alt-fgd: #faf4ed;
font: "Cartograph CF 12";
foreground: @fgd;
background: @bg;
active-background: @grn;
active-foreground: @alt-fgd;
urgent-background: @red;
urgent-foreground: @alt-fgd;
selected-background: @active-background;
selected-foreground: @active-foreground;
selected-urgent-background: @urgent-background;
selected-urgent-foreground: @urgent-foreground;
selected-active-background: @active-background;
selected-active-foreground: @active-foreground;
separatorcolor: @active-background;
bordercolor: @ora;
}

View file

@ -4,20 +4,14 @@
// "position": "bottom", // Waybar position (top|bottom|left|right)
"include": [
"~/.config/waybar/modules/hyprland-workspace.jsonc",
"~/.config/waybar/modules/misc.jsonc"
"~/.config/waybar/modules/misc.jsonc",
],
"height": 30, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": [
"hyprland/workspaces",
"sway/mode",
"sway/scratchpad"
],
// "modules-center": [
// "hyprland/window"
// ],
"modules-left": ["hyprland/workspaces", "sway/mode", "sway/scratchpad"],
"modules-center": ["hyprland/window"],
"modules-right": [
"tray",
// "idle_inhibitor",
@ -30,6 +24,6 @@
"backlight",
// "hyprland/language",
"battery",
"clock"
"clock",
],
}

View file

@ -0,0 +1,27 @@
@define-color rosewater #f5e0dc;
@define-color flamingo #f2cdcd;
@define-color pink #f5c2e7;
@define-color mauve #cba6f7;
@define-color red #f38ba8;
@define-color maroon #eba0ac;
@define-color peach #fab387;
@define-color yellow #f9e2af;
@define-color green #a6e3a1;
@define-color teal #94e2d5;
@define-color sky #89dceb;
@define-color sapphire #74c7ec;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
@define-color text #cdd6f4;
@define-color subtext1 #bac2de;
@define-color subtext0 #a6adc8;
@define-color overlay2 #9399b2;
@define-color overlay1 #7f849c;
@define-color overlay0 #6c7086;
@define-color surface2 #585b70;
@define-color surface1 #45475a;
@define-color surface0 #313244;
@define-color base #1e1e2e;
@define-color mantle #181825;
@define-color crust #11111b;
@define-color accent #b4befe;

View file

@ -0,0 +1,27 @@
@define-color rosewater #dc8a78;
@define-color flamingo #dd7878;
@define-color pink #ea76cb;
@define-color mauve #8839ef;
@define-color red #d20f39;
@define-color maroon #e64553;
@define-color peach #fe640b;
@define-color yellow #df8e1d;
@define-color green #40a02b;
@define-color teal #179299;
@define-color sky #04a5e5;
@define-color sapphire #209fb5;
@define-color blue #1e66f5;
@define-color lavender #7287fd;
@define-color text #4c4f69;
@define-color subtext1 #5c5f77;
@define-color subtext0 #6c6f85;
@define-color overlay2 #7c7f93;
@define-color overlay1 #8c8fa1;
@define-color overlay0 #9ca0b0;
@define-color surface2 #acb0be;
@define-color surface1 #bcc0cc;
@define-color surface0 #ccd0da;
@define-color base #eff1f5;
@define-color mantle #e6e9ef;
@define-color crust #dce0e8;
@define-color accent #7287fd;

View file

@ -1,29 +1,4 @@
@define-color rosewater #f5e0dc;
@define-color flamingo #f2cdcd;
@define-color pink #f5c2e7;
@define-color mauve #cba6f7;
@define-color red #f38ba8;
@define-color maroon #eba0ac;
@define-color peach #fab387;
@define-color yellow #f9e2af;
@define-color green #a6e3a1;
@define-color teal #94e2d5;
@define-color sky #89dceb;
@define-color sapphire #74c7ec;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
@define-color text #cdd6f4;
@define-color subtext1 #bac2de;
@define-color subtext0 #a6adc8;
@define-color overlay2 #9399b2;
@define-color overlay1 #7f849c;
@define-color overlay0 #6c7086;
@define-color surface2 #585b70;
@define-color surface1 #45475a;
@define-color surface0 #313244;
@define-color base #1e1e2e;
@define-color mantle #181825;
@define-color crust #11111b;*
@import "current.css";
* {
font-family: 'Maple Mono NF SC', 'Noto Sans Mono', 'Font Awesome 6 Free', 'Font Awesome 6 Brands', monospace;
@ -83,7 +58,7 @@ button:hover {
#workspaces button {
padding: 0 5px;
background-color: transparent;
color: #ffffff;
color: @text;
}
#workspaces button:hover {
@ -96,7 +71,7 @@ button:hover {
}
#workspaces button.urgent {
background-color: #eb4d4b;
background-color: @maroon;
}
#mode {
@ -301,8 +276,8 @@ label:focus {
}
#language {
background: #00b093;
color: #740864;
background: @green;
color: @mauve;
padding: 0 5px;
margin: 0 5px;
min-width: 16px;