summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home-config/home-configuration.scm1
-rw-r--r--home-config/hypr/Wallpapers/mountains.jpgbin0 -> 1097089 bytes
-rwxr-xr-xhome-config/hypr/autostart.sh9
-rw-r--r--home-config/hypr/hyprland.conf181
4 files changed, 191 insertions, 0 deletions
diff --git a/home-config/home-configuration.scm b/home-config/home-configuration.scm
index 756c68f..eaf8115 100644
--- a/home-config/home-configuration.scm
+++ b/home-config/home-configuration.scm
@@ -94,6 +94,7 @@
94 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim")) 94 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
95 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim")) 95 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim"))
96 ("sway" ,(local-file "sway" #:recursive? #t)) 96 ("sway" ,(local-file "sway" #:recursive? #t))
97 ("hypr" ,(local-file "hypr" #:recursive? #t))
97 ("waybar" ,(local-file "waybar" #:recursive? #t)) 98 ("waybar" ,(local-file "waybar" #:recursive? #t))
98 ("alacritty" ,(local-file "alacritty" #:recursive? #t)) 99 ("alacritty" ,(local-file "alacritty" #:recursive? #t))
99 ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t)) )) 100 ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t)) ))
diff --git a/home-config/hypr/Wallpapers/mountains.jpg b/home-config/hypr/Wallpapers/mountains.jpg
new file mode 100644
index 0000000..f51a09b
--- /dev/null
+++ b/home-config/hypr/Wallpapers/mountains.jpg
Binary files differ
diff --git a/home-config/hypr/autostart.sh b/home-config/hypr/autostart.sh
new file mode 100755
index 0000000..ed66fff
--- /dev/null
+++ b/home-config/hypr/autostart.sh
@@ -0,0 +1,9 @@
1#!/usr/bin/env bash
2
3waybar &
4
5mako &
6
7swaybg -i ~/.config/hypr/Wallpapers/mountains.jpg &
8
9swayidle -w timeout 300 'swaylock --screenshots --clock --indicator --grace 3 --fade-in 1 --effect-blur 7x5 --effect-greyscale' timeout 600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -f -c 000000' &
diff --git a/home-config/hypr/hyprland.conf b/home-config/hypr/hyprland.conf
new file mode 100644
index 0000000..e4056c4
--- /dev/null
+++ b/home-config/hypr/hyprland.conf
@@ -0,0 +1,181 @@
1exec-once = dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=Hyprland
2
3#
4# Please note not all available settings / options are set here.
5# For a full list, see the wiki
6#
7
8# See https://wiki.hyprland.org/Configuring/Monitors/
9monitor=,preferred,auto,1
10
11
12# See https://wiki.hyprland.org/Configuring/Keywords/ for more
13
14# Execute your favorite apps at launch
15# exec-once = waybar & hyprpaper & firefox
16
17# Source a file (multi-file configs)
18# source = ~/.config/hypr/myColors.conf
19
20# Some default env vars.
21env = XCURSOR_SIZE,24
22
23# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
24input {
25 kb_layout = us
26 kb_variant =
27 kb_model =
28 kb_options =
29 kb_rules =
30
31 follow_mouse = 1
32
33 touchpad {
34 natural_scroll = no
35 }
36
37 sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
38}
39
40general {
41 # See https://wiki.hyprland.org/Configuring/Variables/ for more
42
43 gaps_in = 5
44 gaps_out = 10
45 border_size = 2
46 col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
47 col.inactive_border = rgba(595959aa)
48
49 layout = dwindle
50}
51
52decoration {
53 # See https://wiki.hyprland.org/Configuring/Variables/ for more
54
55 rounding = 5
56 blur = yes
57 blur_size = 3
58 blur_passes = 1
59 blur_new_optimizations = on
60
61 drop_shadow = yes
62 shadow_range = 4
63 shadow_render_power = 3
64 col.shadow = rgba(1a1a1aee)
65}
66
67animations {
68 enabled = yes
69
70 # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
71
72 bezier = myBezier, 0.05, 0.9, 0.1, 1.05
73
74 animation = windows, 1, 7, myBezier
75 animation = windowsOut, 1, 7, default, popin 80%
76 animation = border, 1, 10, default
77 animation = borderangle, 1, 8, default
78 animation = fade, 1, 7, default
79 animation = workspaces, 1, 6, default
80}
81
82dwindle {
83 # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
84 pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
85 preserve_split = yes # you probably want this
86}
87
88master {
89 # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
90 new_is_master = true
91}
92
93gestures {
94 # See https://wiki.hyprland.org/Configuring/Variables/ for more
95 workspace_swipe = off
96}
97
98# Example per-device config
99# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
100device:epic-mouse-v1 {
101 sensitivity = -0.5
102}
103
104# Example windowrule v1
105# windowrule = float, ^(kitty)$
106# Example windowrule v2
107# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
108# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
109
110
111# See https://wiki.hyprland.org/Configuring/Keywords/ for more
112$mainMod = SUPER
113
114# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
115bind = $mainMod, Return, exec, alacritty
116bind = $mainMod SHIFT, Q, killactive
117bind = $mainMod SHIFT, E, exit
118bind = $mainMod SHIFT, Space, togglefloating
119bind = $mainMod, D, exec, fuzzel --width=35 --font='Hack:weight=bold:size=12' --background-color='282a36fa' --selection-color='3d4460fa' --line-height=20 --border-radius=20
120bind = $mainMod, P, pseudo, # dwindle
121bind = $mainMod, J, togglesplit, # dwindle
122bind = $mainMod, F, fullscreen
123bind = ,XF86MonBrightnessUp, exec, light -A 10
124bind = ,XF86MonBrightnessDown, exec, light -U 10
125
126# Move focus with mainMod + arrow keys
127bind = $mainMod, left, movefocus, l
128bind = $mainMod, right, movefocus, r
129bind = $mainMod, up, movefocus, u
130bind = $mainMod, down, movefocus, d
131
132# Move window with mainMod + SHIFT + arrow keys
133bind = $mainMod SHIFT, left, movewindow, l
134bind = $mainMod SHIFT, right, movewindow, r
135bind = $mainMod SHIFT, up, movewindow, u
136bind = $mainMod SHIFT, down, movewindow, d
137
138# Switch workspaces with mainMod + [0-9]
139bind = $mainMod, 1, workspace, 1
140bind = $mainMod, 2, workspace, 2
141bind = $mainMod, 3, workspace, 3
142bind = $mainMod, 4, workspace, 4
143bind = $mainMod, 5, workspace, 5
144bind = $mainMod, 6, workspace, 6
145bind = $mainMod, 7, workspace, 7
146bind = $mainMod, 8, workspace, 8
147bind = $mainMod, 9, workspace, 9
148bind = $mainMod, 0, workspace, 10
149
150# Move active window to a workspace with mainMod + SHIFT + [0-9]
151bind = $mainMod SHIFT, 1, movetoworkspace, 1
152bind = $mainMod SHIFT, 2, movetoworkspace, 2
153bind = $mainMod SHIFT, 3, movetoworkspace, 3
154bind = $mainMod SHIFT, 4, movetoworkspace, 4
155bind = $mainMod SHIFT, 5, movetoworkspace, 5
156bind = $mainMod SHIFT, 6, movetoworkspace, 6
157bind = $mainMod SHIFT, 7, movetoworkspace, 7
158bind = $mainMod SHIFT, 8, movetoworkspace, 8
159bind = $mainMod SHIFT, 9, movetoworkspace, 9
160bind = $mainMod SHIFT, 0, movetoworkspace, 10
161
162# Scroll through existing workspaces with mainMod + scroll
163bind = $mainMod, mouse_down, workspace, e+1
164bind = $mainMod, mouse_up, workspace, e-1
165
166# Move/resize windows with mainMod + LMB/RMB and dragging
167bindm = $mainMod, mouse:272, movewindow
168bindm = $mainMod, mouse:273, resizewindow
169
170# Bind mainMod + L to screenlocker
171bind = $mainMod, L, exec, swaylock --screenshots --clock --indicator --fade-in 1 --effect-blur 7x5 --effect-greyscale
172
173# Keybind for screenshot
174bind = $mainMod SHIFT, S, exec, grimblast copy area
175bind = $mainMod SHIFT, Print, exec, grimblast edit area
176
177# Notifications keybinds
178bind = $mainMod, N, exec, makoctl dismiss
179bind = $mainMod SHIFT, N, exec, makoctl dismiss -a
180
181exec-once = ~/.config/hypr/autostart.sh