From 72125cfca8ebc672dc154cfca8e950e69f6813a0 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 7 Nov 2018 19:15:53 +0000 Subject: [PATCH] Add flameshot for screenshot management --- files/i3.conf | 5 ++--- tasks/autostart.yml | 10 ++++++++++ tasks/packages.yml | 1 + 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/files/i3.conf b/files/i3.conf index 67d5387..8b356cb 100644 --- a/files/i3.conf +++ b/files/i3.conf @@ -38,9 +38,8 @@ bindsym Control+Q exec --no-startup-id /bin/false # Screenshots -bindsym Shift+Print exec --no-startup-id gnome-screenshot -ca -bindsym Mod1+Print exec --no-startup-id gnome-screenshot -i -bindsym Print exec --no-startup-id gnome-screenshot -c +bindsym Shift+Print exec --no-startup-id flameshot screen -c +bindsym Print exec --no-startup-id flameshot gui # System bindsym $mod+Shift+Delete exec "i3-nagbar -t error -m 'Shutdown or Restart?' -b 'Restart' 'shutdown -r now' -b 'Shutdown' 'shutdown -h now'" diff --git a/tasks/autostart.yml b/tasks/autostart.yml index c41d0ec..62250a3 100644 --- a/tasks/autostart.yml +++ b/tasks/autostart.yml @@ -14,3 +14,13 @@ - 'nm-applet' - 'lxqt-policykit-agent' - 'solaar' + +- file: + src: "/usr/share/applications/{{ item }}.desktop" + dest: "{{ home }}/.config/autostart/{{ item }}.desktop" + mode: 0644 + owner: "{{ user }}" + state: link + force: true + with_items: + - 'flameshot' diff --git a/tasks/packages.yml b/tasks/packages.yml index 050ce19..eaf1531 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -97,6 +97,7 @@ - 'filezilla' - 'firefox' - 'firefox-developer-edition' + - 'flameshot' - 'fonts-meta-extended-lt' - 'gimp' - 'ghostwriter'