This repository has been archived by the owner on May 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed dmrc and added csd-background-helper
- Loading branch information
1 parent
8561027
commit 3c003c4
Showing
6 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Sets the following: | ||
# [org.freedesktop.DisplayManager.AccountsService] | ||
# BackgroundFile | ||
# [User] | ||
# Background | ||
# in /var/lib/AccountsService/users/$USER | ||
|
||
function setuserbackground(){ | ||
export USERBACKGROUND=`gsettings get org.cinnamon.desktop.background picture-filename | sed -e "s/^'//" -e "s/'$//"` | ||
|
||
dbus-send --system --print-reply \ | ||
--dest=org.freedesktop.Accounts \ | ||
--type=method_call \ | ||
/org/freedesktop/Accounts/User`id -u` \ | ||
org.freedesktop.Accounts.User.SetBackgroundFile string:"$USERBACKGROUND" | ||
|
||
dbus-send --system --print-reply \ | ||
--dest=org.freedesktop.Accounts \ | ||
/org/freedesktop/Accounts/User`id -u` \ | ||
org.freedesktop.DBus.Properties.Set \ | ||
string:org.freedesktop.DisplayManager.AccountsService \ | ||
string:BackgroundFile \ | ||
variant:string:"$USERBACKGROUND" | ||
} | ||
|
||
setuserbackground | ||
|
||
dbus-monitor --profile "type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/org/cinnamon/desktop/background/'" | | ||
while read -r line; do | ||
setuserbackground | ||
done | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=Cinnamon Settings Daemon Background Helper | ||
Comment=Sets the user background in AccountsService on Cinnamon | ||
Exec=csd-background-helper | ||
OnlyShowIn=CINNAMON; | ||
X-CINNAMON-Autostart-enabled=true | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[org.cinnamon.theme] | ||
name='Ghomix' | ||
name='Vimix-Dark' |