main
  1general:
  2  ui_type: native
  3  theme: light
  4  font_family: JetBrainsMono Nerd Font Mono
  5  font_size: 16
  6  theme_colors:
  7    bg_base: '#ffffff'
  8    bg_input: '#f2f2f2'
  9    accent: '#005f5f'
 10    accent_hover: '#005e8b'
 11    text_main: '#000000'
 12    text_muted: '#595959'
 13    selection_bg: '#dae5ec'
 14    border: '#9f9f9f'
 15addons:
 16  currency:
 17    enabled: true
 18    trigger: 
 19    default_currency: EUR
 20    currencies:
 21    - EUR
 22    - USD
 23    - GBP
 24    - CHF
 25    - JPY
 26  calculator:
 27    enabled: true
 28  emoji:
 29    enabled: true
 30  file_browser:
 31    enabled: true
 32  script_filters:
 33  - name: Timezones
 34    keyword: tz
 35    command: batz
 36    args:
 37    - -j
 38    icon: clock
 39  - name: Worktrees
 40    keyword: wt
 41    command: ~/.config/raffi/scripts/lazyworktree-raffi
 42    icon: folder-git
 43    action: kitty --title Worktrees --directory {value} lazyworktree
 44  - name: Pull Requests
 45    keyword: lpr
 46    command: ~/.config/raffi/scripts/lazypr-raffi
 47    icon: github
 48    action: kitty --title 'PRs' lazypr {value}
 49  - name: Shpool Sessions
 50    keyword: sp
 51    command: ~/.config/raffi/scripts/shpool-raffi
 52    icon: utilities-terminal
 53    action: kitty --title shpool:{value} ssh {value}
 54  - name: Open in Emacs
 55    keyword: ed
 56    command: ~/.config/raffi/scripts/emacs-recentf-raffi
 57    icon: emacs
 58    action: emacsclient -c -a emacs {value}
 59  - name: Org Search
 60    keyword: org
 61    command: ~/.config/raffi/scripts/org-search-raffi
 62    icon: emacs
 63    action: emacsclient -c -a emacs --eval '(find-file "{value}")'
 64  - name: Denote Notes
 65    keyword: dn
 66    command: ~/.config/raffi/scripts/denote-raffi
 67    icon: emacs
 68    action: emacsclient -c -a emacs {value}
 69  - name: Kitty SSH
 70    keyword: ssh
 71    command: ~/.config/raffi/scripts/ssh-raffi
 72    icon: utilities-terminal
 73    action: 'kitty --title ''SSH: {value}'' ssh {value}'
 74  - name: Man Pages
 75    keyword: man
 76    command: ~/.config/raffi/scripts/man-raffi
 77    icon: help-contents
 78    action: kitty --title 'man {value}' sh -c 'man {value} | col -bx | bat -l man -p'
 79  - name: Window Switcher
 80    keyword: win
 81    command: ~/.config/raffi/scripts/niri-windows-raffi
 82    icon: preferences-system-windows
 83    action: niri msg action focus-window --id {value}
 84  - name: Kill Window
 85    keyword: kill
 86    command: ~/.config/raffi/scripts/niri-windows-raffi
 87    icon: window-close
 88    action: niri msg action close-window --id {value}
 89  - name: Org Capture
 90    keyword: cap
 91    command: ~/.config/raffi/scripts/org-capture-raffi
 92    icon: emacs
 93    action: emacsclient -c -F '((name . "capture") (width . 150) (height . 90) (vde/window-popup-frame . t))' -e '(org-capture nil "{value}")' &
 94  - name: Bluetooth
 95    keyword: bt
 96    command: ~/.config/raffi/scripts/bluetooth-raffi
 97    icon: bluetooth
 98    action: bluetoothctl connect {value}
 99    secondary_action: bluetoothctl disconnect {value}
100  - name: IDs & Timestamps
101    keyword: uid
102    command: ~/.config/raffi/scripts/uid-raffi
103    icon: clock
104  - name: GitHub Pull Requests
105    keyword: pr
106    command: ~/.config/raffi/scripts/pr-raffi
107    args:
108    - --color
109    icon: github
110    action: xdg-open {value}
111    secondary_action: echo -n {value} | wl-copy
112  text_snippets:
113  - name: Emails
114    keyword: em
115    icon: email
116    file: ~/sync/raffi-snippets/emails.yaml
117  - name: Addresses
118    keyword: addr
119    icon: contact
120    file: ~/sync/raffi-snippets/addresses.yaml
121  - name: Red Hat
122    keyword: rh
123    icon: key
124    file: ~/sync/raffi-snippets/redhat.yaml
125  - name: Links
126    keyword: lnk
127    icon: insert-link
128    snippets:
129    - name: GitHub (vdemeester)
130      value: https://github.com/vdemeester
131    - name: GitHub PRs (review requested)
132      value: https://github.com/pulls/review-requested
133    - name: NixOS Search
134      value: https://search.nixos.org
135    - name: Nix PR Tracker
136      value: https://nixpk.gs/pr-tracker.html
137    - name: Home Manager Options
138      value: https://nix-community.github.io/home-manager/options.xhtml
139    - name: Jira Board
140      value: https://issues.redhat.com/secure/RapidBoard.jspa
141    - name: Prow (OpenShift CI)
142      value: https://prow.ci.openshift.org
143  - name: Email Signatures
144    keyword: sig
145    icon: mail
146    file: ~/sync/raffi-snippets/signatures.yaml
147  - name: Git Trailers
148    keyword: git
149    icon: git
150    snippets:
151    - name: Signed-off-by
152      value: 'Signed-off-by: Vincent Demeester <vincent@sbr.pm>'
153    - name: Signed-off-by (Red Hat)
154      value: 'Signed-off-by: Vincent Demeester <vdemeest@redhat.com>'
155    - name: Acked-by
156      value: 'Acked-by: Vincent Demeester <vincent@sbr.pm>'
157    - name: Reviewed-by
158      value: 'Reviewed-by: Vincent Demeester <vincent@sbr.pm>'
159    - name: Tested-by
160      value: 'Tested-by: Vincent Demeester <vincent@sbr.pm>'
161    - name: Co-authored-by
162      value: 'Co-authored-by: Vincent Demeester <vincent@sbr.pm>'
163    - name: /lgtm
164      value: /lgtm
165    - name: /approve
166      value: /approve
167    - name: /lgtm + /approve
168      value: |-
169        /lgtm
170        /approve
171    - name: /retest
172      value: /retest
173    - name: LGTM message
174      value: Thanks for the contribution! LGTM.
175    - name: WIP
176      value: '[WIP] This is a work in progress, please do not merge yet.'
177  web_searches:
178  - name: Google
179    keyword: g
180    url: https://google.com/search?q={query}
181    icon: google
182  - name: GitHub
183    keyword: gh
184    url: https://github.com/search?q={query}&type=repositories
185    icon: github
186  - name: Nix Packages
187    keyword: nix
188    url: https://search.nixos.org/packages?query={query}
189    icon: nix
190  - name: YouTube
191    keyword: yt
192    url: https://www.youtube.com/results?search_query={query}
193    icon: youtube
194  - name: Wikipedia
195    keyword: wp
196    url: https://en.wikipedia.org/w/index.php?search={query}
197    icon: wikipedia
198version: 1
199launchers:
200  firefox:
201    binary: firefox
202    description: Firefox
203    icon: firefox
204  firefox-private:
205    binary: firefox
206    args:
207    - --private-window
208    description: Firefox Private Window
209    icon: firefox
210  firefox-profile-manager:
211    binary: firefox
212    args:
213    - --ProfileManager
214    description: Firefox Profile Manager
215    icon: firefox
216  feishin:
217    binary: feishin
218    description: Feishin (Music)
219    icon: feishin
220  slack:
221    binary: slack
222    description: Slack
223    icon: slack
224  mpv-clipboard:
225    description: Play URL from clipboard (mpv)
226    icon: mpv
227    ifexist: mpv
228    script: |
229      wl-paste | xargs mpv
230  dino:
231    binary: dino
232    description: Dino (XMPP)
233    icon: dino
234  gh-news:
235    description: GitHub Notifications
236    icon: github
237    ifexist: gh
238    script: |
239      kitty --title "gh-news" gh-news
240  htop:
241    description: System Monitor
242    icon: htop
243    ifexist: htop
244    script: |
245      kitty --title "htop" htop
246  emacs:
247    binary: emacsclient
248    args:
249    - -c
250    - -a
251    - emacs
252    description: Emacs
253    icon: emacs
254  org-capture:
255    binary: org-capture
256    description: Org Capture
257    icon: emacs
258  kitty:
259    binary: kitty
260    description: Kitty Terminal
261    icon: kitty
262  nautilus:
263    binary: nautilus
264    args:
265    - ~/desktop/downloads
266    description: File Manager (Downloads)
267    icon: system-file-manager
268  cliphist:
269    binary: cliphist
270    args:
271    - list
272    description: Clipboard History
273    icon: accessories-clipboard
274    script: |
275      cliphist list | fuzzel -d | cliphist decode | wl-copy
276    ifenvset: NIRI_SOCKET
277  screenshot-select-clipboard:
278    binary: shotty
279    args:
280    - select-clipboard
281    description: Screenshot selection to clipboard
282    icon: applets-screenshooter
283    ifenvset: NIRI_SOCKET
284  screenshot-select-file:
285    binary: shotty
286    args:
287    - select-file
288    description: Screenshot selection to file
289    icon: applets-screenshooter
290    ifenvset: NIRI_SOCKET
291  screenshot-select-edit:
292    binary: shotty
293    args:
294    - select-edit
295    description: Screenshot selection and edit (satty)
296    icon: applets-screenshooter
297    ifenvset: NIRI_SOCKET
298  screenshot-window:
299    binary: shotty
300    args:
301    - window-file
302    description: Screenshot focused window
303    icon: applets-screenshooter
304    ifenvset: NIRI_SOCKET
305  screenshot-screen:
306    binary: shotty
307    args:
308    - screen-file
309    description: Screenshot full screen
310    icon: applets-screenshooter
311    ifenvset: NIRI_SOCKET
312  recording-toggle:
313    binary: shotty
314    args:
315    - record-toggle
316    - --audio
317    description: Toggle screen recording (with audio)
318    icon: media-record
319    ifenvset: NIRI_SOCKET
320  recording-stop:
321    binary: shotty
322    args:
323    - record-stop
324    description: Stop screen recording
325    icon: media-playback-stop
326    ifenvset: NIRI_SOCKET
327  toggle-color-scheme:
328    binary: toggle-color-scheme
329    description: Toggle dark/light color scheme
330    icon: preferences-desktop-theme
331  org-agenda:
332    description: Org Agenda
333    icon: emacs
334    ifexist: emacsclient
335    script: |
336      emacsclient -c -a emacs --eval '(vde/agenda)'
337  emacs-type:
338    description: Type & Paste (Emacs)
339    icon: emacs
340    ifexist: emacsclient
341    script: |
342      emacsclient -a emacs --eval '(vde/type)'
343  journal-entry:
344    description: Journal Entry
345    icon: emacs
346    ifexist: emacsclient
347    script: |
348      emacsclient -n -c -F '((name . "capture") (width . 150) (height . 90) (vde/window-popup-frame . t))' -e '(org-capture nil "j")'
349  mu4e:
350    description: Email (mu4e)
351    icon: mail-client
352    ifexist: emacsclient
353    script: |
354      emacsclient -c -a emacs --eval '(mu4e)'
355  magit:
356    description: Magit (Git)
357    icon: git
358    ifexist: emacsclient
359    script: |
360      emacsclient -c -a emacs --eval '(magit-status)'
361  obs-studio:
362    binary: obs
363    description: OBS Studio
364    icon: obs
365    ifexist: obs
366  pwvucontrol:
367    binary: pwvucontrol
368    description: Audio Settings
369    icon: audio-volume-high
370  redhat-vpn:
371    binary: redhat-vpn
372    description: Connect Red Hat VPN
373    icon: network-vpn
374    ifexist: redhat-vpn
375  redhat-vpn-disconnect:
376    binary: redhat-vpn-disconnect
377    description: Disconnect Red Hat VPN
378    icon: network-vpn
379    ifexist: redhat-vpn-disconnect
380  yubikey-oath:
381    binary: yubikey-oath
382    description: YubiKey OATH Codes
383    icon: security-high