Set background with feh
This commit is contained in:
		@@ -2384,6 +2384,7 @@ ConditionFileNotEmpty=%h/.second_display
 | 
				
			|||||||
PassEnvironment=XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
 | 
					PassEnvironment=XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
 | 
				
			||||||
EnvironmentFile=%h/.second_display
 | 
					EnvironmentFile=%h/.second_display
 | 
				
			||||||
ExecStart=/usr/bin/openbox --config-file %h/.config/openbox/rc.xml
 | 
					ExecStart=/usr/bin/openbox --config-file %h/.config/openbox/rc.xml
 | 
				
			||||||
 | 
					ExecStartPost=/bin/bash %h/.fehbg
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Install]
 | 
					[Install]
 | 
				
			||||||
WantedBy=yavdr-desktop.target
 | 
					WantedBy=yavdr-desktop.target
 | 
				
			||||||
@@ -2462,6 +2463,8 @@ end
 | 
				
			|||||||
env | grep "DISPLAY\|DBUS_SESSION_BUS_ADDRESS\|XDG_RUNTIME_DIR" > ~/.session-env
 | 
					env | grep "DISPLAY\|DBUS_SESSION_BUS_ADDRESS\|XDG_RUNTIME_DIR" > ~/.session-env
 | 
				
			||||||
systemctl --user import-environment DISPLAY XAUTHORITY XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
 | 
					systemctl --user import-environment DISPLAY XAUTHORITY XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					feh --bg-center "/usr/share/yavdr/images/yavdr_logo.png"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enabled_services=(
 | 
					enabled_services=(
 | 
				
			||||||
    "tmux.service" "detect-second-display.service"
 | 
					    "tmux.service" "detect-second-display.service"
 | 
				
			||||||
    "openbox-second.service" "osd2web.service"
 | 
					    "openbox-second.service" "osd2web.service"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,6 +3,8 @@
 | 
				
			|||||||
env | grep "DISPLAY\|DBUS_SESSION_BUS_ADDRESS\|XDG_RUNTIME_DIR" > ~/.session-env
 | 
					env | grep "DISPLAY\|DBUS_SESSION_BUS_ADDRESS\|XDG_RUNTIME_DIR" > ~/.session-env
 | 
				
			||||||
systemctl --user import-environment DISPLAY XAUTHORITY XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
 | 
					systemctl --user import-environment DISPLAY XAUTHORITY XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					feh --bg-center "/usr/share/yavdr/images/yavdr_logo.png"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enabled_services=(
 | 
					enabled_services=(
 | 
				
			||||||
    "tmux.service" "detect-second-display.service"
 | 
					    "tmux.service" "detect-second-display.service"
 | 
				
			||||||
    "openbox-second.service" "osd2web.service"
 | 
					    "openbox-second.service" "osd2web.service"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,6 +9,7 @@ ConditionFileNotEmpty=%h/.second_display
 | 
				
			|||||||
PassEnvironment=XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
 | 
					PassEnvironment=XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
 | 
				
			||||||
EnvironmentFile=%h/.second_display
 | 
					EnvironmentFile=%h/.second_display
 | 
				
			||||||
ExecStart=/usr/bin/openbox --config-file %h/.config/openbox/rc.xml
 | 
					ExecStart=/usr/bin/openbox --config-file %h/.config/openbox/rc.xml
 | 
				
			||||||
 | 
					ExecStartPost=/bin/bash %h/.fehbg
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Install]
 | 
					[Install]
 | 
				
			||||||
WantedBy=yavdr-desktop.target
 | 
					WantedBy=yavdr-desktop.target
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user