Create helper script to automate log off tasks
This commit is contained in:
parent
64a290c342
commit
4974b61c33
19
goingaway.sh
Executable file
19
goingaway.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Ferit Yigit BALABAN <fyb@duck.com>, 2022
|
||||
#
|
||||
|
||||
# Step 1: Set screen brightness to 0
|
||||
brightnessctl --device amdgpu_bl0 set 0
|
||||
|
||||
# Step 2: Set keyboard backlight to 0
|
||||
brightnessctl --device asus::kbd_backlight set 0
|
||||
|
||||
# Step 3: Set mouse light to 0
|
||||
rivalcfg --color=#000000 --light-effect=steady
|
||||
|
||||
# Step 4: Set volume level to 0
|
||||
pactl set-sink-volume @DEFAULT_SINK@ 0%
|
||||
|
||||
# Step 5: Lock the screen with screensaver
|
||||
betterlockscreen --lock --off 10
|
Loading…
x
Reference in New Issue
Block a user