From 388a07bbed3169a52edbd3c4102665045b540b76 Mon Sep 17 00:00:00 2001 From: Florian Schrofner Date: Sun, 8 Dec 2024 12:23:49 +0100 Subject: [PATCH] add potential fixes for gnome keyring, increase cache time for gpg --- configs/config-files/bspwm-config | 6 ++++++ configs/config-files/gpg-config | 2 ++ configs/configs.clj | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 configs/config-files/gpg-config diff --git a/configs/config-files/bspwm-config b/configs/config-files/bspwm-config index c71e87b..b5eb50d 100755 --- a/configs/config-files/bspwm-config +++ b/configs/config-files/bspwm-config @@ -48,11 +48,17 @@ (run-command))) (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 "nitrogen" #(process "nitrogen" "--restore")) (if-not-running "picom" #(process "picom" "--config" "/home/schrofi/.config/picom/picom.conf")) (if-not-running "polybar" #(process "polybar")) (if-not-running "flameshot" #(process "flameshot")) + ;; start pipewire ;;(process "pipewire") diff --git a/configs/config-files/gpg-config b/configs/config-files/gpg-config new file mode 100644 index 0000000..fe07b96 --- /dev/null +++ b/configs/config-files/gpg-config @@ -0,0 +1,2 @@ +default-cache-ttl 34560000 +max-cache-ttl 34560000 \ No newline at end of file diff --git a/configs/configs.clj b/configs/configs.clj index 457d972..1800e9a 100755 --- a/configs/configs.clj +++ b/configs/configs.clj @@ -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/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/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 [] (println "setting up system services..")