aboutsummaryrefslogtreecommitdiff
path: root/hypr
diff options
context:
space:
mode:
authorNicholas Moore <nicholasvmoore@gmail.com>2025-05-12 08:27:38 -0500
committerNicholas Moore <nicholasvmoore@gmail.com>2025-05-12 08:27:38 -0500
commit45f088bb6c322ec6b9cfe2b07ff3230b20114280 (patch)
tree8598ace2bc5be1804f4dfa23948042c68c468fd7 /hypr
parent1da58d020597860148b672ce3706624dd548772e (diff)
Adding my initial dotfiles
Diffstat (limited to 'hypr')
-rw-r--r--hypr/colors/rose-pine-moon.conf19
-rw-r--r--hypr/conf/animations.conf11
-rw-r--r--hypr/conf/autostart.conf8
-rw-r--r--hypr/conf/binds.conf75
-rw-r--r--hypr/conf/cursor.conf2
-rw-r--r--hypr/conf/decoration.conf15
-rw-r--r--hypr/conf/environments.conf36
-rw-r--r--hypr/conf/general.conf10
-rw-r--r--hypr/conf/gestures.conf4
-rw-r--r--hypr/conf/input.conf16
-rw-r--r--hypr/conf/layouts.conf10
-rw-r--r--hypr/conf/misc.conf6
-rw-r--r--hypr/conf/monitor.conf3
-rw-r--r--hypr/conf/windowrules.conf1
-rw-r--r--hypr/hypridle.conf1
-rw-r--r--hypr/hyprland.conf25
-rw-r--r--hypr/hyprlock.conf70
-rw-r--r--hypr/hyprpaper.conf4
-rwxr-xr-xhypr/scripts/reload-hyprpaper.sh4
-rwxr-xr-xhypr/scripts/reload-waybar.sh4
20 files changed, 324 insertions, 0 deletions
diff --git a/hypr/colors/rose-pine-moon.conf b/hypr/colors/rose-pine-moon.conf
new file mode 100644
index 0000000..5aa2b1d
--- /dev/null
+++ b/hypr/colors/rose-pine-moon.conf
@@ -0,0 +1,19 @@
+# name: Rosé Pine Moon
+# author: jishnurajendran
+# upstream: https://github.com/jishnurajendran/hyprland-rosepine/blob/main/rose-pine-moon.conf
+# All natural pine, faux fur and a bit of soho vibes for the classy minimalist
+$base = 0xff232136
+$surface = 0xff2a273f
+$overlay = 0xff393552
+$muted = 0xff6e6a86
+$subtle = 0xff908caa
+$text = 0xffe0def4
+$love = 0xffeb6f92
+$gold = 0xfff6c177
+$rose = 0xffea9a97
+$pine = 0xff3e8fb0
+$foam = 0xff9ccfd8
+$iris = 0xffc4a7e7
+$highlightLow = 0xff2a283e
+$highlightMed = 0xff44415a
+$highlightHigh = 0xff56526e
diff --git a/hypr/conf/animations.conf b/hypr/conf/animations.conf
new file mode 100644
index 0000000..254d63a
--- /dev/null
+++ b/hypr/conf/animations.conf
@@ -0,0 +1,11 @@
+# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
+animations {
+ enabled = true
+ bezier = myBezier, 0.05, 0.9, 0.1, 1.05
+ animation = windows, 1, 2, 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, 0, 2, default, fade
+}
diff --git a/hypr/conf/autostart.conf b/hypr/conf/autostart.conf
new file mode 100644
index 0000000..fa9f173
--- /dev/null
+++ b/hypr/conf/autostart.conf
@@ -0,0 +1,8 @@
+# Execute your favorite apps at launch
+exec-once = waybar
+exec-once = hyprpaper
+exec-once = dunst
+
+# Load configuration from Hyprland Settings App
+exec-once = systemctl --user start hyprpolkitagent
+exec-once = hyprctl setcursor rose-pine-hyprcursor 24
diff --git a/hypr/conf/binds.conf b/hypr/conf/binds.conf
new file mode 100644
index 0000000..b4a71e6
--- /dev/null
+++ b/hypr/conf/binds.conf
@@ -0,0 +1,75 @@
+# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
+
+# SUPER key
+$mainMod = ALT
+
+# Programs that I use
+$terminal = alacritty
+$fileManager = dolphin
+$menu = rofi -show drun
+$search = rofi -dmenu -p "Search> " | xargs -I{} xdg-open https://www.google.com/search?q={\}
+
+# Actions
+bind = $mainMod, RETURN, exec, $terminal # Open Alactritty
+bind = $mainMod, Q, killactive # Close current window
+bind = $mainMod, M, exit # Exit Hyprland
+bind = $mainMod, E, exec, $fileManager # Opens the filemanager
+bind = $mainMod, T, togglefloating # Toggle between tiling and floating window
+bind = $mainMod, F, fullscreen # Open the window in fullscreen
+bind = $mainMod, R, exec, $menu # Open rofi
+bind = $mainMod SHIFT, R, exec, $search # Open rofi
+bind = $mainMod, P, pseudo, # dwindle
+bind = $mainMod SHIFT, J, togglesplit, # dwindle
+bind = $mainMod, B, exec, firefox-developer-edition # Opens the browser
+bind = $mainMod SHIFT, B, exec, ~/.config/hypr/scripts/reload-waybar.sh # Reload Waybar
+bind = $mainMod SHIFT, W, exec, ~/.config/hypr/scripts/reload-hyprpaper.sh # Reload hyprpaper after a changing the wallpaper
+bind = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+
+bind = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-
+bind = , XF86MonBrightnessUp, exec, brightnessctl set 10%+
+bind = , XF86MonBrightnessDown, exec, brightnessctl set 10%-
+bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
+bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
+bind = , XF86WLAN, exec, nmcli radio wifi toggle
+bind = , XF86Refresh, exec, xdotool key F5
+
+# Move focus with mainMod + arrow keys
+bind = $mainMod, h, movefocus, l # Move focus left
+bind = $mainMod, l, movefocus, r # Move focus right
+bind = $mainMod, k, movefocus, u # Move focus up
+bind = $mainMod, j, movefocus, d # Move focus down
+
+# Switch workspaces with mainMod + [0-9]
+bind = $mainMod, 1, workspace, 1 # Switch to workspace 1
+bind = $mainMod, 2, workspace, 2 # Switch to workspace 2
+bind = $mainMod, 3, workspace, 3 # Switch to workspace 3
+bind = $mainMod, 4, workspace, 4 # Switch to workspace 4
+bind = $mainMod, 5, workspace, 5 # Switch to workspace 5
+bind = $mainMod, 6, workspace, 6 # Switch to workspace 6
+bind = $mainMod, 7, workspace, 7 # Switch to workspace 7
+bind = $mainMod, 8, workspace, 8 # Switch to workspace 8
+bind = $mainMod, 9, workspace, 9 # Switch to workspace 9
+bind = $mainMod, 0, workspace, 10 # Switch to workspace 10
+
+# Move active window to a workspace with mainMod + SHIFT + [0-9]
+bind = $mainMod SHIFT, 1, movetoworkspace, 1 # Move window to workspace 1
+bind = $mainMod SHIFT, 2, movetoworkspace, 2 # Move window to workspace 2
+bind = $mainMod SHIFT, 3, movetoworkspace, 3 # Move window to workspace 3
+bind = $mainMod SHIFT, 4, movetoworkspace, 4 # Move window to workspace 4
+bind = $mainMod SHIFT, 5, movetoworkspace, 5 # Move window to workspace 5
+bind = $mainMod SHIFT, 6, movetoworkspace, 6 # Move window to workspace 6
+bind = $mainMod SHIFT, 7, movetoworkspace, 7 # Move window to workspace 7
+bind = $mainMod SHIFT, 8, movetoworkspace, 8 # Move window to workspace 8
+bind = $mainMod SHIFT, 9, movetoworkspace, 9 # Move window to workspace 9
+bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Move window to workspace 10
+
+# Scroll through existing workspaces with mainMod + scroll
+bind = $mainMod, mouse_down, workspace, e+1 # Scroll workspaces
+bind = $mainMod, mouse_up, workspace, e-1 # Scroll workspaces
+
+# Move/resize windows with mainMod + LMB/RMB and dragging
+bindm = $mainMod, mouse:272, movewindow # Move window
+bindm = $mainMod, mouse:273, resizewindow # Resize window
+
+# Swtich
+# trigger when the switch is turning on
+bindl = , switch:on:Lid Switch, exec, systemctl suspend
diff --git a/hypr/conf/cursor.conf b/hypr/conf/cursor.conf
new file mode 100644
index 0000000..6918917
--- /dev/null
+++ b/hypr/conf/cursor.conf
@@ -0,0 +1,2 @@
+env = XCURSOR_SIZE,24
+env = HYPRCURSOR_THEME,rose-pine-hyprcursor
diff --git a/hypr/conf/decoration.conf b/hypr/conf/decoration.conf
new file mode 100644
index 0000000..66dec67
--- /dev/null
+++ b/hypr/conf/decoration.conf
@@ -0,0 +1,15 @@
+# See https://wiki.hyprland.org/Configuring/Variables/ for more
+decoration {
+ rounding = 0
+ blur {
+ enabled = false
+ size = 3
+ passes = 1
+ }
+ shadow {
+ enabled = false
+ range = 4
+ render_power = 3
+ color = rgba(1a1a1aee)
+ }
+}
diff --git a/hypr/conf/environments.conf b/hypr/conf/environments.conf
new file mode 100644
index 0000000..a0f6146
--- /dev/null
+++ b/hypr/conf/environments.conf
@@ -0,0 +1,36 @@
+# XDG Desktop Portal
+env = XDG_CURRENT_DESKTOP,Hyprland
+env = XDG_SESSION_TYPE,wayland
+env = XDG_SESSION_DESKTOP,Hyprland
+
+# QT
+env = QT_QPA_PLATFORM,wayland;xcb
+env = QT_QPA_PLATFORMTHEME,qt6ct
+env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
+env = QT_AUTO_SCREEN_SCALE_FACTOR,1
+
+# GTK
+env = GDK_SCALE,1
+
+# Mozilla
+env = MOZ_ENABLE_WAYLAND,1
+
+# Set the cursor size for xcursor
+env = XCURSOR_SIZE,24
+
+# Disable appimage launcher by default
+env = APPIMAGELAUNCHER_DISABLE,1
+
+# OZONE
+env = OZONE_PLATFORM,wayland
+
+# For KVM virtual machines
+# env = WLR_NO_HARDWARE_CURSORS, 1
+# env = WLR_RENDERER_ALLOW_SOFTWARE, 1
+
+# NVIDIA https://wiki.hyprland.org/Nvidia/
+# env = LIBVA_DRIVER_NAME,nvidia
+# env = GBM_BACKEND,nvidia-drm
+# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
+# env = __GL_VRR_ALLOWED,1
+# env = WLR_DRM_NO_ATOMIC,1
diff --git a/hypr/conf/general.conf b/hypr/conf/general.conf
new file mode 100644
index 0000000..6f7bfdf
--- /dev/null
+++ b/hypr/conf/general.conf
@@ -0,0 +1,10 @@
+# See https://wiki.hyprland.org/Configuring/Variables/ for more
+general {
+ gaps_in = 2
+ gaps_out = 10
+ border_size = 2
+ col.active_border = 0xff31748f 0xff9ccfd8
+ col.inactive_border = rgba(595959aa)
+ layout = dwindle
+ resize_on_border = true
+}
diff --git a/hypr/conf/gestures.conf b/hypr/conf/gestures.conf
new file mode 100644
index 0000000..90134f5
--- /dev/null
+++ b/hypr/conf/gestures.conf
@@ -0,0 +1,4 @@
+# See https://wiki.hyprland.org/Configuring/Variables/ for more
+gestures {
+ workspace_swipe = true
+}
diff --git a/hypr/conf/input.conf b/hypr/conf/input.conf
new file mode 100644
index 0000000..cd11afc
--- /dev/null
+++ b/hypr/conf/input.conf
@@ -0,0 +1,16 @@
+# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
+input {
+ kb_layout = us
+ kb_variant =
+ kb_model =
+ kb_options =
+ kb_rules =
+
+ follow_mouse = 1
+
+ touchpad {
+ natural_scroll = false
+ }
+
+ sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
+}
diff --git a/hypr/conf/layouts.conf b/hypr/conf/layouts.conf
new file mode 100644
index 0000000..4832966
--- /dev/null
+++ b/hypr/conf/layouts.conf
@@ -0,0 +1,10 @@
+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
+}
+
+master {
+ # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
+ # new_status = master
+}
diff --git a/hypr/conf/misc.conf b/hypr/conf/misc.conf
new file mode 100644
index 0000000..646bb78
--- /dev/null
+++ b/hypr/conf/misc.conf
@@ -0,0 +1,6 @@
+# See https://wiki.hyprland.org/Configuring/Variables/ for more
+misc {
+ disable_hyprland_logo = true
+ disable_splash_rendering = true
+ vfr = true
+}
diff --git a/hypr/conf/monitor.conf b/hypr/conf/monitor.conf
new file mode 100644
index 0000000..8bb498e
--- /dev/null
+++ b/hypr/conf/monitor.conf
@@ -0,0 +1,3 @@
+# See https://wiki.hyprland.org/Configuring/Monitors/
+monitor=eDP-1,2880x1920@60,auto,2
+monitor=DP-1,3440x1440@60,auto,1
diff --git a/hypr/conf/windowrules.conf b/hypr/conf/windowrules.conf
new file mode 100644
index 0000000..1da6531
--- /dev/null
+++ b/hypr/conf/windowrules.conf
@@ -0,0 +1 @@
+# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more \ No newline at end of file
diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/hypr/hypridle.conf
@@ -0,0 +1 @@
+
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
new file mode 100644
index 0000000..9aeb2ae
--- /dev/null
+++ b/hypr/hyprland.conf
@@ -0,0 +1,25 @@
+
+# _ _ _ _
+# | | | |_ _ _ __ _ __| | __ _ _ __ __| |
+# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
+# | _ | |_| | |_) | | | | (_| | | | | (_| |
+# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
+# |___/|_|
+#
+# -----------------------------------------------------
+# Full documentation https://wiki.hyprland.org
+
+source = ~/.config/hypr/conf/monitor.conf
+source = ~/.config/hypr/conf/autostart.conf
+source = ~/.config/hypr/conf/cursor.conf
+source = ~/.config/hypr/conf/environments.conf
+source = ~/.config/hypr/conf/input.conf
+source = ~/.config/hypr/conf/general.conf
+source = ~/.config/hypr/conf/decoration.conf
+source = ~/.config/hypr/conf/animations.conf
+source = ~/.config/hypr/conf/layouts.conf
+source = ~/.config/hypr/conf/gestures.conf
+source = ~/.config/hypr/conf/misc.conf
+source = ~/.config/hypr/conf/windowrules.conf
+source = ~/.config/hypr/conf/binds.conf
+source = ~/.config/hypr/colors/rose-pine-moon.conf
diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf
new file mode 100644
index 0000000..36f7429
--- /dev/null
+++ b/hypr/hyprlock.conf
@@ -0,0 +1,70 @@
+# _ _ _
+# | |__ _ _ _ __ _ __| | ___ ___| | __
+# | '_ \| | | | '_ \| '__| |/ _ \ / __| |/ /
+# | | | | |_| | |_) | | | | (_) | (__| <
+# |_| |_|\__, | .__/|_| |_|\___/ \___|_|\_\
+# |___/|_|
+#
+
+background {
+ monitor =
+ path = $HOME/.config/hypr/wallpapers/hyprland.png
+
+}
+
+input-field {
+ monitor =
+ size = 200, 50
+ outline_thickness = 3
+ dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
+ dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
+ dots_center = true
+ dots_rounding = -1 # -1 default circle, -2 follow input-field rounding
+ outer_color = rgb(151515)
+ inner_color = rgb(FFFFFF)
+ font_color = rgb(10, 10, 10)
+ fade_on_empty = true
+ fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered.
+ placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
+ hide_input = false
+ rounding = -1 # -1 means complete rounding (circle/oval)
+ check_color = rgb(204, 136, 34)
+ fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color
+ fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> # can be set to empty
+ fail_transition = 300 # transition time in ms between normal outer_color and fail_color
+ capslock_color = -1
+ numlock_color = -1
+ bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above)
+ invert_numlock = false # change color if numlock is off
+ swap_font_color = false # see below
+ position = 0, -20
+ halign = center
+ valign = center
+}
+
+label {
+ monitor =
+ #clock
+ text = cmd[update:1000] echo "$TIME"
+ color = rgba(200, 200, 200, 1.0)
+ font_size = 55
+ font_family = Fira Semibold
+ position = -100, 40
+ halign = right
+ valign = bottom
+ shadow_passes = 5
+ shadow_size = 10
+}
+
+label {
+ monitor =
+ text = $USER
+ color = rgba(200, 200, 200, 1.0)
+ font_size = 20
+ font_family = Fira Semibold
+ position = -100, 160
+ halign = right
+ valign = bottom
+ shadow_passes = 5
+ shadow_size = 10
+}
diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf
new file mode 100644
index 0000000..31c85eb
--- /dev/null
+++ b/hypr/hyprpaper.conf
@@ -0,0 +1,4 @@
+# Run ~/.config/hypr/reload-hyprpaper.sh after changing your wallpaper
+preload = ~/.config/hypr/wallpapers/moorenix.jpg
+wallpaper = ,~/.config/hypr/wallpapers/moorenix.jpg
+splash = true
diff --git a/hypr/scripts/reload-hyprpaper.sh b/hypr/scripts/reload-hyprpaper.sh
new file mode 100755
index 0000000..df877b3
--- /dev/null
+++ b/hypr/scripts/reload-hyprpaper.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+killall hyprpaper
+sleep 1
+hyprpaper & \ No newline at end of file
diff --git a/hypr/scripts/reload-waybar.sh b/hypr/scripts/reload-waybar.sh
new file mode 100755
index 0000000..18fff1e
--- /dev/null
+++ b/hypr/scripts/reload-waybar.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+killall -9 waybar
+sleep 1
+waybar & \ No newline at end of file