diff options
author | Joe <rbo@gmx.us> | 2025-03-17 21:39:41 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2025-03-17 21:39:41 +0100 |
commit | dd8ab05dfbd12d4273ce09189ad26441cf9cdad4 (patch) | |
tree | cbf3e6ad208a24005241e19994d7b006ebc3fa8d | |
parent | up (diff) | |
download | dotfiles-bsd-dd8ab05dfbd12d4273ce09189ad26441cf9cdad4.tar.gz dotfiles-bsd-dd8ab05dfbd12d4273ce09189ad26441cf9cdad4.tar.bz2 dotfiles-bsd-dd8ab05dfbd12d4273ce09189ad26441cf9cdad4.tar.xz dotfiles-bsd-dd8ab05dfbd12d4273ce09189ad26441cf9cdad4.tar.zst dotfiles-bsd-dd8ab05dfbd12d4273ce09189ad26441cf9cdad4.zip |
-rw-r--r-- | .config/go2work/go2work.toml | 4 | ||||
-rwxr-xr-x | .local/bin/linkview | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/.config/go2work/go2work.toml b/.config/go2work/go2work.toml index d0ea976..0fecd1e 100644 --- a/.config/go2work/go2work.toml +++ b/.config/go2work/go2work.toml @@ -14,8 +14,8 @@ files = [ # '/home/jozan/mu/ost/mick_gordon/2020_doom_eternal_original_game_soundtrack/21_the_super_gore_nest.flac', # '/home/jozan/16-441/06_conflagration.wav', # '/home/jozan/mu/progressive/progressive_black_metal/deathspell_omega/2010_paracletus/02_wings_of_predation.flac', - # '/home/jozan/mu/metal/technical_death_metal/gojira/2016_magma/04_stranded.flac', - '/home/jozan/mu/metal/technical_death_metal/gojira/2005_form_mars_to_sirius/02_backbone.flac', + '/home/jozan/mu/metal/technical_death_metal/gojira/2016_magma/04_stranded.flac', + # '/home/jozan/mu/metal/technical_death_metal/gojira/2005_form_mars_to_sirius/02_backbone.flac', # '/usr/home/jozan/mu/metal/technical_death_metal/ulcerate/2011_the_destroyers_of_all/07_the_destroyers_of_all.flac', #'/home/jozan/mu/rock/grunge/nirvana/2011_nevermind_20th_anniversary_deluxe_edition/cd_1/04_breed.flac', # '/home/jozan/mu/rock/grunge/alice_in_chains/1990_facelift/02_man_in_the_box.flac', diff --git a/.local/bin/linkview b/.local/bin/linkview index ec928a4..d276634 100755 --- a/.local/bin/linkview +++ b/.local/bin/linkview @@ -388,9 +388,15 @@ sub open_link $pid = fork(); if (not $pid) { setsid(); - capture { - exec(COPYQ_PATH, "copy", $url); - }; + if (defined $ENV{WAYLAND_DISPLAY}) { + system("echo -n " . $url . " | wl-copy"); + exit(0); + } + else { + capture { + exec(COPYQ_PATH, "copy", $url); + }; + } } } return; |