diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 2e7580b..8b367d3 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -95,7 +95,7 @@ frame_width = 3 # Defines color of the frame around the notification window. - frame_color = "#aaaaaa" + frame_color = "#a89984" # Size of gap to display between notifications - requires a compositor. # If value is greater than 0, separator_height will be ignored and a border @@ -214,7 +214,7 @@ min_icon_size = 32 # Scale larger icons down to this size, set to 0 to disable - max_icon_size = 128 + max_icon_size = 64 # Paths to default icons (only neccesary when not using recursive icon lookup) icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ @@ -320,8 +320,8 @@ #default_icon = /path/to/icon [urgency_normal] - background = "#285577" - foreground = "#ffffff" + background = "#665c5499" + foreground = "#fbf1c7" timeout = 10 # Icon for notifications with normal urgency, uncomment to enable #default_icon = /path/to/icon diff --git a/.config/rofi-pass/config b/.config/rofi-pass/config new file mode 100644 index 0000000..bfb351a --- /dev/null +++ b/.config/rofi-pass/config @@ -0,0 +1,99 @@ +# permanently set alternative root dir. Use ":" to separate multiple roots +# which can be switched at runtime with shift+left/right +# root=/path/to/root + +# rofi command. Make sure to have "$@" as last argument +_rofi () { + rofi -i -no-auto-select "$@" +} + +# default command to generate passwords +_pwgen () { + pwgen -y "$@" +} + +# image viewer to display qrcode of selected entry +# qrencode is needed to generate the image and a viewer +# that can read from pipes. Known viewers to work are feh and display +_image_viewer () { + feh - +# display +} + +# 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 + +# rofi-pass needs to close itself before it can type passwords. Set delay here. +wait=0.2 + +# delay between keypresses when typing (in ms) +xdotool_delay=12 + +## Programs to be used +# Editor +EDITOR='gvim -f' + +# Browser +BROWSER='xdg-open' + +## Misc settings + +default_do='copyPass' # menu, autotype, copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl +auto_enter='false' +notify='true' +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=clipboard + +# Seconds before clearing pass from clipboard +clip_clear=45 + +## Options for generating new password entries + +# open new password entries in editor +edit_new_pass="true" + +# default_user is also used for password files that have no user field. +#default_user="${ROFI_PASS_DEFAULT_USER-$(whoami)}" +#default_user2=mary_ann +#password_length=12 + +# Custom Keybindings +autotype="Alt+1" +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/.local/bin/overrides/rofi-pass b/.local/bin/overrides/rofi-pass new file mode 100755 index 0000000..5e7c144 --- /dev/null +++ b/.local/bin/overrides/rofi-pass @@ -0,0 +1,4 @@ +#!/usr/bin/sh + +PINENTRY_USER_DATA=rofi /usr/bin/rofi-pass + diff --git a/.local/bin/pinentry-wrapper b/.local/bin/pinentry-wrapper index 3cd0090..0aae9f9 100755 --- a/.local/bin/pinentry-wrapper +++ b/.local/bin/pinentry-wrapper @@ -7,6 +7,9 @@ case "$PINENTRY_USER_DATA" in dmenu) exec /usr/bin/pinentry-dmenu "$@" ;; + rofi) + exec /usr/bin/pinentry-rofi "$@" + ;; *) exec /usr/bin/pinentry-curses "$@" ;;