env = HYPRCURSOR,24
# Execute your favorite apps at launch
-exec-once = hypridle
exec-once = ~/.config/hypr/scripts/startup.sh
+exec-once = hypridle
+exec-once = foot -s
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
windowrule = float, ^(openrgb)$
windowrule = float, ^(org.kde.*)$
windowrule = float, ^(vlc.*)$
+windowrule = float, class:^(qalculate.*)$
# windowrule = float, ^(org.kde.okular)$
# windowrule = float, ^(org.kde.gwenview)$
# windowrule = float, ^(org.kde.skanlite)$
-windowrule = immediate, ^(.*exe)$
-windowrule = immediate, fullscreen, ^(gamescope)$
+windowrulev2 = noanim, class:^(.*exe)$
+windowrulev2 = fullscreen, class:^(gamescope)$
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$suremod = SUPER ALT CTRL
bind = $suremod, G, exec, ~/dotfiles/config/hypr/scripts/gamemode.sh
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
-bind = $mainmod, Return, exec, foot
+bind = $mainmod, Return, exec, footclient
bind = $mainmod Shift, Q, killactive,
-bind = $mainmod Shift, Return, exec, foot -w 1280x800 -a popup
-bind = $mainmod, P, exec, foot -w 640x400 -a popup -H hyprpicker #color Pipette
+bind = $mainmod Shift, Return, exec, footclient -w 1280x800 -a popup
+bind = $mainmod, P, exec, footclient -w 640x400 -a popup -H hyprpicker #color Pipette
bind = $mainmod, E, exec, dolphin
bind = $mainmod, F, fullscreen,1
bind = $mainmod, V, exec, killall fuzzel || cliphist list | fuzzel -d -w 100 | cliphist decode | wl-copy
killall xdg-desktop-portal
logger 'killed all xdg-desktop'
-sleep 1
+sleep 0.5
/usr/libexec/xdg-desktop-portal-kde &
if [[ ! $(pidof xdg-desktop-portal-kde) ]]; then
logger 'problem: xdg-desktop-portal-kde not running'
fi
-sleep 1
+sleep 0.5
/usr/libexec/xdg-desktop-portal-hyprland &
logger 'xdg-desktop-portal-hyprland started'
if [[ ! $(pidof xdg-desktop-portal-hyprland) ]]; then
logger 'problem: xdg-desktop-portal-hyprland not running'
fi
-sleep 2
+sleep 1
/usr/libexec/xdg-desktop-portal &
if [[ ! $(pidof xdg-desktop-portal) ]]; then
logger 'problem: xdg-desktop-portal not running'
logger 'gentoo-pipewire-launcher (re-)started'
fi
-if [[ ! $(pidof waybar) ]]; then
+if [[ ! $(pidof waybar) && $(pidof pipewire) ]]; then
waybar &
logger 'waybar started'
+else
+ until [[ $(pidof pipewire) ]]; do
+ sleep 0.5
+ done
+ waybar &
+ logger 'waybar started with delay due to pipewire not available'
fi
if [[ ! $(pidof mpd) ]]; then