Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/bin/vlcx:
- #!/bin/sh
- # disables screen lock + compositing and starts vlc
- # re-enables screen lock + compositing after vlc exits
- # xcompmgr
- ( ps nc -C xcompmgr &>/dev/null ) && killall xcompmgr;
- xautolock -disable;
- vlc $1;
- xcompmgr -nfF&
- xautolock -enable;
- ~/.config/ranger/apps.py:
- # By setting flags='d', this programs will not block ranger's terminal:
- CustomApplications.generic('opera', 'firefox', 'apvlv',
- 'zathura', 'gimp', 'mirage', 'eog', 'vlcx', flags='d')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement