diff --git a/.gitignore b/.gitignore index 1abb108..3d145ba 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ hyprpaper.conf + +**/**/current-theme.* diff --git a/hypr/.config/hypr/colors/nord.conf b/hypr/.config/hypr/colors/nord.conf new file mode 100644 index 0000000..278c18f --- /dev/null +++ b/hypr/.config/hypr/colors/nord.conf @@ -0,0 +1,29 @@ +# -- Raw nord colors -- +$nord00 = rgb(2e3440) +$nord01 = rgb(3b4252) +$nord02 = rgb(434c5e) +$nord03 = rgb(4c566a) + +$nord04 = rgb(d8dee9) +$nord05 = rgb(e5e9f0) +$nord06 = rgb(eceff4) + +$nord07 = rgb(8fbcbb) +$nord08 = rgb(88c0d0) +$nord09 = rgb(81a1c1) +$nord10 = rgb(5e81ac) + +$nord11 = rgb(bf616a) +$nord12 = rgb(d08770) +$nord13 = rgb(ebcb8b) +$nord14 = rgb(a3be8c) +$nord15 = rgb(b48ead) + +# -- Color uses -- +$fg = $nord06 +$bg = $nord00 +$highlight = $nord08 +$green = $nord14 +$red = $nord11 +$yellow = $nord13 +$shadow = rgba(1a1a1aee) diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf index 82e662b..f9ab233 100644 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -1,6 +1,6 @@ # -- Imports -- source = ./hyprland/keybinds.conf -source = ./hyprland/styling.conf +source = ./hyprland/current-theme.conf source = ./hyprland/autostart.conf # -- Monitors -- diff --git a/hypr/.config/hypr/themes/nord.conf b/hypr/.config/hypr/themes/nord.conf new file mode 100644 index 0000000..ce8ee7e --- /dev/null +++ b/hypr/.config/hypr/themes/nord.conf @@ -0,0 +1,59 @@ +source = ../colors/nord.conf + +# -- Styling -- +general { + gaps_in = 3 + gaps_out = 5 + + border_size = 2 + + col.active_border = $highlight + col.inactive_border = $bg + + resize_on_border = false + allow_tearing = false + + layout = dwindle +} + +decoration { + rounding = 4 + rounding_power = 2 + + active_opacity = 1.0 + inactive_opacity = 1.0 + + shadow { + enabled = true + range = 4 + render_power = 3 + color = $shadow + } + + blur { + enabled = true + size = 2 + passes = 3 + } +} + +# -- Animations -- +animations { + enabled = true + + bezier = easeOut, 0, 0.1, 0.6, 1 + bezier = easeIn, 0.4, 0, 1, 0.9 + bezier = ease, 0.4, 0, 0.6, 1 + bezier = linear, 0, 0, 1, 1 + + animation = global, 1, 1, default + animation = border, 0 + animation = fade, 1, 0.5, linear + animation = workspaces, 1, 2, easeOut, slide + + animation = windows, 1, 1.5, ease, slide + animation = windowsIn, 1, 1, easeIn, slide + animation = windowsOut, 1, 0.5, easeOut, slide + + animation = layers, 1, 1.5, ease, fade +}