From a1f57b67b822767da79eb3f6a0807bccb4c6ffff Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Wed, 3 Aug 2022 21:41:07 +0200 Subject: [PATCH] added greenclip --- CHANGELOG.md | 1 + config/greenclip.toml | 10 ++++++++++ dependencies/aur.txt | 1 + i3/config | 2 ++ install.sh | 1 + 5 files changed, 15 insertions(+) create mode 100644 config/greenclip.toml diff --git a/CHANGELOG.md b/CHANGELOG.md index a31e4f7..cc4cc05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to date versioning. - Fixed i3lock re-using the last image - Set up /etc/environment sharing +- Added in greenclip again ## [2022-07-26] diff --git a/config/greenclip.toml b/config/greenclip.toml new file mode 100644 index 0000000..2ba120a --- /dev/null +++ b/config/greenclip.toml @@ -0,0 +1,10 @@ +[greenclip] + blacklisted_applications = [] + enable_image_support = true + history_file = "/home/mastermindzh/.cache/greenclip.history" + image_cache_directory = "/tmp/greenclip" + max_history_length = 25 + max_selection_size_bytes = 0 + static_history = [] + trim_space_from_selection = true + use_primary_selection_as_input = false diff --git a/dependencies/aur.txt b/dependencies/aur.txt index 3d159b7..94c3379 100644 --- a/dependencies/aur.txt +++ b/dependencies/aur.txt @@ -22,3 +22,4 @@ chili-sddm-theme robo3t-bin dive gnome-text-editor +greenclip diff --git a/i3/config b/i3/config index e938509..79efed3 100644 --- a/i3/config +++ b/i3/config @@ -131,6 +131,7 @@ bindsym $mod+d exec "rofi -show run" bindsym $mod+Tab exec "rofi -show" bindsym $mod+s exec "rofi -show ssh" bindsym $mod+n exec $vpnmanager +bindsym $mod+shift+v exec "rofi -modi 'clipboard:greenclip print' -show clipboard -run-command '{cmd}'" ############################################ # Media keys # @@ -313,3 +314,4 @@ exec --no-startup-id nm-applet exec_always feh --bg-scale $(find ~/Pictures/wallpapers/ -type f -name "*" | shuf -n 1) exec /usr/bin/compton exec /bin/bash ~/.config/i3/scripts/startup.sh +exec --no-startup-id greenclip daemon diff --git a/install.sh b/install.sh index 39d0d6a..2fc7237 100644 --- a/install.sh +++ b/install.sh @@ -93,6 +93,7 @@ function install_config { ln -sf "$PWD"/config/gtk-3.0/settings.ini ~/.gtkrc-2.0.mine ln -sf "$PWD"/config/gtk-3.0/settings.ini ~/.config/gtk-3.0/settings.ini ln -sf "$PWD"/config/mimeapps.list ~/.config/mimeapps.list + ln -sf "$PWD"/config/greenclip.toml ~/.config/greenclip.toml mkdir -p ~/.config/rofi ln -sf "$PWD"/config/rofi/rofi.rasi ~/.config/rofi/config.rasi