You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
227 B
6 lines
227 B
4 years ago
|
{% calculate path='/usr/share/calculate/xdm/logout.d', pkg('sys-apps/calculate-utils[desktop]') %}
|
||
|
#!/bin/bash
|
||
|
|
||
|
chvt $(ps ax | grep -v root/$DISPLAY | sed -rn 's/^.*lightdm\/root.*vt([0-9]+).*$/\1/p' | awk '{print $1}')
|
||
|
exit 0
|