Skip to content

Commit 2bcfc79

Browse files
committed
disable-lock
1 parent 1b39404 commit 2bcfc79

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bashrc.d/utils.bash

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,8 @@ function web-resize() {
112112
function binary-to-plain() {
113113
cat "$1" | tr -d "\0"
114114
}
115+
116+
function disable-lock() {
117+
gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend 'false'
118+
gsettings set org.gnome.desktop.screensaver lock-enabled 'false'
119+
}

0 commit comments

Comments
 (0)