diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2025-06-22 14:45:05 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2025-06-22 14:45:05 -0400 |
| commit | 98c9f80a6ec1a02f8168757996a9c30001d9403a (patch) | |
| tree | f07403be7cc1f207422bf2ea809d498ae8ad4598 | |
| parent | bc00c13276dd98c8e04dd1dc5b889da49fd3d224 (diff) | |
idle and lock
| -rw-r--r-- | .config/hypr/hypridle.conf | 2 | ||||
| -rw-r--r-- | .config/hypr/hyprlock.conf | 77 | ||||
| -rw-r--r-- | README.md | 5 | ||||
| -rwxr-xr-x | scripts/pause-idle | 2 | ||||
| -rwxr-xr-x | scripts/start-idle | 2 | ||||
| -rwxr-xr-x | scripts/startup | 4 |
6 files changed, 46 insertions, 46 deletions
diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf index d871778..8a4a3c0 100644 --- a/.config/hypr/hypridle.conf +++ b/.config/hypr/hypridle.conf @@ -5,5 +5,5 @@ general { listener { timeout = 300 # 5min - on-timeout = systemctl suspend + on-timeout = loginctl suspend } diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf index e12fee9..e8d61a5 100644 --- a/.config/hypr/hyprlock.conf +++ b/.config/hypr/hyprlock.conf @@ -1,47 +1,40 @@ -disable_loading_bar = true -hide_cursor = true -no_fade_in = true - background { - monitor = - path = screenshot + path = screenshot - # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations - blur_passes = 2 # 0 disables blurring - blur_size = 2 - noise = 0.0117 - contrast = 0.8916 - brightness = 0.8172 - vibrancy = 0.1696 - vibrancy_darkness = 0.0 + blur_passes = 2 # 0 disables blurring + blur_size = 2 + noise = 0.0117 + contrast = 0.8916 + brightness = 0.8172 + vibrancy = 0.1696 + vibrancy_darkness = 0.0 } input-field { - monitor = - size = 200, 200 - outline_thickness = 15 - 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 = false - dots_rounding = -1 # -1 default circle, -2 follow input-field rounding - outer_color = rgb(151515) - inner_color = rgb(200, 200, 200) - font_color = rgb(10, 10, 10) - fade_on_empty = true - fade_timeout = 50 # Milliseconds before fade_on_empty is triggered. - hide_input = true - rounding = -1 # -1 means complete rounding (circle/oval) - check_color = rgb(100, 118, 48) - fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color - placeholder_text = - fail_text = <i><b>($ATTEMPTS)</b></i> # can be set to empty - fail_transition = 50 # 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 + # size = 200, 200 + # outline_thickness = 15 + # 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 = false + # dots_rounding = -1 # -1 default circle, -2 follow input-field rounding + # outer_color = rgb(151515) + # inner_color = rgb(200, 200, 200) + # font_color = rgb(10, 10, 10) + # fade_on_empty = true + # fade_timeout = 50 # Milliseconds before fade_on_empty is triggered. + # hide_input = true + # rounding = -1 # -1 means complete rounding (circle/oval) + # check_color = rgb(100, 118, 48) + # fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color + # placeholder_text = + # fail_text = <i><b>($ATTEMPTS)</b></i> # can be set to empty + # fail_transition = 50 # 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 -}
\ No newline at end of file + position = 0, -20 + halign = center + valign = center +} @@ -3,6 +3,7 @@ ## Dependencies System setup: - Zsh is set as shell +- Elogind is running Important - Hyprland + utils (hyprpaper, hypridle) @@ -14,6 +15,7 @@ Important Helper - Brightnessctl - Grim and Slurp for screenshots +- Ripgrep for nvim Fonts and style: - Whiteglass xcursor theme @@ -28,5 +30,6 @@ Everything can be installed by running `stow .` Since there are probably conflic - [x] Hyprpaper - [x] Cursor - [x] Status bar -- [ ] Idle +- [x] Screenshot +- [x] Idle - [ ] Wmenu for commands diff --git a/scripts/pause-idle b/scripts/pause-idle new file mode 100755 index 0000000..fa7e317 --- /dev/null +++ b/scripts/pause-idle @@ -0,0 +1,2 @@ +#!/bin/sh +pkill -x hypridle diff --git a/scripts/start-idle b/scripts/start-idle new file mode 100755 index 0000000..f16b66a --- /dev/null +++ b/scripts/start-idle @@ -0,0 +1,2 @@ +#!/bin/sh +hypridle diff --git a/scripts/startup b/scripts/startup index b6a8728..29534a5 100755 --- a/scripts/startup +++ b/scripts/startup @@ -1,6 +1,6 @@ #!/bin/sh hyprpaper & hypridle & -restartemacs >/dev/null & -pipewire & waybar & +pipewire & +restartemacs >/dev/null & |
