diff --git a/modules/wm/hyprland/config/hypr/hyprland.conf b/modules/wm/hyprland/config/hypr/hyprland.conf index 7a6165f..4dfeb9b 100644 --- a/modules/wm/hyprland/config/hypr/hyprland.conf +++ b/modules/wm/hyprland/config/hypr/hyprland.conf @@ -12,6 +12,7 @@ $nix = /home/horseman/nix-config ################# exec-once = swaybg -i $nix/misc/wallpaper.png +exec-once = eww daemon # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: diff --git a/modules/wm/hyprland/config/hypr/keybinds.conf b/modules/wm/hyprland/config/hypr/keybinds.conf index efa68e1..dfe23f6 100644 --- a/modules/wm/hyprland/config/hypr/keybinds.conf +++ b/modules/wm/hyprland/config/hypr/keybinds.conf @@ -1,6 +1,6 @@ $mainMod = SUPER $terminal = kitty -$launcher = pkill wofi || wofi --show drun +$launcher = ~/.config/hypr/open.sh bindr = SUPER, SUPER_L, exec, $launcher diff --git a/modules/wm/hyprland/config/hypr/open.sh b/modules/wm/hyprland/config/hypr/open.sh new file mode 100755 index 0000000..31d66db --- /dev/null +++ b/modules/wm/hyprland/config/hypr/open.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +(pkill wofi && ~/.config/eww/scripts/open.sh) || + (wofi --show drun & + ~/.config/eww/scripts/open.sh)