aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/.config/hypr/hyprland.conf10
-rw-r--r--desktop/.config/hypr/hyprpaper.conf12
2 files changed, 13 insertions, 9 deletions
diff --git a/desktop/.config/hypr/hyprland.conf b/desktop/.config/hypr/hyprland.conf
index 8ed1d66..3c8b9ae 100644
--- a/desktop/.config/hypr/hyprland.conf
+++ b/desktop/.config/hypr/hyprland.conf
@@ -7,7 +7,7 @@ $SCRIPTS_DIR = $HOME/.config/hypr/scripts
$LOG_FILE = $HOME/.hypr.log
# Used programs
-$BROWSER = brave --enable-features=UseOzonePlatform --ozone-platform=wayland
+$BROWSER = brave --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-features=UseChromeOSDirectVideoDecoder
$DISCORD = discord --enable-features=UseOzonePlatform --ozone-platform=wayland
$TERMINAL = wezterm
$EDITOR = nvim
@@ -270,14 +270,14 @@ workspace = 4, monitor:$MAIN_MONITOR
workspace = 5, monitor:$MAIN_MONITOR
# Force discord to stay at 2nd workspace
-windowrule = workspace 2 silent, class:^(discord)$
+windowrule = workspace 2 silent, match:class ^(discord)$
# Force steam to stay at 5th workspace
-windowrule = workspace 5 silent, class:^(steam)$
+windowrule = workspace 5 silent, match:class ^(steam)$
# Make flameshot not temporarily resize windows
-windowrule = float, class:^($SCREENSHOT)$
+windowrule = float on, match:class ^($SCREENSHOT)$
# Ignore maximize requests from apps
-windowrule = suppressevent maximize, class:.*
+windowrule = suppress_event maximize, match:class .*
diff --git a/desktop/.config/hypr/hyprpaper.conf b/desktop/.config/hypr/hyprpaper.conf
index 9ddeffb..d283f35 100644
--- a/desktop/.config/hypr/hyprpaper.conf
+++ b/desktop/.config/hypr/hyprpaper.conf
@@ -3,7 +3,11 @@ $SECOND_MONITOR = HDMI-A-1
$WALLPAPER_2K = $HOME/wallpapers/2k/.current
$WALLPAPER_HD = $HOME/wallpapers/hd/.current
-preload = $WALLPAPER_2K
-preload = $WALLPAPER_HD
-wallpaper = $MAIN_MONITOR,$WALLPAPER_2K
-wallpaper = $SECOND_MONITOR,$WALLPAPER_HD
+wallpaper {
+ monitor = $MAIN_MONITOR
+ path = $WALLPAPER_2K
+}
+wallpaper {
+ monitor = $SECOND_MONITOR
+ path = $WALLPAPER_HD
+}