summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2024-10-31 12:08:44 -0500
committerZachIR <zachir@librem.one>2024-10-31 12:08:44 -0500
commit50651b5484ab0351ed03a8b254ce085a98d28cd3 (patch)
treea9c7aa6c3aa94b69cc73cd8c17ab216329ddb168
parent7c52adbb47e92ee636ad495604294f174a7d8d16 (diff)
parentf627c6a471c89f3a13ef0dfee411dc6dbf18a0ee (diff)
Merge branch 'master' into car
-rw-r--r--hypr/hypridle.conf8
-rw-r--r--hypr/hyprland.conf8
-rw-r--r--zsh/.zshrc1
3 files changed, 14 insertions, 3 deletions
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.
+}
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index 8f75f47..536ba09 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -12,7 +12,7 @@ monitor = , preferred, auto, 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
@@ -21,7 +21,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
@@ -186,6 +188,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)$
@@ -341,6 +344,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
#}}}
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)"