summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorYigit Sever2024-09-04 15:11:57 +0200
committerYigit Sever2024-09-04 15:11:57 +0200
commite3e12372a420c03b28f4e56db0a073fb4a963865 (patch)
treea09b7e3915d67d3b6e882c3e0cf44640077a3cb9 /.config
parent074c19d2e6e185747bd1ee3f12c9eec942d125a4 (diff)
downloaddotfiles-e3e12372a420c03b28f4e56db0a073fb4a963865.tar.gz
dotfiles-e3e12372a420c03b28f4e56db0a073fb4a963865.tar.bz2
dotfiles-e3e12372a420c03b28f4e56db0a073fb4a963865.zip
fish: fix wayland detection
Diffstat (limited to '.config')
-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 2cf4071..e4edb7f 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 (sessiontype) != "X11" 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