commit
This commit is contained in:
parent
dfab35a984
commit
a1a7f3cd2b
@ -95,7 +95,7 @@ class Application:
|
|||||||
supergfxctl_switch.set_active(False)
|
supergfxctl_switch.set_active(False)
|
||||||
|
|
||||||
caffeine_switch = self.builder.get_object("caffeine_switch")
|
caffeine_switch = self.builder.get_object("caffeine_switch")
|
||||||
caffeine_output = subprocess.run(["gsettings get org.gnome.shell enabled-extensions | grep espresso@coadmunkee.github.com"], shell=True, stdout=subprocess.DEVNULL)
|
caffeine_output = subprocess.run(["gsettings get org.gnome.shell enabled-extensions | grep caffeine@patapon.info"], shell=True, stdout=subprocess.DEVNULL)
|
||||||
if (caffeine_output.returncode) == 0:
|
if (caffeine_output.returncode) == 0:
|
||||||
caffeine_switch.set_active(True)
|
caffeine_switch.set_active(True)
|
||||||
else:
|
else:
|
||||||
|
7
src/etc/nobara/scripts/nobara-layouts/settings-scripts/gamemode.sh
Executable file
7
src/etc/nobara/scripts/nobara-layouts/settings-scripts/gamemode.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
if [[ $1 == enable ]]; then
|
||||||
|
gnome-extensions enable gamemode@christian.kellner.me
|
||||||
|
else
|
||||||
|
gnome-extensions disable gamemode@christian.kellner.me
|
||||||
|
fi
|
7
src/etc/nobara/scripts/nobara-layouts/settings-scripts/pop.sh
Executable file
7
src/etc/nobara/scripts/nobara-layouts/settings-scripts/pop.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
if [[ $1 == enable ]]; then
|
||||||
|
gnome-extensions enable pop-shell@system76.com
|
||||||
|
else
|
||||||
|
gnome-extensions disable pop-shell@system76.com
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user