mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-01-04 17:38:06 +01:00
Compare commits
4 Commits
89b449c8f2
...
b373e1fc8d
| Author | SHA1 | Date | |
|---|---|---|---|
| b373e1fc8d | |||
| aa6101fc42 | |||
| 2b8b62c4fa | |||
| 22e63030b6 |
@ -15,6 +15,10 @@
|
|||||||
"name": "Reboot",
|
"name": "Reboot",
|
||||||
"command": "systemctl reboot"
|
"command": "systemctl reboot"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Restart bluetooth",
|
||||||
|
"command": "sudo systemctl restart bluetooth.service bluetoothd.service"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Screenshot [all monitors]",
|
"name": "Screenshot [all monitors]",
|
||||||
"command": "spectacle --background --pointer"
|
"command": "spectacle --background --pointer"
|
||||||
|
|||||||
@ -15,6 +15,10 @@
|
|||||||
"name": "Käynnistä uudelleen",
|
"name": "Käynnistä uudelleen",
|
||||||
"command": "systemctl reboot"
|
"command": "systemctl reboot"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Bluetoothin uudelleenkäynnistys",
|
||||||
|
"command": "sudo systemctl restart bluetooth.service bluetoothd.service"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Kuvankaappaus [kaikki näytöt]",
|
"name": "Kuvankaappaus [kaikki näytöt]",
|
||||||
"command": "spectacle --background --pointer"
|
"command": "spectacle --background --pointer"
|
||||||
|
|||||||
@ -90,4 +90,8 @@
|
|||||||
%sudo ALL=NOPASSWD: /bin/systemctl restart minidlna.service
|
%sudo ALL=NOPASSWD: /bin/systemctl restart minidlna.service
|
||||||
%wheel 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
|
# 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!
|
# Additional configuration for sudo SECURITY WARNING DANGER ALARM BELLS!
|
||||||
if [ -d /etc/sudoers.d ]; then
|
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
|
fi
|
||||||
|
|
||||||
# Profile configuration. SECURITY WARNING
|
# Profile configuration. SECURITY WARNING
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user