diff options
-rw-r--r-- | .config/rofi/config | 21 | ||||
-rw-r--r-- | .config/sxhkd/sxhkdrc | 5 | ||||
-rwxr-xr-x | .local/bin/dmenu | 8 |
3 files changed, 33 insertions, 1 deletions
diff --git a/.config/rofi/config b/.config/rofi/config new file mode 100644 index 0000000..cea006e --- /dev/null +++ b/.config/rofi/config @@ -0,0 +1,21 @@ +! behaviour +rofi.modi: run,ssh +rofi.terminal: term +rofi.ssh-client: mosh +rofi.ssh-command: {terminal} -e "{ssh-client} {host}" +rofi.sort: true +rofi.levenshtein: true +rofi.sidebar-mode: true + +! looks +rofi.fixed-num-lines: false +rofi.yoffset: -250 + +! color +rofi.theme: /usr/share/rofi/themes/Arc-Dark.rasi + +! keybindings +rofi.kb-clear-line: +rofi.kb-remove-word-back: Control+w,Control+BackSpace +rofi.kb-mode-previous: Control+Alt+h +rofi.kb-mode-next: Control+Alt+l diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index a4b565a..93024ed 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -6,7 +6,10 @@ super + alt + Return term -c super + e - dmenu_run + rofi -show run + +super + p + ipass super + u perl6 -e "'$(dmenu -i < $HOME/.local/etc/uninames.txt)'.uniparse.print" | xdotool type --file - diff --git a/.local/bin/dmenu b/.local/bin/dmenu new file mode 100755 index 0000000..78cdf52 --- /dev/null +++ b/.local/bin/dmenu @@ -0,0 +1,8 @@ +#!/usr/bin/env sh + +if ! command -v rofi > /dev/null +then + exec /usr/bin/dmenu "$@" +fi + +exec rofi -dmenu "$@" |