Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmbootstrap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmbootstrap
Commits
e6e46821
Commit
e6e46821
authored
7 years ago
by
Sicelo
Committed by
Oliver Smith
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix issues with lock.sh for i3wm/N900 (#1439)
parent
d6391791
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aports/main/postmarketos-ui-i3wm/APKBUILD
+3
-3
3 additions, 3 deletions
aports/main/postmarketos-ui-i3wm/APKBUILD
aports/main/postmarketos-ui-i3wm/lock.sh
+6
-4
6 additions, 4 deletions
aports/main/postmarketos-ui-i3wm/lock.sh
with
9 additions
and
7 deletions
aports/main/postmarketos-ui-i3wm/APKBUILD
+
3
−
3
View file @
e6e46821
pkgname
=
postmarketos-ui-i3wm
pkgver
=
0.1
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"(X11) Tiling WM (keyboard required)"
url
=
"https://i3wm.org"
arch
=
"noarch"
...
...
@@ -16,8 +16,8 @@ source="
options
=
"!check"
package
()
{
install
-D
-m
644
"
$srcdir
"
/lock.sh
\
install
-D
-m
755
"
$srcdir
"
/lock.sh
\
"
$pkgdir
"
/usr/bin/lock.sh
}
sha512sums
=
"f1556fa83ddecf453333d784004c28d6bd9b7cf4c5ee2c0d31d51e67f5e1fa9949a6dd4377793eeb72e619add0689208fdd497924ebefa778c349a26e57ad30a postmarketos-ui-i3wm.post-install
ae41416dc56751825a87024dfe145afcba80a1aba5152280f199dfb3f289626fc8ec6ad38d0f25b7b5e5e74edde1d560e01c71251040d195da47214c4068c702
lock.sh"
2165141499a830beb33ee42e410ba39104f3e70cd61507f0607115d421846104659fa7e9d4193b3394f7384fc33c2233269bb61c99d5d8a2368aa83500e54b35
lock.sh"
This diff is collapsed.
Click to expand it.
aports/main/postmarketos-ui-i3wm/lock.sh
+
6
−
4
View file @
e6e46821
#!/bin/sh
FILE
=
~/
tmp/
screenoff
FILE
=
~/
.
screenoff
if
[
-f
$FILE
]
;
then
xinput set-prop 8
"Device Enabled"
1
xset dpms force on
rm
~/.screenoff
rm
"
$FILE
"
else
xset dpms force off
xinput set-prop 8
"Device Enabled"
0
touch
~/.screenoff
# Turn screen off twice (sometimes it does not work on first run)
xset dpms force off
xset dpms force off
touch
"
$FILE
"
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment