summaryrefslogtreecommitdiff
path: root/hypr
diff options
context:
space:
mode:
authorUhGoomba <53350163+UhGoomba@users.noreply.github.com>2024-07-12 01:02:31 -0400
committerUhGoomba <53350163+UhGoomba@users.noreply.github.com>2024-07-12 01:02:31 -0400
commite8cc2e6f77cb813c56a70b1cd02fab6d564f65fd (patch)
tree1a43a186830f282798b0a25e5a4d6cfbda71b4a2 /hypr
parent3b4309af9b32d100b1de47dd74968f16a511cf32 (diff)
hypr shot and lock
Diffstat (limited to 'hypr')
-rw-r--r--hypr/.config/hypr/binds.conf25
-rw-r--r--hypr/.config/hypr/hyprlock.conf102
2 files changed, 108 insertions, 19 deletions
diff --git a/hypr/.config/hypr/binds.conf b/hypr/.config/hypr/binds.conf
index 59ff8b8..c31d163 100644
--- a/hypr/.config/hypr/binds.conf
+++ b/hypr/.config/hypr/binds.conf
@@ -4,12 +4,13 @@ $mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bindr = SUPER, SUPER_L, exec, wofi
bind = $mainMod, A, exec, kitty
-bind = $mainMod, D, killactive,
+bind = $mainMod, D, killactive,
+bind = $mainMod, S, exec, hyprshot -m region
bind = $mainMod, M, exit,
-bind = $mainMod, V, togglefloating,
-bind = $mainMod, R, exec, $menu
-bind = $mainMod, P, pseudo, # dwindle
-bind = $mainMod, T, togglesplit, # dwindle
+bind = $mainMod, V, togglefloating,
+bind = $mainMod, P, exec, hyprpicker -a
+bind = $mainMod, L, exec, hyprlock
+bind = $mainMod, R, togglesplit, # dwindle
bind = $mainMod, F, fullscreen
bind = $mainMod, G, fakefullscreen
bind = $mainMod, W, exec, cachy-browser
@@ -28,20 +29,6 @@ bind = $mainMod SHIFT,right ,movewindow, r
bind = $mainMod SHIFT,up ,movewindow, u
bind = $mainMod SHIFT,down ,movewindow, d
-# Move focus with mainMod + hjkl
-bind = $mainMod, H, movefocus, l
-bind = $mainMod, K, movefocus, u
-bind = $mainMod, J, movefocus, d
-bind = $mainMod, L, movefocus, r
-
-bind = $mainMod SHIFT,H ,movewindow, l
-bind = $mainMod SHIFT,K ,movewindow, r
-bind = $mainMod SHIFT,J ,movewindow, u
-bind = $mainMod SHIFT,L ,movewindow, d
-
-# screenshot keybind
-bind = $mainMod, S, exec, grim -o DP-1 "${HOME}/Pictures/screenshots/screenshot-$(date +%F-%T).png"
-
# screenshot + crop keybind
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" "${HOME}/Pictures/screenshots/screenshot-$(date +%F-%T).png"
diff --git a/hypr/.config/hypr/hyprlock.conf b/hypr/.config/hypr/hyprlock.conf
new file mode 100644
index 0000000..3150f25
--- /dev/null
+++ b/hypr/.config/hypr/hyprlock.conf
@@ -0,0 +1,102 @@
+# $text_color = rgba(E3E1EFFF)
+# $entry_background_color = rgba(12131C11)
+# $entry_border_color = rgba(908F9F55)
+# $entry_color = rgba(C6C5D6FF)
+$text_color = rgba(FFFFFFFF)
+$entry_background_color = rgba(33333311)
+$entry_border_color = rgba(3B3B3B55)
+$entry_color = rgba(FFFFFFFF)
+$font_family = Rubik Light
+$font_family_clock = Rubik Light
+$font_material_symbols = Material Symbols Rounded
+
+background {
+ # color = rgba(0D0D17FF)
+ color = rgba(000000FF)
+ # path = {{ SWWW_WALL }}
+ # path = screenshot
+ # blur_size = 5
+ # blur_passes = 4
+}
+input-field {
+ monitor =
+ size = 250, 50
+ outline_thickness = 2
+ dots_size = 0.1
+ dots_spacing = 0.3
+ outer_color = $entry_border_color
+ inner_color = $entry_background_color
+ font_color = $entry_color
+ # fade_on_empty = true
+
+ position = 0, 20
+ halign = center
+ valign = center
+}
+
+label { # Clock
+ monitor =
+ text = $TIME
+ shadow_passes = 1
+ shadow_boost = 0.5
+ color = $text_color
+ font_size = 65
+ font_family = $font_family_clock
+
+ position = 0, 300
+ halign = center
+ valign = center
+}
+label { # Greeting
+ monitor =
+ text = hi $USER !!!
+ shadow_passes = 1
+ shadow_boost = 0.5
+ color = $text_color
+ font_size = 20
+ font_family = $font_family
+
+ position = 0, 240
+ halign = center
+ valign = center
+}
+label { # lock icon
+ monitor =
+ text = lock
+ shadow_passes = 1
+ shadow_boost = 0.5
+ color = $text_color
+ font_size = 21
+ font_family = $font_material_symbols
+
+ position = 0, 65
+ halign = center
+ valign = bottom
+}
+label { # "locked" text
+ monitor =
+ text = locked
+ shadow_passes = 1
+ shadow_boost = 0.5
+ color = $text_color
+ font_size = 14
+ font_family = $font_family
+
+ position = 0, 45
+ halign = center
+ valign = bottom
+}
+
+label { # Status
+ monitor =
+ text = cmd[update:5000] ~/.config/hypr/hyprlock/status.sh
+ shadow_passes = 1
+ shadow_boost = 0.5
+ color = $text_color
+ font_size = 14
+ font_family = $font_family
+
+ position = 30, -30
+ halign = left
+ valign = top
+}