changed gaming special workspace to steam

This commit is contained in:
kenji
2025-07-17 14:44:11 -05:00
parent 67fa3f06ed
commit a4e2cf06e9
4 changed files with 49 additions and 23 deletions
+19 -19
View File
@@ -9,25 +9,25 @@
}; };
listener = [ listener = [
{ # {
timeout = 150; # timeout = 150;
on-timeout = "brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor. # on-timeout = "brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor.
on-resume = "brightnessctl -r"; # restore monitor backlight. # on-resume = "brightnessctl -r"; # restore monitor backlight.
} # }
{ # {
timeout = 150; # timeout = 150;
on-timeout = "brightnessctl -sd rgb:kbd_backlight set 0"; # turn off keyboard backlight. # on-timeout = "brightnessctl -sd rgb:kbd_backlight set 0"; # turn off keyboard backlight.
on-resume = "brightnessctl -rd rgb:kbd_backlight"; # turn on keyboard backlight. # on-resume = "brightnessctl -rd rgb:kbd_backlight"; # turn on keyboard backlight.
} # }
{ # {
timeout = 300; # timeout = 300;
on-timeout = "loginctl lock-session"; # lock screen when timeout has passed. # on-timeout = "loginctl lock-session"; # lock screen when timeout has passed.
} # }
{ # {
timeout = 330; # timeout = 330;
on-timeout = "hyprctl dispatch dpms off"; # screen off after 5.5min. # on-timeout = "hyprctl dispatch dpms off"; # screen off after 5.5min.
on-resume = "hyprctl dispatch dpms on && brightnessctl -r"; # screen on and restore brightness on resume. # on-resume = "hyprctl dispatch dpms on && brightnessctl -r"; # screen on and restore brightness on resume.
} # }
{ {
timeout = 500; timeout = 500;
on-timeout = "systemctl suspend"; # suspend PC after 30min. on-timeout = "systemctl suspend"; # suspend PC after 30min.
+18
View File
@@ -8,6 +8,24 @@
env = [ env = [
"HYPRCURSOR_THEME, Bibata-Original-Classic" "HYPRCURSOR_THEME, Bibata-Original-Classic"
"HYPRCURSOR_SIZE, 24" "HYPRCURSOR_SIZE, 24"
"QT_QPA_PLATFORMTHEME, qt5ct"
"QT_WAYLAND_DISABLE_WINDOWDECORATION, 1"
"QT_AUTO_SCREEN_SCALE_FACTOR, 1"
"XCURSOR_THEME, sweet-rainbow"
"XCURSOR_SIZE, 24"
"GDK_BACKEND, wayland,x11"
"QT_QPA_PLATFORM, wayland;xcb"
"SDL_VIDEODRIVER, wayland,x11"
"CLUTTER_BACKEND, wayland"
"ELECTRON_OZONE_PLATFORM_HINT, auto"
"XDG_CURRENT_DESKTOP, Hyprland"
"XDG_SESSION_TYPE, wayland"
"XDG_SESSION_DESKTOP, Hyprland"
"_JAVA_AWT_WM_NONREPARENTING, 1"
]; ];
}; };
} }
+5 -3
View File
@@ -6,9 +6,10 @@
}: { }: {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
exec-once = [ exec-once = [
# "[workspace special:communication silent] discord"
"[workspace special:steam silent] steam -start steam://open/bigpicture" "[workspace special:steam silent] steam -start steam://open/bigpicture"
"[workspace 20 silent] kitty --single-instance --hold fastfetch" "[workspace special:preload silent] kitty --single-instance --hold fastfetch"
"[workspace 20 silent] firefox" "[workspace special:preload silent] firefox"
"[workspace 1] kitty --single-instance --hold -e fish -C fastfetch" "[workspace 1] kitty --single-instance --hold -e fish -C fastfetch"
"hyprctl setcursor Bibata-Modern-Ice 24" "hyprctl setcursor Bibata-Modern-Ice 24"
@@ -16,10 +17,11 @@
"solaar -w hide" "solaar -w hide"
# "sunshine" # "sunshine"
# "moondeck-buddy" # "moondeck-buddy"
"caelestia shell"
"wl-paste --type text --watch cliphist store" "wl-paste --type text --watch cliphist store"
"wl-paste --type image --watch cliphist store" "wl-paste --type image --watch cliphist store"
"sleep 3 && caelestia shell"
]; ];
}; };
} }
+7 -1
View File
@@ -44,7 +44,13 @@
"workspace special:music, initialTitle:Spotify( Free)?" "workspace special:music, initialTitle:Spotify( Free)?"
"workspace special:communication, class:discord|equibop|vesktop|whatsapp" "workspace special:communication, class:discord|equibop|vesktop|whatsapp"
"workspace special:todo, class:Todoist" "workspace special:todo, class:Todoist"
"workspace special:gaming, class:^(steam_app_.*)$" "workspace special:steam, class:^(steam_app_.*)$"
"noinitialfocus, class:discord"
"focusonactivate 0, class:discord"
# Always full screen
# "fullscreen, title:^(Steam Big Picture Mode)$"
# Dialogs # Dialogs
"float, title:(Select|Open)( a)? (File|Folder)(s)?" "float, title:(Select|Open)( a)? (File|Folder)(s)?"