mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-04 13:17:21 +02:00
Compare commits
3 Commits
ce15e83a40
...
ca61d280ce
Author | SHA1 | Date | |
---|---|---|---|
ca61d280ce | |||
384c50be6c | |||
19247bf4f1 |
@ -87,10 +87,10 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: reuse
|
- id: reuse
|
||||||
|
|
||||||
- repo: https://github.com/get-woke/woke
|
# - repo: https://github.com/get-woke/woke
|
||||||
rev: "v0.19.0"
|
# rev: "v0.19.0"
|
||||||
hooks:
|
# hooks:
|
||||||
- id: woke-from-source
|
# - id: woke-from-source
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
|
@ -39,12 +39,6 @@ ExecStart=/home/linuxbrew/.linuxbrew/bin/ipfs daemon --routing=dht --enable-gc -
|
|||||||
# connections
|
# connections
|
||||||
# ipfs config --json Swarm.ConnMgr.LowWater 20 - attempt to keep at least
|
# ipfs config --json Swarm.ConnMgr.LowWater 20 - attempt to keep at least
|
||||||
# 20 connections
|
# 20 connections
|
||||||
# ipfs config --json Swarm.EnableAutoRelay true - if impassable NAT is
|
|
||||||
# detected, connect to the network through relays that have configured
|
|
||||||
# themselves as open (EnableAutoNATService & EnableRelayHop?)
|
|
||||||
# ipfs config --json Experimental.QUIC true - QUIC support, remember to
|
|
||||||
# edit swarm addresses to include /ip4/0.0.0.0/udp/4001/quic
|
|
||||||
# /ip6/::/udp/4001/quic
|
|
||||||
# ipfs config --json Experimental.FilestoreEnabled true - for ipfs add
|
# ipfs config --json Experimental.FilestoreEnabled true - for ipfs add
|
||||||
# --nocopy to not store the content twice on disc
|
# --nocopy to not store the content twice on disc
|
||||||
#
|
#
|
||||||
|
@ -12,7 +12,9 @@ fi
|
|||||||
|
|
||||||
echo "Wallpaper: $WALLPAPER_PATH"
|
echo "Wallpaper: $WALLPAPER_PATH"
|
||||||
|
|
||||||
if [ "$ID" == "arch" ]; then
|
if hash qdbus-qt6 2> /dev/null; then
|
||||||
|
qdbus-qt6 org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file://'$WALLPAPER_PATH'")}'
|
||||||
|
elif hash qdbus6 2> /dev/null; then
|
||||||
qdbus6 org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file://'$WALLPAPER_PATH'")}'
|
qdbus6 org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file://'$WALLPAPER_PATH'")}'
|
||||||
else
|
else
|
||||||
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file://'$WALLPAPER_PATH'")}'
|
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file://'$WALLPAPER_PATH'")}'
|
||||||
|
@ -12,7 +12,9 @@ fi
|
|||||||
|
|
||||||
echo "Wallpaper: $WALLPAPER_PATH"
|
echo "Wallpaper: $WALLPAPER_PATH"
|
||||||
|
|
||||||
if [ "$ID" == "arch" ]; then
|
if hash qdbus-qt6 2> /dev/null; then
|
||||||
|
qdbus-qt6 org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file://'$WALLPAPER_PATH'")}'
|
||||||
|
elif hash qdbus6 2> /dev/null; then
|
||||||
qdbus6 org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file://'$WALLPAPER_PATH'")}'
|
qdbus6 org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file://'$WALLPAPER_PATH'")}'
|
||||||
else
|
else
|
||||||
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file://'$WALLPAPER_PATH'")}'
|
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file://'$WALLPAPER_PATH'")}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user