diff options
author | Yigit Sever | 2024-09-09 09:28:15 +0200 |
---|---|---|
committer | Yigit Sever | 2024-09-09 09:28:15 +0200 |
commit | 2b60d790455b584726f9e4914960931ebcb1ffb8 (patch) | |
tree | e07ee17347ab4289153d52e24f9b6fbb79634d23 | |
parent | e3e12372a420c03b28f4e56db0a073fb4a963865 (diff) | |
download | dotfiles-2b60d790455b584726f9e4914960931ebcb1ffb8.tar.gz dotfiles-2b60d790455b584726f9e4914960931ebcb1ffb8.tar.bz2 dotfiles-2b60d790455b584726f9e4914960931ebcb1ffb8.zip |
fish: fix wayland detection
-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 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 |