add potential fixes for gnome keyring, increase cache time for gpg
This commit is contained in:
		
							parent
							
								
									2668afbc3f
								
							
						
					
					
						commit
						388a07bbed
					
				
					 3 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
					@ -48,11 +48,17 @@
 | 
				
			||||||
    (run-command)))
 | 
					    (run-command)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(shell "setxkbmap" "de")
 | 
					(shell "setxkbmap" "de")
 | 
				
			||||||
 | 
					;; this is needed for the gnome keyring to function properly
 | 
				
			||||||
 | 
					(shell "dbus-launch" "--exit-with-session")
 | 
				
			||||||
 | 
					(shell "dbus-update-activation-environment" "--all")
 | 
				
			||||||
 | 
					(shell "gnome-keyring-daemon" "--start" "--components=secrets")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(if-not-running "sxhkd" #(process "sxhkd"))
 | 
					(if-not-running "sxhkd" #(process "sxhkd"))
 | 
				
			||||||
(if-not-running "nitrogen" #(process "nitrogen" "--restore"))
 | 
					(if-not-running "nitrogen" #(process "nitrogen" "--restore"))
 | 
				
			||||||
(if-not-running "picom" #(process "picom" "--config" "/home/schrofi/.config/picom/picom.conf"))
 | 
					(if-not-running "picom" #(process "picom" "--config" "/home/schrofi/.config/picom/picom.conf"))
 | 
				
			||||||
(if-not-running "polybar" #(process "polybar"))
 | 
					(if-not-running "polybar" #(process "polybar"))
 | 
				
			||||||
(if-not-running "flameshot" #(process "flameshot"))
 | 
					(if-not-running "flameshot" #(process "flameshot"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; start pipewire
 | 
					;; start pipewire
 | 
				
			||||||
;;(process "pipewire")
 | 
					;;(process "pipewire")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								configs/config-files/gpg-config
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								configs/config-files/gpg-config
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,2 @@
 | 
				
			||||||
 | 
					default-cache-ttl 34560000
 | 
				
			||||||
 | 
					max-cache-ttl 34560000
 | 
				
			||||||
| 
						 | 
					@ -55,7 +55,8 @@
 | 
				
			||||||
  (link-config-file (str script-base-dir "/configs/config-files/alacritty-config") "~/.config/alacritty/alacritty.toml")
 | 
					  (link-config-file (str script-base-dir "/configs/config-files/alacritty-config") "~/.config/alacritty/alacritty.toml")
 | 
				
			||||||
  (link-config-file (str script-base-dir "/configs/config-files/sxhkd-config") "~/.config/sxhkd/sxhkdrc")
 | 
					  (link-config-file (str script-base-dir "/configs/config-files/sxhkd-config") "~/.config/sxhkd/sxhkdrc")
 | 
				
			||||||
    (link-config-file (str script-base-dir "/configs/config-files/rofi-config") "~/.config/rofi/config.rasi")
 | 
					    (link-config-file (str script-base-dir "/configs/config-files/rofi-config") "~/.config/rofi/config.rasi")
 | 
				
			||||||
  (link-config-file (str script-base-dir "/configs/config-files/polybar-config") "~/.config/polybar/config.ini"))
 | 
					  (link-config-file (str script-base-dir "/configs/config-files/polybar-config") "~/.config/polybar/config.ini")
 | 
				
			||||||
 | 
					  (link-config-file (str script-base-dir "/configs/config-files/gpg-config") "~/.gnupg/gpg-agent.conf"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(defn- setup-system-services []
 | 
					(defn- setup-system-services []
 | 
				
			||||||
  (println "setting up system services..")
 | 
					  (println "setting up system services..")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue