Initial Release
This commit is contained in:
commit
8b3b95aae8
54 changed files with 5601 additions and 0 deletions
8
scripts/session/session-logout.sh
Normal file
8
scripts/session/session-logout.sh
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# name: Log Out
|
||||
# icon: system-log-out
|
||||
# description: Log out to the login screen
|
||||
# keywords: log out logout
|
||||
|
||||
gnome-session-quit --logout
|
||||
8
scripts/session/session-reboot.sh
Normal file
8
scripts/session/session-reboot.sh
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# name: Restart
|
||||
# icon: system-restart
|
||||
# description: Reboot the system
|
||||
# keywords: power reboot restart
|
||||
|
||||
gnome-session-quit --reboot
|
||||
8
scripts/session/session-shutdown.sh
Normal file
8
scripts/session/session-shutdown.sh
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# name: Power off
|
||||
# icon: system-shutdown
|
||||
# description: Shut down the system
|
||||
# keywords: power off shutdown
|
||||
|
||||
gnome-session-quit --power-off
|
||||
8
scripts/session/session-suspend.sh
Normal file
8
scripts/session/session-suspend.sh
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# name: Suspend
|
||||
# icon: system-suspend
|
||||
# description: Suspend the system
|
||||
# keywords: suspend
|
||||
|
||||
systemctl suspend
|
||||
16
scripts/system76-power/graphics-compute.sh
Normal file
16
scripts/system76-power/graphics-compute.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# name: Switch to Compute Graphics
|
||||
# icon: preferences-system-symbolic
|
||||
# description: Use integrated GPU for display; discrete for CUDA / OpenCL
|
||||
# keywords: compute graphics switch nvidia
|
||||
|
||||
gnome-terminal -- sh -c '
|
||||
if system76-power graphics compute; then
|
||||
echo "Succesfully switched. You may now reboot"
|
||||
else
|
||||
echo "Failed to switch\nPress key to exit"
|
||||
fi
|
||||
|
||||
read x
|
||||
'
|
||||
16
scripts/system76-power/graphics-discrete.sh
Normal file
16
scripts/system76-power/graphics-discrete.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# name: Switch to NVIDIA Graphics
|
||||
# icon: preferences-system-symbolic
|
||||
# description: Use NVIDIA GPU for display and applications
|
||||
# keywords: nvidia graphics switch
|
||||
|
||||
gnome-terminal -- sh -c '
|
||||
if system76-power graphics nvidia; then
|
||||
echo "Succesfully switched. You may now reboot"
|
||||
else
|
||||
echo "Failed to switch\nPress key to exit"
|
||||
fi
|
||||
|
||||
read x
|
||||
'
|
||||
16
scripts/system76-power/graphics-hybrid.sh
Normal file
16
scripts/system76-power/graphics-hybrid.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# name: Switch to Hybrid Graphics
|
||||
# icon: preferences-system-symbolic
|
||||
# description: Use integrated GPU for display; applications may request discrete
|
||||
# keywords: integrated graphics switch intel nvidia hybrid
|
||||
|
||||
gnome-terminal -- sh -c '
|
||||
if system76-power graphics hybrid; then
|
||||
echo "Succesfully switched. You may now reboot"
|
||||
else
|
||||
echo "Failed to switch\nPress key to exit"
|
||||
fi
|
||||
|
||||
read x
|
||||
'
|
||||
16
scripts/system76-power/graphics-integrated.sh
Normal file
16
scripts/system76-power/graphics-integrated.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# name: Switch to Integrated Graphics
|
||||
# icon: preferences-system-symbolic
|
||||
# description: Use integrated GPU for display and applications
|
||||
# keywords: integrated graphics switch intel
|
||||
|
||||
gnome-terminal -- sh -c '
|
||||
if system76-power graphics integrated; then
|
||||
echo "Succesfully switched. You may now reboot"
|
||||
else
|
||||
echo "Failed to switch\nPress key to exit"
|
||||
fi
|
||||
|
||||
read x
|
||||
'
|
||||
Loading…
Add table
Add a link
Reference in a new issue