feat: hypridle for hyprland config

This commit is contained in:
hesam-init 2024-10-12 09:39:41 +03:30
parent cc5104c6a4
commit 3ff858208a
6 changed files with 15 additions and 11 deletions

View file

@ -24,6 +24,6 @@ animations {
animation = fade, 1, 10, default animation = fade, 1, 10, default
# Workspace switch animations: a bit slower to enhance smooth transitions # Workspace switch animations: a bit slower to enhance smooth transitions
animation = workspaces, 1, 8, smooth animation = workspaces, 1, 6, smooth
animation = specialWorkspace, 1, 7, smooth, slidevert animation = specialWorkspace, 1, 7, smooth, slidevert
} }

View file

@ -7,12 +7,13 @@ exec-once = $script_dir/startup/pipewire.sh &
exec-once = $script_dir/startup/keyring.sh & exec-once = $script_dir/startup/keyring.sh &
exec-once = wl-paste --watch cliphist store & exec-once = wl-paste --watch cliphist store &
exec-once = hyprpaper &
exec-once = hypridle &
exec-once = $script_dir/startup/dunst.sh & exec-once = $script_dir/startup/dunst.sh &
# exec-once = ~/.config/hypr/scripts/wallpaper/wallpaper-daemon.sh & # exec-once = ~/.config/hypr/scripts/wallpaper/wallpaper-daemon.sh &
exec-once = hyprpaper &
exec-once = $script_dir/startup/swayosd.sh & exec-once = $script_dir/startup/swayosd.sh &
# exec-once = ~/.config/hypr/scripts/waybar/start.sh & # exec-once = ~/.config/hypr/scripts/waybar/start.sh &
exec-once = $eww_script_dir/eww/start.sh & # exec-once = $eww_script_dir/eww/start.sh &
# exec-once = avizo-service & # exec-once = avizo-service &
# exec-once = eww daemon && eww open bar # exec-once = eww daemon && eww open bar

View file

@ -22,7 +22,7 @@ bind = $main_mod SHIFT, TAB, focusmonitor, -1
bind = $main_mod, L, exec, $locker bind = $main_mod, L, exec, $locker
bind = $main_mod, M, exec, $rofi_powermenu bind = $main_mod, M, exec, $rofi_powermenu
bind = $main_mod, R, exec, $rofi_menu bind = $main_mod, R, exec, $rofi_menu
bind = $main_mod, A, exec, $nekoray # bind = $main_mod, A, exec, $nekoray
bind = $main_mod, T, exec, $pavucontrol bind = $main_mod, T, exec, $pavucontrol
bind = $main_mod, X, exec, $rofi_screenshot bind = $main_mod, X, exec, $rofi_screenshot
bind = $main_mod, V, exec, $rofi_clipboard bind = $main_mod, V, exec, $rofi_clipboard
@ -99,6 +99,9 @@ bind = $main_mod SHIFT, 9, movetoworkspace, 9
bind = $main_mod SHIFT, 0, movetoworkspace, 10 bind = $main_mod SHIFT, 0, movetoworkspace, 10
# Example special workspace (scratchpad) # Example special workspace (scratchpad)
bind = $main_mod, A, togglespecialworkspace, multimedia
bind = $main_mod SHIFT, A, movetoworkspace, special:multimedia
bind = $main_mod, D, togglespecialworkspace, networks bind = $main_mod, D, togglespecialworkspace, networks
bind = $main_mod SHIFT, D, movetoworkspace, special:networks bind = $main_mod SHIFT, D, movetoworkspace, special:networks

View file

@ -32,7 +32,7 @@ $rio_terminal = rio
$terminal = $alacritty_terminal $terminal = $alacritty_terminal
$zterminal = $terminal -o "window.opacity=1" -e zellij $zterminal = $terminal -o "window.opacity=1" -e zellij
$fileManager = nemo $fileManager = dolphin
$bluetooth-manager = blueman-manager $bluetooth-manager = blueman-manager
$pkg_manager = octoxbps $pkg_manager = octoxbps
$locker = hyprlock $locker = hyprlock

View file

@ -20,11 +20,11 @@ listener {
on-timeout = loginctl lock-session # lock screen when timeout has passed on-timeout = loginctl lock-session # lock screen when timeout has passed
} }
# listener { listener {
# timeout = 330 # 5.5min timeout = 330 # 5.5min
# on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
# on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
# } }
listener { listener {
timeout = 1800 # 30min timeout = 1800 # 30min

@ -1 +1 @@
Subproject commit 5c41d8cd2b83a1a4ca63f113a40ece742c4c6a3d Subproject commit b31a86bba884b1ff3b17adc4e3786e796c4e31d8