diff options
Diffstat (limited to 'home-config')
-rw-r--r-- | home-config/home-configuration.scm | 2 | ||||
-rw-r--r-- | home-config/profile | 9 | ||||
-rw-r--r-- | home-config/sway/config | 3 |
3 files changed, 11 insertions, 3 deletions
diff --git a/home-config/home-configuration.scm b/home-config/home-configuration.scm index 22a9399..756c68f 100644 --- a/home-config/home-configuration.scm +++ b/home-config/home-configuration.scm | |||
@@ -87,10 +87,8 @@ | |||
87 | ("ls" . "ls -p --color=auto") | 87 | ("ls" . "ls -p --color=auto") |
88 | ("python" . "python3"))) | 88 | ("python" . "python3"))) |
89 | (bashrc (list (local-file | 89 | (bashrc (list (local-file |
90 | "/home/ryan/.config/guix/home-config/bashrc" | ||
91 | "bashrc"))) | 90 | "bashrc"))) |
92 | (bash-profile (list (local-file | 91 | (bash-profile (list (local-file |
93 | "/home/ryan/.config/guix/home-config/bash_profile" | ||
94 | "bash_profile"))))) | 92 | "bash_profile"))))) |
95 | (service home-xdg-configuration-files-service-type | 93 | (service home-xdg-configuration-files-service-type |
96 | `(("nvim/init.vim" ,(local-file "nvim/config/init.vim")) | 94 | `(("nvim/init.vim" ,(local-file "nvim/config/init.vim")) |
diff --git a/home-config/profile b/home-config/profile new file mode 100644 index 0000000..6869931 --- /dev/null +++ b/home-config/profile | |||
@@ -0,0 +1,9 @@ | |||
1 | # Quick hack to ensure user d-bus has proper env vars | ||
2 | export XDG_CURRENT_DESKTOP=sway | ||
3 | export XDG_SESSION_DESKTOP=sway | ||
4 | export _JAVA_AWT_WM_NONREPEATING=1 | ||
5 | |||
6 | # Proper stuff | ||
7 | HOME_ENVIRONMENT=$HOME/.guix-home | ||
8 | . $HOME_ENVIRONMENT/setup-environment | ||
9 | $HOME_ENVIRONMENT/on-first-login | ||
diff --git a/home-config/sway/config b/home-config/sway/config index 2cecb72..2507e56 100644 --- a/home-config/sway/config +++ b/home-config/sway/config | |||
@@ -26,6 +26,8 @@ exec sh ~/.profile | |||
26 | # Load up the user session dbus | 26 | # Load up the user session dbus |
27 | #exec dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus | 27 | #exec dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus |
28 | 28 | ||
29 | exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP | ||
30 | |||
29 | # | 31 | # |
30 | # Logo key. Use Mod1 for Alt. | 32 | # Logo key. Use Mod1 for Alt. |
31 | set $mod Mod4 | 33 | set $mod Mod4 |
@@ -275,7 +277,6 @@ bar { | |||
275 | swaybar_command waybar | 277 | swaybar_command waybar |
276 | } | 278 | } |
277 | 279 | ||
278 | exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK | ||
279 | 280 | ||
280 | # Numlock on startup | 281 | # Numlock on startup |
281 | input * xkb_numlock enabled | 282 | input * xkb_numlock enabled |