aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rwxr-xr-x.config/dwl/autostart7
-rwxr-xr-x.config/dwl/portal1
-rwxr-xr-x.config/dwl/start7
3 files changed, 10 insertions, 5 deletions
diff --git a/.config/dwl/autostart b/.config/dwl/autostart
index 075ace9..4f0623d 100755
--- a/.config/dwl/autostart
+++ b/.config/dwl/autostart
@@ -1,12 +1,9 @@
#!/bin/sh
-pipewire & \
-pipewire-pulse & \
-wireplumber & \
+reloadpipewire
swaybg -o DP-2 -i /mnt/ssd/papes/thiemeyer_road_to_samarkand.jpg & \
swaybg -o DP-3 -i /mnt/ssd/papes/thiemeyer_road_to_samarkand.jpg & \
wlr-randr --output DP-3 --mode 2560x1440@239.998001 \
wlr-randr --output DP-2 --mode 2560x1440@165 \
$HOME/.config/dwl/portal & \
dunst & \
-gpg-agent --daemon & \
-sing-box -c /mnt/ssd/settings/config.json run &
+reloadsingbox
diff --git a/.config/dwl/portal b/.config/dwl/portal
index 16f5f61..54fcc4e 100755
--- a/.config/dwl/portal
+++ b/.config/dwl/portal
@@ -2,3 +2,4 @@ sleep 1
killall xdg-desktop-portal-wlr
killall xdg-desktop-portal
/lib/xdg-desktop-portal-wlr &
+
diff --git a/.config/dwl/start b/.config/dwl/start
index d20b2d4..36bb503 100755
--- a/.config/dwl/start
+++ b/.config/dwl/start
@@ -9,6 +9,7 @@ export LIBVA_DRIVER_NAME=nvidia
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
+export QT_QPA_PLATFORMTHEME=qt6ct
export XDG_SESSION_TYPE=wayland
export MOZ_ENABLE_WAYLAND=1
export GDK_BACKEND=wayland
@@ -23,6 +24,12 @@ export SUDO=doas
export __GL_THREADED_OPTIMIZATIONS=0
+gpg-connect-agent updatestartuptty /bye >/dev/null
+unset SSH_AGENT_PID
+if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
+ export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
+fi
+
mkfifo $XDG_RUNTIME_DIR/statuspipe
someblocks -p > $XDG_RUNTIME_DIR/statuspipe &
dbus-run-session dwl -s '$XDG_CONFIG_HOME/dwl/autostart &> /dev/null' < $XDG_RUNTIME_DIR/statuspipe