From e449b39043002976a3ca9275a1582ae6d6920a89 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 2 Mar 2025 01:53:30 +0100 Subject: up --- .config/wayland/init.sh | 2 ++ .local/bin/dmrun | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.config/wayland/init.sh b/.config/wayland/init.sh index d9231bc..a74eaf7 100755 --- a/.config/wayland/init.sh +++ b/.config/wayland/init.sh @@ -45,5 +45,7 @@ startif pipewire-pulse sleep 1 startif wireplumber startif copyq +startif nextcloud +startif stalonetray notify-send -u normal 'Welcome' "$icon Welcome back, partner!" firefox & diff --git a/.local/bin/dmrun b/.local/bin/dmrun index f47c232..41c0e0e 100755 --- a/.local/bin/dmrun +++ b/.local/bin/dmrun @@ -11,7 +11,11 @@ sub main if (@ARGV == 1) { $color = $ARGV[0]; } - return exec("dmenu_run -i -sb '$color' -shb '$color'"); + my $menu = "dmenu_run -sb '$color' -shb '$color'"; + if (defined $ENV{WAYLAND_DISPLAY}) { + $menu = "wmenu-run -S '$color'"; + } + return exec("$menu -i"); } main(); -- cgit v1.2.3