mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 07:36:09 -05:00
changed for obs, fix for desktop portals
This commit is contained in:
parent
1bb57c778f
commit
95f2143d43
4 changed files with 12 additions and 3 deletions
|
@ -87,10 +87,8 @@
|
|||
("ls" . "ls -p --color=auto")
|
||||
("python" . "python3")))
|
||||
(bashrc (list (local-file
|
||||
"/home/ryan/.config/guix/home-config/bashrc"
|
||||
"bashrc")))
|
||||
(bash-profile (list (local-file
|
||||
"/home/ryan/.config/guix/home-config/bash_profile"
|
||||
"bash_profile")))))
|
||||
(service home-xdg-configuration-files-service-type
|
||||
`(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
|
||||
|
|
9
home-config/profile
Normal file
9
home-config/profile
Normal 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
|
|
@ -26,6 +26,8 @@ exec sh ~/.profile
|
|||
# Load up the user session dbus
|
||||
#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.
|
||||
set $mod Mod4
|
||||
|
@ -275,7 +277,6 @@ bar {
|
|||
swaybar_command waybar
|
||||
}
|
||||
|
||||
exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
|
||||
# Numlock on startup
|
||||
input * xkb_numlock enabled
|
||||
|
|
|
@ -130,6 +130,7 @@
|
|||
;"xdg-desktop-portal-wlr"
|
||||
"xdg-desktop-portal"
|
||||
"xdg-desktop-portal-gtk"
|
||||
"v4l2loopback-linux-module"
|
||||
"pipewire"
|
||||
"docker"
|
||||
"libvirt"
|
||||
|
|
Loading…
Reference in a new issue