Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
i3lock
xlock.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xlock.sh of Package i3lock
#!/bin/bash # XY=$(xdpyinfo |awk '/dimensions:/{print $2;exit}') CACHEFILE=${HOME}/.cache/xlock-sim/lock-$XY.png ICON=/usr/share/i3lock-xlock-compat/i3lock-icon.png if ! test -e $CACHEFILE || test $ICON -nt $CACHEFILE; then install -d ${HOME}/.cache/xlock-sim convert $ICON -background none -gravity center -extent $XY $CACHEFILE fi # not totally black, so that we can see something is happening even if convert failed exec /usr/bin/i3lock -n -c 444444 -i $CACHEFILE
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor