.
This commit is contained in:
parent
87d6eda989
commit
3ca3b17b24
2 changed files with 14 additions and 0 deletions
13
files/.local/bin/dmenu_run
Executable file
13
files/.local/bin/dmenu_run
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
cmd="$(dmenu_path | dmenu "$@")"
|
||||
test -z "$cmd" && exit 0
|
||||
temp=`mktemp /tmp/dmenu.XXXXXX`
|
||||
|
||||
sh -c "( $cmd ) 2>&1" > "$temp"
|
||||
test $? -eq 0 || {
|
||||
notify-send "$cmd: exit code $?" "$(cat "$temp")"
|
||||
}
|
||||
|
||||
err=$?
|
||||
rm -f "$temp"
|
||||
exit $err
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
setxkbmap de &
|
||||
xrandr -r 144 &
|
||||
exec "$(which cwm)"
|
||||
#exec "$(which sxwm)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue