Commit db052eaaf01f
Changed files (1)
dots
config
raffi
dots/config/raffi/raffi.yaml
@@ -1,345 +1,321 @@
general:
ui_type: native
theme: light
- font_family: "JetBrains Mono"
+ font_family: JetBrains Mono
font_size: 16
theme_colors:
- bg_base: "#faf4ed"
- bg_input: "#f2ece4"
- accent: "#348e9e"
- accent_hover: "#286f7a"
- text_main: "#575279"
- text_muted: "#9893a5"
- selection_bg: "#e4dfd8"
- border: "#cecacd"
-
-# Browsers
-firefox:
- binary: firefox
- description: Firefox
- icon: firefox
-
-firefox-private:
- binary: firefox
- args: ["--private-window"]
- description: Firefox Private Window
- icon: firefox
-
-firefox-profile-manager:
- binary: firefox
- args: ["--ProfileManager"]
- description: Firefox Profile Manager
- icon: firefox
-
-# Music
-feishin:
- binary: feishin
- description: Feishin (Music)
- icon: feishin
-
-# Chat
-slack:
- binary: slack
- description: Slack
- icon: slack
-
-# Media
-mpv-clipboard:
- description: Play URL from clipboard (mpv)
- icon: mpv
- script: |
- wl-paste | xargs mpv
-
-# Chat
-dino:
- binary: dino
- description: Dino (XMPP)
- icon: dino
-
-# System
-htop:
- description: System Monitor
- icon: htop
- script: |
- kitty --title "htop" htop
-
-# Editors
-emacs:
- binary: emacsclient
- args: ["-c", "-a", "emacs"]
- description: Emacs
- icon: emacs
-
-# Org Capture
-org-capture:
- binary: org-capture
- description: Org Capture
- icon: emacs
-
-# Terminal
-kitty:
- binary: kitty
- description: Kitty Terminal
- icon: kitty
-
-# File manager
-nautilus:
- binary: nautilus
- args: ["~/Downloads/"]
- description: File Manager (Downloads)
- icon: system-file-manager
-
-# Clipboard history
-cliphist:
- binary: cliphist
- args: ["list"]
- description: Clipboard History
- icon: accessories-clipboard
- script: |
- cliphist list | fuzzel -d | cliphist decode | wl-copy
- ifenvset: SWAYSOCK
-
-# Screenshots
-screenshot-clipboard:
- binary: shot
- args: ["%c"]
- description: Screenshot to clipboard
- icon: applets-screenshooter
- ifenvset: SWAYSOCK
-
-screenshot-file:
- binary: shot
- args: ["%d"]
- description: Screenshot to file
- icon: applets-screenshooter
- ifenvset: SWAYSOCK
-
-screenshot-fullscreen:
- binary: shotf
- args: ["%c"]
- description: Screenshot fullscreen to clipboard
- icon: applets-screenshooter
- ifenvset: SWAYSOCK
-
-# Color scheme
-toggle-color-scheme:
- binary: toggle-color-scheme
- description: Toggle dark/light color scheme
- icon: preferences-desktop-theme
-
-# Emacs integrations
-org-agenda:
- description: Org Agenda
- icon: emacs
- script: |
- emacsclient -c -a emacs --eval '(vde/agenda)'
-
-emacs-type:
- description: Type & Paste (Emacs)
- icon: emacs
- script: |
- emacsclient -a emacs --eval '(vde/type)'
-
-journal-entry:
- description: Journal Entry
- icon: emacs
- script: |
- emacsclient -n -c -F '((name . "capture") (width . 150) (height . 90) (vde/window-popup-frame . t))' -e '(org-capture nil "j")'
-
-mu4e:
- description: Email (mu4e)
- icon: mail-client
- script: |
- emacsclient -c -a emacs --eval '(mu4e)'
-
-magit:
- description: Magit (Git)
- icon: git
- script: |
- emacsclient -c -a emacs --eval '(magit-status)'
-
-# Audio
-pwvucontrol:
- binary: pwvucontrol
- description: Audio Settings
- icon: audio-volume-high
-
-# VPN
-redhat-vpn:
- binary: redhat-vpn
- description: Connect Red Hat VPN
- icon: network-vpn
- ifexist: redhat-vpn
-
-redhat-vpn-disconnect:
- binary: redhat-vpn-disconnect
- description: Disconnect Red Hat VPN
- icon: network-vpn
- ifexist: redhat-vpn-disconnect
-
-# YubiKey OATH
-yubikey-oath:
- binary: yubikey-oath
- description: YubiKey OATH Codes
- icon: security-high
-
-# Addons
+ bg_base: '#faf4ed'
+ bg_input: '#f2ece4'
+ accent: '#348e9e'
+ accent_hover: '#286f7a'
+ text_main: '#575279'
+ text_muted: '#9893a5'
+ selection_bg: '#e4dfd8'
+ border: '#cecacd'
addons:
currency:
enabled: true
- trigger: "€"
+ trigger: €
default_currency: EUR
- currencies: [EUR, USD, GBP, CHF, JPY]
+ currencies:
+ - EUR
+ - USD
+ - GBP
+ - CHF
+ - JPY
calculator:
enabled: true
script_filters:
- - name: Timezones
- keyword: tz
- command: batz
- args: ["-j"]
- icon: clock
- - name: Worktrees
- keyword: wt
- command: ~/.config/raffi/scripts/lazyworktree-raffi
- icon: folder-git
- action: "kitty --title Worktrees --directory {value} lazyworktree"
- - name: Pull Requests
- keyword: lpr
- command: ~/.config/raffi/scripts/lazypr-raffi
- icon: github
- action: "kitty --title 'PRs' lazypr {value}"
- - name: Shpool Sessions
- keyword: sp
- command: ~/.config/raffi/scripts/shpool-raffi
- icon: utilities-terminal
- action: "kitty --title shpool:{value} ssh {value}"
- - name: Open in Emacs
- keyword: ed
- command: ~/.config/raffi/scripts/emacs-recentf-raffi
- icon: emacs
- action: "emacsclient -c -a emacs {value}"
- - name: Org Search
- keyword: org
- command: ~/.config/raffi/scripts/org-search-raffi
- icon: emacs
- action: "emacsclient -c -a emacs --eval '(find-file \"{value}\")'"
- - name: Denote Notes
- keyword: dn
- command: ~/.config/raffi/scripts/denote-raffi
- icon: emacs
- action: "emacsclient -c -a emacs {value}"
- - name: Kitty SSH
- keyword: ssh
- command: ~/.config/raffi/scripts/ssh-raffi
- icon: utilities-terminal
- action: "kitty --title 'SSH: {value}' ssh {value}"
- - name: Man Pages
- keyword: man
- command: ~/.config/raffi/scripts/man-raffi
- icon: help-contents
- action: "kitty --title 'man {value}' sh -c 'man {value} | col -bx | bat -l man -p'"
- - name: Window Switcher
- keyword: win
- command: ~/.config/raffi/scripts/niri-windows-raffi
- icon: preferences-system-windows
- action: "niri msg action focus-window --id {value}"
- - name: Kill Window
- keyword: kill
- command: ~/.config/raffi/scripts/niri-windows-raffi
- icon: window-close
- action: "niri msg action close-window --id {value}"
- - name: IDs & Timestamps
- keyword: uid
- command: ~/.config/raffi/scripts/uid-raffi
- icon: clock
- - name: GitHub Pull Requests
- keyword: pr
- command: ~/src/gitlab.com/chmouel/alfred-pr-workflow/pr.py
- args: ["--color"]
- icon: github
- action: "xdg-open {value}"
- secondary_action: "echo -n {value} | wl-copy"
+ - name: Timezones
+ keyword: tz
+ command: batz
+ args:
+ - -j
+ icon: clock
+ - name: Worktrees
+ keyword: wt
+ command: ~/.config/raffi/scripts/lazyworktree-raffi
+ icon: folder-git
+ action: kitty --title Worktrees --directory {value} lazyworktree
+ - name: Pull Requests
+ keyword: lpr
+ command: ~/.config/raffi/scripts/lazypr-raffi
+ icon: github
+ action: kitty --title 'PRs' lazypr {value}
+ - name: Shpool Sessions
+ keyword: sp
+ command: ~/.config/raffi/scripts/shpool-raffi
+ icon: utilities-terminal
+ action: kitty --title shpool:{value} ssh {value}
+ - name: Open in Emacs
+ keyword: ed
+ command: ~/.config/raffi/scripts/emacs-recentf-raffi
+ icon: emacs
+ action: emacsclient -c -a emacs {value}
+ - name: Org Search
+ keyword: org
+ command: ~/.config/raffi/scripts/org-search-raffi
+ icon: emacs
+ action: emacsclient -c -a emacs --eval '(find-file "{value}")'
+ - name: Denote Notes
+ keyword: dn
+ command: ~/.config/raffi/scripts/denote-raffi
+ icon: emacs
+ action: emacsclient -c -a emacs {value}
+ - name: Kitty SSH
+ keyword: ssh
+ command: ~/.config/raffi/scripts/ssh-raffi
+ icon: utilities-terminal
+ action: 'kitty --title ''SSH: {value}'' ssh {value}'
+ - name: Man Pages
+ keyword: man
+ command: ~/.config/raffi/scripts/man-raffi
+ icon: help-contents
+ action: kitty --title 'man {value}' sh -c 'man {value} | col -bx | bat -l man -p'
+ - name: Window Switcher
+ keyword: win
+ command: ~/.config/raffi/scripts/niri-windows-raffi
+ icon: preferences-system-windows
+ action: niri msg action focus-window --id {value}
+ - name: Kill Window
+ keyword: kill
+ command: ~/.config/raffi/scripts/niri-windows-raffi
+ icon: window-close
+ action: niri msg action close-window --id {value}
+ - name: IDs & Timestamps
+ keyword: uid
+ command: ~/.config/raffi/scripts/uid-raffi
+ icon: clock
+ - name: GitHub Pull Requests
+ keyword: pr
+ command: ~/src/gitlab.com/chmouel/alfred-pr-workflow/pr.py
+ args:
+ - --color
+ icon: github
+ action: xdg-open {value}
+ secondary_action: echo -n {value} | wl-copy
text_snippets:
- - name: Emails
- keyword: em
- icon: email
- file: "~/sync/raffi-snippets/emails.yaml"
- - name: Addresses
- keyword: addr
- icon: contact
- file: "~/sync/raffi-snippets/addresses.yaml"
- - name: Red Hat
- keyword: rh
- icon: key
- file: "~/sync/raffi-snippets/redhat.yaml"
- - name: Links
- keyword: lnk
- icon: insert-link
- snippets:
- - name: "GitHub (vdemeester)"
- value: "https://github.com/vdemeester"
- - name: "GitHub PRs (review requested)"
- value: "https://github.com/pulls/review-requested"
- - name: "NixOS Search"
- value: "https://search.nixos.org"
- - name: "Nix PR Tracker"
- value: "https://nixpk.gs/pr-tracker.html"
- - name: "Home Manager Options"
- value: "https://nix-community.github.io/home-manager/options.xhtml"
- - name: "Jira Board"
- value: "https://issues.redhat.com/secure/RapidBoard.jspa"
- - name: "Prow (OpenShift CI)"
- value: "https://prow.ci.openshift.org"
- - name: Email Signatures
- keyword: sig
- icon: mail
- file: "~/sync/raffi-snippets/signatures.yaml"
- - name: Git Trailers
- keyword: git
- icon: git
- snippets:
- - name: "Signed-off-by"
- value: "Signed-off-by: Vincent Demeester <vincent@sbr.pm>"
- - name: "Signed-off-by (Red Hat)"
- value: "Signed-off-by: Vincent Demeester <vdemeest@redhat.com>"
- - name: "Acked-by"
- value: "Acked-by: Vincent Demeester <vincent@sbr.pm>"
- - name: "Reviewed-by"
- value: "Reviewed-by: Vincent Demeester <vincent@sbr.pm>"
- - name: "Tested-by"
- value: "Tested-by: Vincent Demeester <vincent@sbr.pm>"
- - name: "Co-authored-by"
- value: "Co-authored-by: Vincent Demeester <vincent@sbr.pm>"
- - name: "/lgtm"
- value: "/lgtm"
- - name: "/approve"
- value: "/approve"
- - name: "/lgtm + /approve"
- value: "/lgtm\n/approve"
- - name: "/retest"
- value: "/retest"
- - name: "LGTM message"
- value: "Thanks for the contribution! LGTM."
- - name: "WIP"
- value: "[WIP] This is a work in progress, please do not merge yet."
+ - name: Emails
+ keyword: em
+ icon: email
+ file: ~/sync/raffi-snippets/emails.yaml
+ - name: Addresses
+ keyword: addr
+ icon: contact
+ file: ~/sync/raffi-snippets/addresses.yaml
+ - name: Red Hat
+ keyword: rh
+ icon: key
+ file: ~/sync/raffi-snippets/redhat.yaml
+ - name: Links
+ keyword: lnk
+ icon: insert-link
+ snippets:
+ - name: GitHub (vdemeester)
+ value: https://github.com/vdemeester
+ - name: GitHub PRs (review requested)
+ value: https://github.com/pulls/review-requested
+ - name: NixOS Search
+ value: https://search.nixos.org
+ - name: Nix PR Tracker
+ value: https://nixpk.gs/pr-tracker.html
+ - name: Home Manager Options
+ value: https://nix-community.github.io/home-manager/options.xhtml
+ - name: Jira Board
+ value: https://issues.redhat.com/secure/RapidBoard.jspa
+ - name: Prow (OpenShift CI)
+ value: https://prow.ci.openshift.org
+ - name: Email Signatures
+ keyword: sig
+ icon: mail
+ file: ~/sync/raffi-snippets/signatures.yaml
+ - name: Git Trailers
+ keyword: git
+ icon: git
+ snippets:
+ - name: Signed-off-by
+ value: 'Signed-off-by: Vincent Demeester <vincent@sbr.pm>'
+ - name: Signed-off-by (Red Hat)
+ value: 'Signed-off-by: Vincent Demeester <vdemeest@redhat.com>'
+ - name: Acked-by
+ value: 'Acked-by: Vincent Demeester <vincent@sbr.pm>'
+ - name: Reviewed-by
+ value: 'Reviewed-by: Vincent Demeester <vincent@sbr.pm>'
+ - name: Tested-by
+ value: 'Tested-by: Vincent Demeester <vincent@sbr.pm>'
+ - name: Co-authored-by
+ value: 'Co-authored-by: Vincent Demeester <vincent@sbr.pm>'
+ - name: /lgtm
+ value: /lgtm
+ - name: /approve
+ value: /approve
+ - name: /lgtm + /approve
+ value: |-
+ /lgtm
+ /approve
+ - name: /retest
+ value: /retest
+ - name: LGTM message
+ value: Thanks for the contribution! LGTM.
+ - name: WIP
+ value: '[WIP] This is a work in progress, please do not merge yet.'
web_searches:
- - name: Google
- keyword: g
- url: "https://google.com/search?q={query}"
- icon: google
- - name: GitHub
- keyword: gh
- url: "https://github.com/search?q={query}&type=repositories"
- icon: github
- - name: Nix Packages
- keyword: nix
- url: "https://search.nixos.org/packages?query={query}"
- icon: nix
- - name: YouTube
- keyword: yt
- url: "https://www.youtube.com/results?search_query={query}"
- icon: youtube
- - name: Wikipedia
- keyword: wp
- url: "https://en.wikipedia.org/w/index.php?search={query}"
- icon: wikipedia
+ - name: Google
+ keyword: g
+ url: https://google.com/search?q={query}
+ icon: google
+ - name: GitHub
+ keyword: gh
+ url: https://github.com/search?q={query}&type=repositories
+ icon: github
+ - name: Nix Packages
+ keyword: nix
+ url: https://search.nixos.org/packages?query={query}
+ icon: nix
+ - name: YouTube
+ keyword: yt
+ url: https://www.youtube.com/results?search_query={query}
+ icon: youtube
+ - name: Wikipedia
+ keyword: wp
+ url: https://en.wikipedia.org/w/index.php?search={query}
+ icon: wikipedia
+version: 1
+launchers:
+ firefox:
+ binary: firefox
+ description: Firefox
+ icon: firefox
+ firefox-private:
+ binary: firefox
+ args:
+ - --private-window
+ description: Firefox Private Window
+ icon: firefox
+ firefox-profile-manager:
+ binary: firefox
+ args:
+ - --ProfileManager
+ description: Firefox Profile Manager
+ icon: firefox
+ feishin:
+ binary: feishin
+ description: Feishin (Music)
+ icon: feishin
+ slack:
+ binary: slack
+ description: Slack
+ icon: slack
+ mpv-clipboard:
+ description: Play URL from clipboard (mpv)
+ icon: mpv
+ script: |
+ wl-paste | xargs mpv
+ dino:
+ binary: dino
+ description: Dino (XMPP)
+ icon: dino
+ htop:
+ description: System Monitor
+ icon: htop
+ script: |
+ kitty --title "htop" htop
+ emacs:
+ binary: emacsclient
+ args:
+ - -c
+ - -a
+ - emacs
+ description: Emacs
+ icon: emacs
+ org-capture:
+ binary: org-capture
+ description: Org Capture
+ icon: emacs
+ kitty:
+ binary: kitty
+ description: Kitty Terminal
+ icon: kitty
+ nautilus:
+ binary: nautilus
+ args:
+ - ~/Downloads/
+ description: File Manager (Downloads)
+ icon: system-file-manager
+ cliphist:
+ binary: cliphist
+ args:
+ - list
+ description: Clipboard History
+ icon: accessories-clipboard
+ script: |
+ cliphist list | fuzzel -d | cliphist decode | wl-copy
+ ifenvset: SWAYSOCK
+ screenshot-clipboard:
+ binary: shot
+ args:
+ - '%c'
+ description: Screenshot to clipboard
+ icon: applets-screenshooter
+ ifenvset: SWAYSOCK
+ screenshot-file:
+ binary: shot
+ args:
+ - '%d'
+ description: Screenshot to file
+ icon: applets-screenshooter
+ ifenvset: SWAYSOCK
+ screenshot-fullscreen:
+ binary: shotf
+ args:
+ - '%c'
+ description: Screenshot fullscreen to clipboard
+ icon: applets-screenshooter
+ ifenvset: SWAYSOCK
+ toggle-color-scheme:
+ binary: toggle-color-scheme
+ description: Toggle dark/light color scheme
+ icon: preferences-desktop-theme
+ org-agenda:
+ description: Org Agenda
+ icon: emacs
+ script: |
+ emacsclient -c -a emacs --eval '(vde/agenda)'
+ emacs-type:
+ description: Type & Paste (Emacs)
+ icon: emacs
+ script: |
+ emacsclient -a emacs --eval '(vde/type)'
+ journal-entry:
+ description: Journal Entry
+ icon: emacs
+ script: |
+ emacsclient -n -c -F '((name . "capture") (width . 150) (height . 90) (vde/window-popup-frame . t))' -e '(org-capture nil "j")'
+ mu4e:
+ description: Email (mu4e)
+ icon: mail-client
+ script: |
+ emacsclient -c -a emacs --eval '(mu4e)'
+ magit:
+ description: Magit (Git)
+ icon: git
+ script: |
+ emacsclient -c -a emacs --eval '(magit-status)'
+ pwvucontrol:
+ binary: pwvucontrol
+ description: Audio Settings
+ icon: audio-volume-high
+ redhat-vpn:
+ binary: redhat-vpn
+ description: Connect Red Hat VPN
+ icon: network-vpn
+ ifexist: redhat-vpn
+ redhat-vpn-disconnect:
+ binary: redhat-vpn-disconnect
+ description: Disconnect Red Hat VPN
+ icon: network-vpn
+ ifexist: redhat-vpn-disconnect
+ yubikey-oath:
+ binary: yubikey-oath
+ description: YubiKey OATH Codes
+ icon: security-high