Fix clipboard wackiness

This commit is contained in:
Daniel Flanagan 2020-01-29 15:17:18 -06:00
parent eb48146d6d
commit 436f6384c5
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
3 changed files with 5 additions and 4 deletions

View file

@ -10,7 +10,6 @@
has_command xcape && xcape -e 'Control_L=Escape' & has_command xcape && xcape -e 'Control_L=Escape' &
has_command libinput-gestures-setup && libinput-gestures-setup start has_command libinput-gestures-setup && libinput-gestures-setup start
has_command autocutsel && autocutsel -s PRIMARY & has_command autocutsel && autocutsel -s PRIMARY &
has_command autocutsel && autocutsel -s CLIPBOARD &
has_command autorandr && autorandr -c has_command autorandr && autorandr -c
has_command redshift && redshift -r -l 39.1:-94.6 -t 6500K:3000K & has_command redshift && redshift -r -l 39.1:-94.6 -t 6500K:3000K &
has_command kdeconnect-indicator && kdeconnect-indicator & has_command kdeconnect-indicator && kdeconnect-indicator &

View file

@ -8,11 +8,11 @@ hide_kernel_threads=1
hide_userland_threads=1 hide_userland_threads=1
shadow_other_users=0 shadow_other_users=0
show_thread_names=0 show_thread_names=0
show_program_path=0 show_program_path=1
highlight_base_name=1 highlight_base_name=1
highlight_megabytes=1 highlight_megabytes=1
highlight_threads=1 highlight_threads=1
tree_view=1 tree_view=0
header_margin=1 header_margin=1
detailed_cpu_time=0 detailed_cpu_time=0
cpu_count_from_zero=0 cpu_count_from_zero=0

View file

@ -1,5 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env sh
xclip -selection primary xclip -selection primary
xclip -selection primary -out | xclip -selection clipboard xclip -selection primary -out | xclip -selection clipboard
xclip -selection primary -out | xclip -selection secondary xclip -selection primary -out | xclip -selection secondary
echo "Your input was stored in all clipboards."
sleep 5 && killall xclip &>/dev/null &