aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-05-02 00:11:36 +0200
committerPatrick Spek <p.spek@tyil.nl>2020-05-02 00:11:36 +0200
commita6e17f2be78234e6ee363c000a655ba7a115779a (patch)
tree2fc8661f3ca6761fe8abf2c0ed9aa0562248dae7
parent09662d09a9be0a6499ea15909a84bb621855f915 (diff)
downloaddotfiles-rofi.tar.gz
dotfiles-rofi.tar.bz2
Add rofirofi
-rw-r--r--.config/rofi/config21
-rw-r--r--.config/sxhkd/sxhkdrc5
-rwxr-xr-x.local/bin/dmenu8
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 "$@"