summaryrefslogtreecommitdiffstats
path: root/.config/fish/config.fish
diff options
context:
space:
mode:
authorYigit Sever2024-09-09 09:28:15 +0200
committerYigit Sever2024-09-09 09:28:15 +0200
commit2b60d790455b584726f9e4914960931ebcb1ffb8 (patch)
treee07ee17347ab4289153d52e24f9b6fbb79634d23 /.config/fish/config.fish
parente3e12372a420c03b28f4e56db0a073fb4a963865 (diff)
downloaddotfiles-2b60d790455b584726f9e4914960931ebcb1ffb8.tar.gz
dotfiles-2b60d790455b584726f9e4914960931ebcb1ffb8.tar.bz2
dotfiles-2b60d790455b584726f9e4914960931ebcb1ffb8.zip
fish: fix wayland detection
Diffstat (limited to '.config/fish/config.fish')
-rw-r--r--.config/fish/config.fish2
1 files changed, 1 insertions, 1 deletions
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
60 abbr --add --global ddg 'surfraw duckduckgo -j' 60 abbr --add --global ddg 'surfraw duckduckgo -j'
61 abbr --add --global lu 'sdcv' 61 abbr --add --global lu 'sdcv'
62 62
63 if test "$WAYLAND_DISPLAY" != "wayland-1" 63 if test "$WAYLAND_DISPLAY" = "wayland-1"
64 abbr --add --global C 'wl-copy' # Wayland 64 abbr --add --global C 'wl-copy' # Wayland
65 else 65 else
66 abbr --add --global C 'xsel -b' # X11 66 abbr --add --global C 'xsel -b' # X11