summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-09-06 23:33:31 -0400
committerAmin Bandali <bandali@gnu.org>2019-09-06 23:33:31 -0400
commit8bbb67ce1950243d6c0a9fb0f685bfc795d687be (patch)
tree3e322cd109e4af1f12d977c137612f9031733f87
parentd7b88f06c1a9623caf5d01774c4f2b12e460fe58 (diff)
downloadconfigs-8bbb67ce1950243d6c0a9fb0f685bfc795d687be.tar.gz
configs-8bbb67ce1950243d6c0a9fb0f685bfc795d687be.tar.xz
configs-8bbb67ce1950243d6c0a9fb0f685bfc795d687be.zip
rofi,rofi-pass: add back configs for now
until i get around to implementing an autotype functionality from within emacs (using xdotool, of course)
-rw-r--r--.config/rofi-pass/config74
-rw-r--r--.config/rofi/config19
2 files changed, 93 insertions, 0 deletions
diff --git a/.config/rofi-pass/config b/.config/rofi-pass/config
new file mode 100644
index 0000000..e369133
--- /dev/null
+++ b/.config/rofi-pass/config
@@ -0,0 +1,74 @@
+# permanently set alternative root dir
+# root=/path/to/root
+
+# rofi command. Make sure to have "$@" as last argument
+_rofi () {
+ #rofi -no-auto-select -kb-accept-entry "!Return" -i -no-levenshtein-sort "$@"
+ rofi -i -no-auto-select -kb-accept-entry "!Return" "$@"
+}
+
+# xdotool needs the keyboard layout to be set using setxkbmap
+# You can do this in your autostart scripts (e.g. xinitrc)
+
+# If for some reason, you cannot do this, you can set the command here.
+# and set fix_layout to true
+fix_layout=false
+
+layout_cmd () {
+ setxkbmap us
+}
+
+# fields to be used
+URL_field='url'
+USERNAME_field='user'
+AUTOTYPE_field='autotype'
+
+# delay to be used for :delay keyword
+delay=2
+
+## Programs to be used
+# Editor
+EDITOR='gvim -f'
+
+# Browser
+BROWSER='chromium'
+
+## Misc settings
+
+default_do='menu' # menu, autotype, copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl
+auto_enter='false'
+notify='false'
+default_autotype='user :tab pass'
+
+# color of the help messages
+# leave empty for autodetection
+help_color="#4872FF"
+
+# Clipboard settings
+# Possible options: primary, clipboard, both
+clip=primary
+
+# Options for generating new password entries
+# default_user is also used for password files that have no user field.
+default_user=aminb
+default_user2=bandali
+password_length=30
+
+# Custom Keybindings
+#autotype="Alt+1"
+autotype="Alt+m"
+type_user="Alt+2"
+type_pass="Alt+3"
+open_url="Alt+4"
+copy_name="Alt+u"
+copy_url="Alt+l"
+copy_pass="Alt+p"
+show="Alt+o"
+copy_entry="Alt+2"
+type_entry="Alt+1"
+copy_menu="Alt+c"
+action_menu="Alt+a"
+type_menu="Alt+t"
+help="Alt+h"
+switch="Alt+x"
+insert_pass="Alt+n"
diff --git a/.config/rofi/config b/.config/rofi/config
new file mode 100644
index 0000000..2536673
--- /dev/null
+++ b/.config/rofi/config
@@ -0,0 +1,19 @@
+! rofi.font: Ubuntu Mono 13
+! rofi.font: Inconsolata 16
+! rofi.font: Iosevka 13
+! rofi.font: Source Code Pro 11
+rofi.font: Source Code Pro 10.5
+rofi.modi: run,window
+! rofi.width: 640
+rofi.width: 600
+!rofi.location: 2
+!rofi.yoffset: 200
+rofi.monitor: -1
+!rofi.lines: 10
+
+!rofi.theme: ~/usr/local/share/rofi/themes/Arc.rasi
+!rofi.theme: ~/usr/local/share/rofi/themes/Paper.rasi
+!rofi.theme: ~/usr/local/share/rofi/themes/sidebar.rasi
+
+!rofi.theme: ~/usr/local/share/rofi/themes/gruvbox-light.rasi
+rofi.theme: ~/usr/local/share/rofi/themes/gruvbox-light-hard.rasi