diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 6490266..65b5d70 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -7,6 +7,7 @@ source = rules.conf $scritps = ~/.config/hypr/scripts +exec-once = mako & exec-once = nm-applet & exec-once = waybar & exec-once = hyprpm reload -n diff --git a/.config/hypr/rules.conf b/.config/hypr/rules.conf index 4aebca6..8a62ce6 100644 --- a/.config/hypr/rules.conf +++ b/.config/hypr/rules.conf @@ -17,7 +17,7 @@ windowrulev2 = noborder,class:^(jetbrains-.*)$,title:^( )$,floating:1 windowrulev2 = nofocus,class:^(jetbrains-.*)$,title:^(win.*)$,floating:1 # Center vscode prompts -windowrulev2 = center,xwayland:1,floating:1,fullscreen:0,pinned:0,initialTitle:Code - OSS +windowrulev2 = center,xwayland:1,floating:1,fullscreen:0,pinned:0,initialClass:Electron # Steam friends list windowrulev2 = float,initialClass:steam,initialTitle:Friends List @@ -28,4 +28,9 @@ workspace = f[1], gapsout:0, gapsin:0 windowrule = bordersize 0, floating:0, onworkspace:w[tv1] windowrule = rounding 0, floating:0, onworkspace:w[tv1] windowrule = bordersize 0, floating:0, onworkspace:f[1] -windowrule = rounding 0, floating:0, onworkspace:f[1] \ No newline at end of file +windowrule = rounding 0, floating:0, onworkspace:f[1] + +# Prevend idle when using fullscreen app +windowrulev2 = idleinhibit fullscreen, class:^(*)$ +windowrulev2 = idleinhibit fullscreen, title:^(*)$ +windowrulev2 = idleinhibit fullscreen, fullscreen:1 diff --git a/setup.sh b/setup.sh index 2388255..f147811 100644 --- a/setup.sh +++ b/setup.sh @@ -1,6 +1,9 @@ #!/bin/bash -set -e +set -e\ + +mkdir -p ~/.config +mkdir -p ~/wallpapers if ! command -v yay 2>&1 >/dev/null then @@ -24,7 +27,8 @@ sudo pacman -Syu --noconfirm \ pavucontrol \ wl-clipboard \ orchis-theme \ - brightnessctl + brightnessctl \ + mako if ! command -v yay 2>&1 >/dev/null then