diff --git a/private_dot_config/hypr/colors.conf b/private_dot_config/hypr/colors.conf new file mode 100644 index 0000000..28487b8 --- /dev/null +++ b/private_dot_config/hypr/colors.conf @@ -0,0 +1,77 @@ +$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 diff --git a/private_dot_config/hypr/hyprland.conf b/private_dot_config/hypr/hyprland.conf index b3dd347..fece5f4 100644 --- a/private_dot_config/hypr/hyprland.conf +++ b/private_dot_config/hypr/hyprland.conf @@ -44,6 +44,7 @@ xwayland { # IMPORTS +source = ./colors.conf source = ./hyprland/binds/* source = ./hyprland/rules/* source = ./hyprland/* diff --git a/private_dot_config/hypr/hyprland/binds/display.conf b/private_dot_config/hypr/hyprland/binds/display.conf new file mode 100644 index 0000000..e1bdccf --- /dev/null +++ b/private_dot_config/hypr/hyprland/binds/display.conf @@ -0,0 +1,12 @@ +# Zoom +binde = $mainMod alt, equal, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 * 1.1}') +binde = $mainMod alt, minus, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 * 0.9}') +bind = $mainMod alt, 0, exec, hyprctl -q keyword cursor:zoom_factor 1 + +# Brightness + +bindel = ,XF86MonBrightnessDown, exec, hyprctl hyprsunset gamma -10 +bindel = ,XF86MonBrightnessUp, exec, hyprctl hyprsunset gamma +10 + +# Wallpaper +bind = $mainMod, M, exec, ~/.local/bin/change_wallpaper.sh sfw diff --git a/private_dot_config/hypr/hyprland/decoration.conf b/private_dot_config/hypr/hyprland/decoration.conf index 7e851f4..eb42067 100644 --- a/private_dot_config/hypr/hyprland/decoration.conf +++ b/private_dot_config/hypr/hyprland/decoration.conf @@ -11,7 +11,7 @@ decoration { enabled = true range = 1 render_power = 1 - color = rgba(1a1a1aee) + color = $overlay0 } # https://wiki.hyprland.org/Configuring/Variables/#blur diff --git a/private_dot_config/hypr/hyprland/general.conf b/private_dot_config/hypr/hyprland/general.conf index fbaef1a..632cd82 100644 --- a/private_dot_config/hypr/hyprland/general.conf +++ b/private_dot_config/hypr/hyprland/general.conf @@ -2,11 +2,11 @@ general { gaps_in = 4 gaps_out = 6 - border_size = 2 + border_size = 4 # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors - col.active_border = rgba(09E4F333) rgba(48F3094C) 45deg - col.inactive_border = rgba(595959aa) + col.active_border = $blue $sky + col.inactive_border = $overlay1 # Set to true enable resizing windows by clicking and dragging on borders and gaps resize_on_border = false diff --git a/private_dot_config/hypr/hyprland/rules/share_picker.conf b/private_dot_config/hypr/hyprland/rules/share_picker.conf new file mode 100644 index 0000000..e20cfcc --- /dev/null +++ b/private_dot_config/hypr/hyprland/rules/share_picker.conf @@ -0,0 +1,4 @@ +windowrule = float, class:^(hyprland-share-picker)$ +windowrule = center, class:^(hyprland-share-picker)$ +windowrule = pin, class:^(hyprland-share-picker)$ + diff --git a/private_dot_config/hypr/hyprland/rules/xdg.conf b/private_dot_config/hypr/hyprland/rules/xdg.conf new file mode 100644 index 0000000..bf73ae7 --- /dev/null +++ b/private_dot_config/hypr/hyprland/rules/xdg.conf @@ -0,0 +1,3 @@ +windowrule = float, class:^(xdg-desktop-portal-gtk)$ +windowrule = center, class:^(xdg-desktop-portal-gtk)$ +windowrule = size 55% 50%, class:^(xdg-desktop-portal-gtk)$ diff --git a/private_dot_config/hypr/hyprsunset.conf b/private_dot_config/hypr/hyprsunset.conf new file mode 100644 index 0000000..7bd6a1b --- /dev/null +++ b/private_dot_config/hypr/hyprsunset.conf @@ -0,0 +1,12 @@ +max-gamma = 150 + +profile { + time = 7:30 + identity = true +} + +profile { + time = 21:00 + temperature = 5500 + gamma = 0.8 +}