aboutsummaryrefslogtreecommitdiff
path: root/hypr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hypr/hypridle.conf10
-rw-r--r--hypr/hyprland.conf176
-rw-r--r--hypr/hyprlock.conf41
-rw-r--r--hypr/macchiato.conf61
4 files changed, 288 insertions, 0 deletions
diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf
new file mode 100644
index 0000000..1389d93
--- /dev/null
+++ b/hypr/hypridle.conf
@@ -0,0 +1,10 @@
+general {
+ lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
+ before_sleep_cmd = loginctl lock-session # lock before suspend.
+ after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
+}
+
+listener {
+ timeout = 300
+ on-timeout = loginctl lock-session
+}
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
new file mode 100644
index 0000000..d46bf4d
--- /dev/null
+++ b/hypr/hyprland.conf
@@ -0,0 +1,176 @@
+# This is an example Hyprland config file.
+#
+# Refer to the wiki for more information.
+
+#
+# Please note not all available settings / options are set here.
+# For a full list, see the wiki
+#
+
+# See https://wiki.hyprland.org/Configuring/Monitors/
+monitor = eDP-1, 2560x1600@60, 0x0, 2
+
+
+# See https://wiki.hyprland.org/Configuring/Keywords/ for more
+
+# Execute your favorite apps at launch
+exec-once = hypridle & foot -s & waybar & wbg Pictures/Backgrounds/sourcerer.png
+
+# Source a file (multi-file configs)
+source = ~/.config/hypr/macchiato.conf
+
+# Set programs that you use
+$rofi_path = ~/.config/rofi
+$terminal = footclient
+$applauncher = rofi -show drun -theme $rofi_path/applauncher.rasi
+$powermenu = $rofi_path/powermenu.sh
+
+# Some default env vars.
+env = XCURSOR_SIZE,24
+env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
+
+# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
+input {
+ kb_layout = it
+
+ follow_mouse = 1
+ mouse_refocus = false
+
+ touchpad {
+ natural_scroll = false
+ disable_while_typing = false
+ }
+
+ sensitivity = -0.125 # -1.0 - 1.0, 0 means no modification.
+}
+
+general {
+ # See https://wiki.hyprland.org/Configuring/Variables/ for more
+
+ gaps_in = 5
+ gaps_out = 10
+ border_size = 2
+ col.active_border = $red $peach $yellow $green $blue $lavender $mauve 20deg
+ col.inactive_border = $surface0
+
+ layout = dwindle
+
+ # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
+ allow_tearing = false
+}
+
+decoration {
+ # See https://wiki.hyprland.org/Configuring/Variables/ for more
+
+ rounding = 10
+ drop_shadow = false
+}
+
+animations {
+ enabled = true
+
+ # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
+
+ bezier = myBezier, 0.05, 0.9, 0.1, 1.05
+
+ animation = windows, 1, 7, myBezier
+ animation = windowsOut, 1, 7, default, popin 80%
+ animation = border, 1, 10, default
+ animation = borderangle, 1, 8, default
+ animation = fade, 1, 7, default
+ animation = workspaces, 1, 6, default
+}
+
+dwindle {
+ # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
+ pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
+ preserve_split = true # you probably want this
+ force_split = 2
+}
+
+master {
+ # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
+ new_status = "master"
+}
+
+gestures {
+ # See https://wiki.hyprland.org/Configuring/Variables/ for more
+ workspace_swipe = false
+}
+
+misc {
+ # See https://wiki.hyprland.org/Configuring/Variables/ for more
+ disable_hyprland_logo = true
+ vfr = true
+}
+
+xwayland {
+ force_zero_scaling = true
+}
+
+# Example windowrule v1
+# windowrule = float, ^(kitty)$
+# Example windowrule v2
+# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
+# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
+windowrulev2 = tile, title: ^(Godot)$
+windowrulev2 = float, class: steam, title: ^(?!(Steam)$).*$
+windowrulev2 = fullscreen, class: tic80
+
+# See https://wiki.hyprland.org/Configuring/Keywords/ for more
+$mainMod = SUPER
+
+# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
+bind = $mainMod, Return, exec, $terminal
+bind = $mainMod, C, killactive
+bind = $mainMod, Escape, exec, $powermenu
+bind = $mainMod, V, togglefloating
+bind = $mainMod, space, exec, $applauncher
+bind = $mainMod, P, pseudo, # dwindle
+bind = $mainMod, J, togglesplit, # dwindle
+bind = $mainMod SHIFT, F, fullscreen, 1
+bind = $mainMod, F, fullscreen, 0
+bind = , Print, exec, grimblast copy
+bind = SHIFT, Print, exec, grimblast copy active
+
+# Move focus with mainMod + arrow keys
+bind = $mainMod, left, movefocus, l
+bind = $mainMod, right, movefocus, r
+bind = $mainMod, up, movefocus, u
+bind = $mainMod, down, movefocus, d
+
+# Switch workspaces with mainMod + [1-5]
+bind = $mainMod, 1, workspace, 1
+bind = $mainMod, 2, workspace, 2
+bind = $mainMod, 3, workspace, 3
+bind = $mainMod, 4, workspace, 4
+bind = $mainMod, 5, workspace, 5
+
+# Move active window to a workspace with mainMod + SHIFT + [1-5]
+bind = $mainMod SHIFT, 1, movetoworkspace, 1
+bind = $mainMod SHIFT, 2, movetoworkspace, 2
+bind = $mainMod SHIFT, 3, movetoworkspace, 3
+bind = $mainMod SHIFT, 4, movetoworkspace, 4
+bind = $mainMod SHIFT, 5, movetoworkspace, 5
+
+# Example special workspace (scratchpad)
+bind = $mainMod, S, togglespecialworkspace, magic
+bind = $mainMod SHIFT, S, movetoworkspace, special:magic
+
+# Move/resize windows with mainMod + LMB/RMB and dragging
+bindm = $mainMod, mouse:272, movewindow
+bindm = $mainMod, mouse:273, resizewindow
+
+# Monitor backlight
+bind = , XF86MonBrightnessUp, exec, brightnessctl s +5%
+bind = , XF86MonBrightnessDown, exec, brightnessctl s 5%-
+
+# Volume Media Control
+bind = , XF86AudioRaiseVolume, exec, pamixer -i 5
+bind = , XF86AudioLowerVolume, exec, pamixer -d 5
+bind = , XF86AudioMicMute, exec, pamixer --default-source -m
+bind = , XF86AudioMute, exec, pamixer -t
+bind = , XF86AudioPlay, exec, playerctl play-pause
+bind = , XF86AudioPause, exec, playerctl play-pause
+bind = , XF86AudioNext, exec, playerctl next
+bind = , XF86AudioPrev, exec, playerctl previous
diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf
new file mode 100644
index 0000000..6a999c6
--- /dev/null
+++ b/hypr/hyprlock.conf
@@ -0,0 +1,41 @@
+general {
+ hide_cursor = true
+ ignore_empty_input = true
+}
+
+background {
+ monitor = eDP-1
+ path = /home/eric/Pictures/Backgrounds/buttons.png
+}
+input-field {
+ monitor = eDP-1
+ size = 500, 100
+ outline_thickness = 1
+ dots_size = 0.3 # Scale of input-field height, 0.2 - 0.8
+ dots_spacing = 0.35 # Scale of dots' absolute size, 0.0 - 1.0
+ dots_center = false
+ outer_color = rgb(54, 58, 79)
+ inner_color = rgb(36, 39, 58)
+ font_color = rgb(202, 211, 245)
+ fade_on_empty = true
+
+ placeholder_text = <i></i>
+ fail_text = <i>Wrong Password...</i>
+ fail_color = rgb(237,135,150)
+
+ position = 0, -300
+ halign = center
+ valign = center
+}
+label {
+ monitor = eDP-1
+ text = cmd[update:1000] date +"%H:%M:%S"
+ color = rgb(202, 211, 245)
+ font_size = 100
+ font_family = Hack Nerd Font
+
+ position = 0, 300
+ halign = center
+ valign = center
+}
+
diff --git a/hypr/macchiato.conf b/hypr/macchiato.conf
new file mode 100644
index 0000000..0a90d22
--- /dev/null
+++ b/hypr/macchiato.conf
@@ -0,0 +1,61 @@
+$rosewaterAlpha = f4dbd6
+$flamingoAlpha = f0c6c6
+$pinkAlpha = f5bde6
+$mauveAlpha = c6a0f6
+$redAlpha = ed8796
+$maroonAlpha = ee99a0
+$peachAlpha = f5a97f
+$yellowAlpha = eed49f
+$greenAlpha = a6da95
+$tealAlpha = 8bd5ca
+$skyAlpha = 91d7e3
+$sapphireAlpha = 7dc4e4
+$blueAlpha = 8aadf4
+$lavenderAlpha = b7bdf8
+
+$textAlpha = cad3f5
+$subtext1Alpha = b8c0e0
+$subtext0Alpha = a5adcb
+
+$overlay2Alpha = 939ab7
+$overlay1Alpha = 8087a2
+$overlay0Alpha = 6e738d
+
+$surface2Alpha = 5b6078
+$surface1Alpha = 494d64
+$surface0Alpha = 363a4f
+
+$baseAlpha = 24273a
+$mantleAlpha = 1e2030
+$crustAlpha = 181926
+
+$rosewater = 0xfff4dbd6
+$flamingo = 0xfff0c6c6
+$pink = 0xfff5bde6
+$mauve = 0xffc6a0f6
+$red = 0xffed8796
+$maroon = 0xffee99a0
+$peach = 0xfff5a97f
+$yellow = 0xffeed49f
+$green = 0xffa6da95
+$teal = 0xff8bd5ca
+$sky = 0xff91d7e3
+$sapphire = 0xff7dc4e4
+$blue = 0xff8aadf4
+$lavender = 0xffb7bdf8
+
+$text = 0xffcad3f5
+$subtext1 = 0xffb8c0e0
+$subtext0 = 0xffa5adcb
+
+$overlay2 = 0xff939ab7
+$overlay1 = 0xff8087a2
+$overlay0 = 0xff6e738d
+
+$surface2 = 0xff5b6078
+$surface1 = 0xff494d64
+$surface0 = 0xff363a4f
+
+$base = 0xff24273a
+$mantle = 0xff1e2030
+$crust = 0xff181926