Compare commits

...

4 Commits

4 changed files with 13 additions and 1 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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