chore: code oss workspace rule

This commit is contained in:
hesam-init 2024-10-21 10:26:17 +03:30
parent 2467e33ce2
commit 7d173e515f
4 changed files with 14 additions and 11 deletions

View file

@ -3,7 +3,7 @@
# -----------------------------------------------------
windowrulev2 = workspace 1,class:^(Thorium-browser|chrome|google-chrome|Chrome|Firefox|firefox|FreeTube)$
windowrulev2 = workspace 2,class:^(code-url-handler|code|Code|.*jetbrains.*)$
windowrulev2 = workspace 2,class:^(code-url-handler|code|Code|Code - OSS|.*jetbrains.*)$
windowrulev2 = workspace 3,class:^(nekoray|Nekoray|hiddify)$
windowrulev2 = workspace 4,class:^(org.telegram.desktop|telegramdesktop|discord|vesktop)$
windowrulev2 = workspace 5,class:^(Spotify)$

View file

@ -8,7 +8,8 @@ exec-once = [workspace 3 silent] $terminal -e htop
exec-once = [workspace special:$networks_workspace silent] $terminal -e bandwhich
exec-once = [workspace special:$networks_workspace silent] $terminal
exec-once = [workspace special:$magic_workspace silent] $terminal -e tty-clock -c
# exec-once = [workspace special:$magic_workspace silent] $terminal -e tty-clock -c
exec-once = [workspace special:$magic_workspace silent] $terminal
exec-once = [workspace special:$magic_workspace silent] $terminal
# exec-once = [workspace 3 silent] $terminal -e bandwhich

View file

@ -20,13 +20,13 @@ listener {
on-timeout = loginctl lock-session # lock screen when timeout has passed
}
listener {
timeout = 900 # 15min
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.
}
# listener {
# timeout = 900 # 15min
# 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.
# }
listener {
timeout = 2400 # 40min
on-timeout = loginctl suspend # suspend pc
}
# listener {
# timeout = 2400 # 40min
# on-timeout = loginctl suspend # suspend pc
# }

View file

@ -16,6 +16,8 @@ inode/directory=nemo.desktop
x-scheme-handler/about=thorium-portable.desktop
x-scheme-handler/unknown=thorium-portable.desktop
x-scheme-handler/eclipse+command=_usr_lib_dbeaver_.desktop
x-scheme-handler/jetbrains=jetbrains-toolbox.desktop
x-scheme-handler/fleet=jetbrains-fleet.desktop
[Added Associations]
x-scheme-handler/http=userapp-Firefox-QKWUJ2.desktop;userapp-Firefox-Q5DTJ2.desktop;