From 4adc7a808f10ec4133bf16fbceea49ec6ed1560a Mon Sep 17 00:00:00 2001 From: ZachIR Date: Thu, 31 Oct 2024 12:05:06 -0500 Subject: Add suspend timeout to hypridle --- hypr/hypridle.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf index 39ed177..df2b123 100644 --- a/hypr/hypridle.conf +++ b/hypr/hypridle.conf @@ -7,7 +7,13 @@ general { } listener { - timeout = 600 # in seconds + timeout = 300 # in seconds on-timeout = loginctl lock-session # command to run when timeout has passed on-resume = # command to run when activity is detected after timeout has fired. } + +listener { + timeout = 360 # in seconds + on-timeout = systemctl suspend # command to run when timeout has passed + on-resume = # command to run when activity is detected after timeout has fired. +} -- cgit v1.2.3 From 5c939654efcbf64c57812d9e670f6f6566ae8be0 Mon Sep 17 00:00:00 2001 From: ZachIR Date: Thu, 31 Oct 2024 12:05:37 -0500 Subject: Change hypridle, dunst, mpd hypr autostart to sysd I have accepted the systemd suck, so these are now mpd user services (although dunst and hypridle still have to be started by Hyprland). --- hypr/hyprland.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 2eac30c..9f1d55f 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -14,7 +14,7 @@ monitor = DP-1, 1920x1080@60, 1920x0, 1 exec-once = xdph exec-once = hyprpm reload -n exec-once = hyprpaper -exec-once = hypridle +#exec-once = hypridle exec-once = waybar exec-once = pypr exec-once = lxqt-policykit-agent @@ -23,7 +23,9 @@ exec-once = import-gsettings icon-theme 'Mint-X-Grey' exec-once = import-gsettings cursor-theme 'Breeze' exec-once = xrdb -load "$XDG_CONFIG_HOME"/X11/xresources exec-once = com.github.wwmm.easyeffects -exec-once = mpd +exec-once = systemctl --user start dunst +exec-once = systemctl --user start hypridle +#exec-once = mpd #}}} #{{{ env -- cgit v1.2.3 From 76b662c7b576f5af9294a1dbdc8b94b35a1059ab Mon Sep 17 00:00:00 2001 From: ZachIR Date: Thu, 31 Oct 2024 12:07:14 -0500 Subject: Float kdenlive popup in Hyprland --- hypr/hyprland.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 9f1d55f..40b1ade 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -190,6 +190,7 @@ windowrule = float, ^(xdg-desktop-portal-gtk) windowrule = float, title:^(UNDERTALE)$ windowrule = float, ^(Tk)$ windowrule = float, ^(lxqt-policykit-agent)$ +windowrule = float, ^(Kdenlive)$ windowrulev2 = stayfocused, title:^()$, class:^(steam)$ windowrulev2 = minsize 1 1, title:^()$, class:^(steam)$ windowrulev2 = stayfocused, title:^(menu)$,class:^(yabridge-host.exe.so)$ -- cgit v1.2.3 From c2595192b158918d570f87dec01c697b7db90d2f Mon Sep 17 00:00:00 2001 From: ZachIR Date: Thu, 31 Oct 2024 12:07:52 -0500 Subject: Add acpi-notify script shortcut to hypr --- hypr/hyprland.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 40b1ade..7b2d664 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -346,6 +346,7 @@ bind = $mainMod, Q, exec, loginctl lock-session bind = $mainMod $secdMod CONTROL, Q, exec, systemctl suspend bind = $mainMod SHIFT, G, exec, get-app-id bind = $mainMod Control, M, exec, volsv -m +bind = $mainMod, Comma, exec, acpi-notify.sh #bind = $mainMod CONTROL, R, exec, startx -- /usr/bin/Xephyr -screen 1920x1080 :1 #}}} -- cgit v1.2.3 From f627c6a471c89f3a13ef0dfee411dc6dbf18a0ee Mon Sep 17 00:00:00 2001 From: ZachIR Date: Thu, 31 Oct 2024 12:08:12 -0500 Subject: Add auto-cpufreq zsh completion --- zsh/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index 00be912..a00f116 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -97,3 +97,4 @@ bindkey -- '^[[B' down-line-or-beg [[ -n "${key[Shift-Tab]}" ]] && bindkey -- "${key[Shift-Tab]}" reverse-menu-complete [[ -n "${key[Delete]}" ]] && bindkey -- "${key[Delete]}" delete-char +eval "$(_AUTO_CPUFREQ_COMPLETE=zsh_source auto-cpufreq)" -- cgit v1.2.3