mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
chore: adds a bunch of notifications to various unfuck scripts so that nopasswd sudo access to systemctl can be dropped
This commit is contained in:
parent
66f7aca586
commit
f7b58567af
1 changed files with 5 additions and 1 deletions
|
|
@ -26,7 +26,9 @@ unfuck_wallpaper() {
|
|||
}
|
||||
|
||||
unfuck_fingerprint() {
|
||||
systemctl restart fprintd.service
|
||||
notify-send "Touch sensor or use YubiKey." "Sleeping for 10 seconds."
|
||||
sleep 10
|
||||
sudo systemctl restart fprintd.service
|
||||
}
|
||||
|
||||
unfuck_bar() {
|
||||
|
|
@ -37,6 +39,8 @@ unfuck_bar() {
|
|||
unfuck_networkmanager() {
|
||||
# sudo modprobe -r iwlwifi
|
||||
# sudo modprobe iwlwifi
|
||||
notify-send "Touch sensor or use YubiKey." "Sleeping for 10 seconds."
|
||||
sleep 10
|
||||
sudo systemctl restart NetworkManager
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue