Add sxhkd
This commit is contained in:
19
roles/sxhkd/files/sxhkdrc
Normal file
19
roles/sxhkd/files/sxhkdrc
Normal file
@@ -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
|
10
roles/sxhkd/tasks/main.yml
Normal file
10
roles/sxhkd/tasks/main.yml
Normal file
@@ -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"
|
Reference in New Issue
Block a user