aboutsummaryrefslogtreecommitdiff
path: root/.config/rofi-pass/config
blob: 595fb510c3b4a77cba95966ecbc1ccf4a8ad1217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
# make sure the filename is used as the account name
USERNAME_field='path'
default_user=':filename'
default_autotype="path :tab pass"

# pass custom rofi flags
_rofi() {
	rofi \
		-i \
		-no-auto-select \
		-config "$XDG_CONFIG_HOME/rofi-pass/rofi.rasi" \
		"$@"
}

_do_type_xdotool() {
	fcitx5-temp-off

	# this is the default command
	xdotool type --delay ${type_delay} --clearmodifiers --file -

	fcitx5-temp-restore
}