From 2b60d790455b584726f9e4914960931ebcb1ffb8 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 9 Sep 2024 09:28:15 +0200 Subject: fish: fix wayland detection --- .config/fish/config.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/fish') diff --git a/.config/fish/config.fish b/.config/fish/config.fish index e4edb7f..4f7aab8 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -60,7 +60,7 @@ if status is-interactive abbr --add --global ddg 'surfraw duckduckgo -j' abbr --add --global lu 'sdcv' - if test "$WAYLAND_DISPLAY" != "wayland-1" + if test "$WAYLAND_DISPLAY" = "wayland-1" abbr --add --global C 'wl-copy' # Wayland else abbr --add --global C 'xsel -b' # X11 -- cgit v1.2.3-70-g09d2