afegits scripts a linux_utils
This commit is contained in:
8
linux_utils/ccae.desktop
Normal file
8
linux_utils/ccae.desktop
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Exec=/home/sergio/gitea/coffee_crisis_arcade_edition/coffee_crisis_arcade_edition
|
||||||
|
Hidden=false
|
||||||
|
NoDisplay=false
|
||||||
|
X-GNOME-Autostart-enabled=true
|
||||||
|
Name=Coffee Crisis Arcade Edition
|
||||||
|
Comment=Ejecuta CCAE
|
||||||
8
linux_utils/no-overview-at-startup.desktop
Normal file
8
linux_utils/no-overview-at-startup.desktop
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Exec=/home/sergio/.local/bin/no-overview-at-startup.sh
|
||||||
|
Hidden=false
|
||||||
|
NoDisplay=false
|
||||||
|
X-GNOME-Autostart-enabled=true
|
||||||
|
Name=No Overview at Start-up
|
||||||
|
Comment=Evita que GNOME muestre la vista de actividades al iniciar sesión
|
||||||
13
linux_utils/no-overview-at-startup.sh
Normal file
13
linux_utils/no-overview-at-startup.sh
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
for i in {1..50}; do
|
||||||
|
IS_OVERVIEW=$(dbus-send --print-reply=literal --session \
|
||||||
|
--dest=org.gnome.Shell --type=method_call /org/gnome/Shell \
|
||||||
|
org.freedesktop.DBus.Properties.Get string:org.gnome.Shell string:OverviewActive | awk '{print $3}')
|
||||||
|
if [[ "$IS_OVERVIEW" == "true" ]]; then
|
||||||
|
dbus-send --session --dest=org.gnome.Shell --type=method_call \
|
||||||
|
/org/gnome/Shell org.freedesktop.DBus.Properties.Set \
|
||||||
|
string:org.gnome.Shell string:OverviewActive variant:boolean:false
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
sleep 0.1
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user