diff --git a/roles/sxhkd/files/sxhkdrc b/roles/sxhkd/files/sxhkdrc new file mode 100644 index 0000000..3ca11c3 --- /dev/null +++ b/roles/sxhkd/files/sxhkdrc @@ -0,0 +1,19 @@ +# Launch Firefox +super + w + firefox + +# Capture entire screen and save to clipboard +Print + scrot -m - | xclip -selection clipboard -target image/png + +# Capture selection and save to clipboard +shift + Print + scrot -s - | xclip -selection clipboard -target image/png + +# Launch Alacritty +super + shift + Return + alacritty + +# Emoji Picker +super + grave + ~/.local/bin/dmenuunicode diff --git a/roles/sxhkd/tasks/main.yml b/roles/sxhkd/tasks/main.yml new file mode 100644 index 0000000..c2bb648 --- /dev/null +++ b/roles/sxhkd/tasks/main.yml @@ -0,0 +1,10 @@ +- name: Install package + ansible.builtin.package: + name: "{{ role_name }}" + state: present + become: true + +- name: Install config file + ansible.builtin.copy: + src: sxhkdrc + dest: "/home/{{ username }}/.config/sxhkd"