1bffe92886de395ea77f8b9d9baff4eaf4ce009e
- Author
- TheEdgeOfRage <git@theedgeofrage.com>
- Committer
- TheEdgeOfRage <git@theedgeofrage.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/dot_config/hypr/hyprland.conf.tmpl b/dot_config/hypr/hyprland.conf.tmpl
2index a66db12e3d7b9e6983aeec7d87edd39d19142495..771e823054af0714b21172de77b79607574a62f2 100644
3--- a/dot_config/hypr/hyprland.conf.tmpl
4+++ b/dot_config/hypr/hyprland.conf.tmpl
5@@ -274,6 +274,9 @@ bindel = , XF86MonBrightnessDown, exec, light -U 10
6 bindel = SHIFT, XF86MonBrightnessUp, exec, light -A 1
7 bindel = SHIFT, XF86MonBrightnessDown, exec, light -U 1
8
9+# Lock
10+bind = $mod CONTROL, L, exec, hyprlock
11+
12 # Screenshot
13 bind = , Print, exec, hyprshot -z -m region --clipboard-only
14 bind = Shift, Print, exec, hyprshot -z -m region -o /home/pavle/pictures -f screenshot.png
15diff --git a/dot_config/hypr/hyprlock.conf b/dot_config/hypr/hyprlock.conf
16new file mode 100644
17index 0000000000000000000000000000000000000000..bddac477c8cfae9473586f46c24700e91206bd89
18--- /dev/null
19+++ b/dot_config/hypr/hyprlock.conf
20@@ -0,0 +1,102 @@
21+$font = IosevkaTerm NFP
22+$color_bg0 = rgba(1d2021ff)
23+$color_bg1 = rgba(282828ff)
24+$color_fg = rgba(ebdbb2ff)
25+$color_red = rgba(fb4934ff)
26+$color_yellow = rgba(fabd2fff)
27+$color_gray = rgba(7c6f64ff)
28+$animation_speed = 1.8
29+
30+auth {
31+ fingerprint {
32+ enabled = true
33+ }
34+}
35+
36+general {
37+ grace = 1
38+}
39+
40+animations {
41+ bezier = linear, 1, $animation_speed, 0, 0
42+ animation = fade, 1, $animation_speed, linear
43+}
44+
45+background {
46+ path = $HOME/pictures/wallpapers/oslo_radhus.png
47+}
48+
49+input-field {
50+ font_family = $font
51+ font_size = 18
52+ placeholder_text = <i>Password...</i>
53+ fail_text = $PAMFAIL
54+
55+ fade_on_empty = false
56+ hide_input = false
57+
58+ dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
59+ dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
60+ dots_center = true
61+
62+ size = 400, 40
63+ position = 0, 0
64+ halign = center
65+ valign = center
66+ outline_thickness = 2
67+ rounding = 4
68+
69+ outer_color = $color_gray
70+ inner_color = $color_bg1
71+ font_color = $color_fg
72+ check_color = $color_yellow
73+ fail_color = $color_red
74+}
75+
76+# User
77+label {
78+ text = $USER
79+ font_family = $font
80+ font_size = 24
81+ color = $color_fg
82+
83+ shadow_passes = 2
84+ shadow_size = 3
85+ shadow_boost = 1.2
86+
87+ position = 0, -50
88+ halign = center
89+ valign = center
90+}
91+
92+# Date
93+label {
94+ text = cmd[update:18000000] echo "<b> "$(date +'%A, %Y-%m-%-d')" </b>"
95+ font_family = $font
96+ font_size = 34
97+ color = $color_fg
98+
99+ shadow_passes = 2
100+ shadow_size = 3
101+ shadow_boost = 1.2
102+
103+ position = 0, -250
104+ halign = center
105+ valign = top
106+}
107+
108+# Time
109+label {
110+ text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>" # 24H
111+ font_family = $font
112+ font_size = 94
113+ color = $color_fg
114+
115+ shadow_passes = 2
116+ shadow_size = 3
117+ shadow_boost = 1.2
118+
119+ position = 0, -100
120diff --git a/dot_config/hypr/hyprpaper.conf b/dot_config/hypr/hyprpaper.conf
121index 3481bd6d91ba706e97dcf668b96a63f5330b9f1a..284943a8fa336338c05520d14355012aa566ba8f 100644
122--- a/dot_config/hypr/hyprpaper.conf
123+++ b/dot_config/hypr/hyprpaper.conf
124@@ -1,2 +1,2 @@
125-preload = /home/pavle/pictures/wallpapers/oslo_radhus.jpg
126-wallpaper = , /home/pavle/pictures/wallpapers/oslo_radhus.jpg
127+preload = /home/pavle/pictures/wallpapers/copenhagen_airport_737.jpg
128+wallpaper = , /home/pavle/pictures/wallpapers/copenhagen_airport_737.jpg