mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-12-30 15:08:16 +01:00
Compare commits
4 Commits
89b449c8f2
...
b373e1fc8d
| Author | SHA1 | Date | |
|---|---|---|---|
| b373e1fc8d | |||
| aa6101fc42 | |||
| 2b8b62c4fa | |||
| 22e63030b6 |
@ -15,6 +15,10 @@
|
||||
"name": "Reboot",
|
||||
"command": "systemctl reboot"
|
||||
},
|
||||
{
|
||||
"name": "Restart bluetooth",
|
||||
"command": "sudo systemctl restart bluetooth.service bluetoothd.service"
|
||||
},
|
||||
{
|
||||
"name": "Screenshot [all monitors]",
|
||||
"command": "spectacle --background --pointer"
|
||||
|
||||
@ -15,6 +15,10 @@
|
||||
"name": "Käynnistä uudelleen",
|
||||
"command": "systemctl reboot"
|
||||
},
|
||||
{
|
||||
"name": "Bluetoothin uudelleenkäynnistys",
|
||||
"command": "sudo systemctl restart bluetooth.service bluetoothd.service"
|
||||
},
|
||||
{
|
||||
"name": "Kuvankaappaus [kaikki näytöt]",
|
||||
"command": "spectacle --background --pointer"
|
||||
|
||||
@ -90,4 +90,8 @@
|
||||
%sudo ALL=NOPASSWD: /bin/systemctl restart minidlna.service
|
||||
%wheel ALL=NOPASSWD: /bin/systemctl restart minidlna.service
|
||||
|
||||
# Except that this is for KDE Connect
|
||||
%sudo ALL=NOPASSWD: /bin/systemctl restart bluetooth.service bluetoothd.service
|
||||
%wheel ALL=NOPASSWD: /bin/systemctl restart bluetooth.service bluetoothd.service
|
||||
|
||||
# vim: filetype=sudoers
|
||||
|
||||
2
install
2
install
@ -180,7 +180,7 @@ if [ "$(id -u)" == "0" ]; then
|
||||
|
||||
# Additional configuration for sudo SECURITY WARNING DANGER ALARM BELLS!
|
||||
if [ -d /etc/sudoers.d ]; then
|
||||
cp -v etc/sudoers.d/{lecture,password-feedback,always-ask-password,envkeep-extras} /etc/sudoers.d/
|
||||
cp -v etc/sudoers.d/{aminda-systemd,lecture,password-feedback,always-ask-password,envkeep-extras} /etc/sudoers.d/
|
||||
fi
|
||||
|
||||
# Profile configuration. SECURITY WARNING
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user