Bladeren bron

Added pass settings to rofi and i3

master
Josh Wolfe 1 jaar geleden
bovenliggende
commit
ea661c7993
No account linked to committer's email address
4 gewijzigde bestanden met toevoegingen van 94 en 5 verwijderingen
  1. 2
    0
      git/.gitconfig
  2. 2
    0
      i3/.config/i3/config
  3. 85
    0
      rofi/.config/rofi-pass/config
  4. 5
    5
      rofi/.config/rofi/config

+ 2
- 0
git/.gitconfig Bestand weergeven

@@ -8,3 +8,5 @@
hideCampaign = true
[github]
user = WolfeCub
[commit]
gpgsign = true

+ 2
- 0
i3/.config/i3/config Bestand weergeven

@@ -75,6 +75,8 @@ bindsym $mod+Shift+q kill

# start dmenu (a program launcher)
bindsym $mod+space exec rofi -show run
bindsym $mod+d exec rofi-pass
bindsym $mod+Shift+d exec "rofi-pass --insert"
bindsym $mod+c exec firefox-developer-edition
bindsym $mod+n exec "~/bin/lock.sh"


+ 85
- 0
rofi/.config/rofi-pass/config Bestand weergeven

@@ -0,0 +1,85 @@
# 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 "$@"
}

# 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='login'
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

## Programs to be used
# Editor
EDITOR='gvim -f'

# Browser
BROWSER='xdg-open'

## 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=clipboard

# Options for generating new password entries
# 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"

+ 5
- 5
rofi/.config/rofi/config Bestand weergeven

@@ -2,21 +2,21 @@
! 1 2 3
! 8 0 4
! 7 6 5
rofi.location: 1
rofi.xoffset: 0
rofi.yoffset: 0
! rofi.location: 1
! rofi.xoffset: 0
! rofi.yoffset: 0

! "Enabled modi" Set from: Default
rofi.modi: run

! "Window width" Set from: Default
rofi.width: 1920
! rofi.width: 1920

! "Padding" Set from: Default
rofi.padding: 15

! "Number of lines" Set from: Default
rofi.lines: 1
rofi.lines: 5
rofi.line-margin: 10
rofi.line-padding: 2


Laden…
Annuleren
Opslaan