diff options
author | Yigit Sever | 2024-09-04 15:11:57 +0200 |
---|---|---|
committer | Yigit Sever | 2024-09-04 15:11:57 +0200 |
commit | e3e12372a420c03b28f4e56db0a073fb4a963865 (patch) | |
tree | a09b7e3915d67d3b6e882c3e0cf44640077a3cb9 /.config | |
parent | 074c19d2e6e185747bd1ee3f12c9eec942d125a4 (diff) | |
download | dotfiles-e3e12372a420c03b28f4e56db0a073fb4a963865.tar.gz dotfiles-e3e12372a420c03b28f4e56db0a073fb4a963865.tar.bz2 dotfiles-e3e12372a420c03b28f4e56db0a073fb4a963865.zip |
fish: fix wayland detection
Diffstat (limited to '.config')
-rw-r--r-- | .config/fish/config.fish | 2 |
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 |