feat: force pass gui

This commit is contained in:
ange 2025-04-06 14:57:23 +00:00
parent a759ac8dd2
commit f48e958d44
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
4 changed files with 9 additions and 14 deletions

View File

@ -1,7 +1,6 @@
# vim: tabstop=8 nowrap
# TODO
https://swatchseries.is/watch-tv/watch-rick-and-morty-39480.10164145
https://serverfault.com/questions/1150627/bind9-behind-nginx-reverse-proxy-doh/1168780#1168780
https://www.grepular.com/Automatically_Encrypting_all_Incoming_Email
https://www.grepular.com/Protecting_a_Laptop_from_Simple_and_Sophisticated_Attacks
@ -24,7 +23,7 @@ maby/torrent https://torrent.ovh.maby.dev
maby/tv https://tv.maby.dev
media/dailymotion https://www.dailymotion.com
media/youtube https://youtube.com
media/ytmusic https://www.youtube.com/playlist?list=PLXd8_JG4e_d34zzFuv-ZtufN3VcbYnFnl
media/ytmusic https://music.youtube.com/playlist?list=PLXd8_JG4e_d34zzFuv-ZtufN3VcbYnFnl
tools/crypto/coingecko https://www.coingecko.com
tools/crypto/mempool https://mempool.space
tools/deepl https://www.deepl.com

View File

@ -64,7 +64,7 @@ static const char *wwwcmd[] = { "bookmarks", NULL };
static const char *pwwwcmd[] = { "bookmarks", "-p", NULL };
static const char *calccmd[] = { "alacritty", "-epython", NULL };
static const char *fmcmd[] = { "pcmanfm", NULL };
static const char *prtsccmd[] = { "sh", "-c", "import png:- | xclip -sel c -t image/png && xclip -sel c -o | feh -", NULL };
static const char *prtsccmd[] = { "sh", "-c", "magick import png:- | xclip -sel c -t image/png && xclip -sel c -o | feh -", NULL };
static const char *lvolcmd[] = { "vol", "s", "-5", NULL };
static const char *rvolcmd[] = { "vol", "s", "+5", NULL };
static const char *mutecmd[] = { "vol", "s", "m", NULL };
@ -77,11 +77,11 @@ static const char *nextcmd[] = { "playerctl", "next", NULL };
static const char *stopcmd[] = { "playerctl", "stop", NULL };
static const char *lbrtcmd[] = { "light", "-1", NULL };
static const char *rbrtcmd[] = { "light", "+1", NULL };
static const char *passselectcmd[] = { "pass", "select", NULL };
static const char *passopencmd[] = { "pass", "openurl", NULL };
static const char *passusercmd[] = { "pass", "printuser", NULL };
static const char *passpasscmd[] = { "pass", "printpass", NULL };
static const char *passotpcmd[] = { "pass", "printotp", NULL };
static const char *passselectcmd[] = { "nohup", "pass", "select", NULL };
static const char *passopencmd[] = { "nohup", "pass", "openurl", NULL };
static const char *passusercmd[] = { "nohup", "pass", "printuser", NULL };
static const char *passpasscmd[] = { "nohup", "pass", "printpass", NULL };
static const char *passotpcmd[] = { "nohup", "pass", "printotp", NULL };
static const char *reloadbarcmd[] = { "sh", "-c", "kill -34 \"$(cat \"$HOME/.cache/pidofbar\")\"", NULL};
static const Key keys[] = {

View File

@ -1,3 +0,0 @@
#!/bin/bash
org.mozilla.firefox -P music --kiosk

View File

@ -1,11 +1,10 @@
#!/bin/bash -e
DMENU=/usr/local/bin/dmenu
SUDO=pkexec
if tty -s; then
DMENU=fzf
SUDO=sudo
else
DMENU=/usr/local/bin/dmenu
SUDO=pkexec
fi
if [ "$EUID" != 0 ]; then