add 'launcher script' and add input to default groups

This commit is contained in:
lelgenio 2020-04-27 03:53:55 -03:00
parent 4d5a444596
commit cb8f00e123
5 changed files with 16 additions and 3 deletions

View File

@ -745,7 +745,7 @@ create_user() {
local name="$1"; shift
local password="$1"; shift
useradd -m -s /usr/bin/$USER_SHELL -G adm,systemd-journal,wheel,rfkill,games,network,video,audio,optical,floppy,storage,scanner,power "$name"
useradd -m -s /usr/bin/$USER_SHELL -G adm,systemd-journal,wheel,rfkill,games,network,video,audio,optical,floppy,storage,scanner,power,input "$name"
/bin/echo -en "$password\n$password" | passwd "$name"
}
#}}}

6
scripts/.local/bin/launcher Executable file
View File

@ -0,0 +1,6 @@
#!/bin/fish
command -qs wofi &&
exec wofi --show drun --allow-images --prompt 'Iniciar: '
command -qs bmenu &&
exec bmenu run

View File

@ -7,7 +7,7 @@ swipe:
up:
command: 'swaymsg fullscreen toggle'
down:
command: 'wofi -S drun -ip"Iniciar: "'
command: 'launcher'
# pinch:
# in:
# command: 'xdotool key ctrl+shift+plus'

View File

@ -18,7 +18,8 @@
set $term terminal
# set $menu wofi --show drun --allow-images --insensitive --term $term -p'Iniciar: '
set $menu bmenu run $term
# set $menu bmenu run $term
set $menu launcher
font Fira Code 14px
# }}}

View File

@ -1,2 +1,8 @@
show=drun
prompt=Iniciar:
allow_images=true
allow_markup=true
term=terminal
insensitive=true
width=800
height=400