Skip to content

Commit

Permalink
Add support for wayland clipboard
Browse files Browse the repository at this point in the history
- Add wl-clipboard to the list of clip-programs to check.
- Add wl-paste as v_paste
  • Loading branch information
Shadear Bakr authored Jul 15, 2021
1 parent 45f2458 commit 07f43be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions functions/__gitnow_config_file.fish
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ function __gitnow_get_clip_program -d "Gets the current clip installed program"

if type -q xclip
set v_paste "xclip -selection clipboard -o"
else if type -q wl-clipboard
set v_paste "wl-paste"
else if type -q xsel
set v_paste "xsel --clipboard --output"
else if type -q pbpaste
Expand Down

0 comments on commit 07f43be

Please sign in to comment.