changed for obs, fix for desktop portals

This commit is contained in:
Ryan 2023-06-03 13:51:23 -04:00
parent 1bb57c778f
commit 95f2143d43
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E
4 changed files with 12 additions and 3 deletions

View file

@ -87,10 +87,8 @@
("ls" . "ls -p --color=auto") ("ls" . "ls -p --color=auto")
("python" . "python3"))) ("python" . "python3")))
(bashrc (list (local-file (bashrc (list (local-file
"/home/ryan/.config/guix/home-config/bashrc"
"bashrc"))) "bashrc")))
(bash-profile (list (local-file (bash-profile (list (local-file
"/home/ryan/.config/guix/home-config/bash_profile"
"bash_profile"))))) "bash_profile")))))
(service home-xdg-configuration-files-service-type (service home-xdg-configuration-files-service-type
`(("nvim/init.vim" ,(local-file "nvim/config/init.vim")) `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))

9
home-config/profile Normal file
View file

@ -0,0 +1,9 @@
# Quick hack to ensure user d-bus has proper env vars
export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_DESKTOP=sway
export _JAVA_AWT_WM_NONREPEATING=1
# Proper stuff
HOME_ENVIRONMENT=$HOME/.guix-home
. $HOME_ENVIRONMENT/setup-environment
$HOME_ENVIRONMENT/on-first-login

View file

@ -26,6 +26,8 @@ exec sh ~/.profile
# Load up the user session dbus # Load up the user session dbus
#exec dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus #exec dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus
exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
# #
# Logo key. Use Mod1 for Alt. # Logo key. Use Mod1 for Alt.
set $mod Mod4 set $mod Mod4
@ -275,7 +277,6 @@ bar {
swaybar_command waybar swaybar_command waybar
} }
exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
# Numlock on startup # Numlock on startup
input * xkb_numlock enabled input * xkb_numlock enabled

View file

@ -130,6 +130,7 @@
;"xdg-desktop-portal-wlr" ;"xdg-desktop-portal-wlr"
"xdg-desktop-portal" "xdg-desktop-portal"
"xdg-desktop-portal-gtk" "xdg-desktop-portal-gtk"
"v4l2loopback-linux-module"
"pipewire" "pipewire"
"docker" "docker"
"libvirt" "libvirt"