screen settings
This commit is contained in:
12
.config/screenlayout/screenmenu.sh
Executable file
12
.config/screenlayout/screenmenu.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
prefix=${PASSWORD_STORE_DIR-~/.config/screenlayout}
|
||||
screen_files=( "$prefix"/*.sh )
|
||||
screen_files=( "${screen_files[@]#"$prefix"/}" )
|
||||
screen_files=( "${screen_files[@]%.sh}" )
|
||||
|
||||
screen_file=$(printf '%s\n' "${screen_files[@]}" | rofi -dmenu -theme nord -font 'pango:monospace 18'"$@")
|
||||
|
||||
[[ -n $screen_file ]] || exit
|
||||
|
||||
$("${prefix}/${screen_file}.sh")
|
||||
|
||||
Reference in New Issue
Block a user