diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-10-16 08:28:41 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-10-16 08:28:41 +0200 |
commit | fcc118a3d98748f02a7ccbac615ed0d16db719ae (patch) | |
tree | dccd7cd66e86d6157dd6e375f55c2e67d6d80dec /platforms/linux/xorg/default.nix | |
parent | cbbbb9c17df779276741311462acccc87375d91b (diff) | |
download | dots-fcc118a3d98748f02a7ccbac615ed0d16db719ae.tar.gz dots-fcc118a3d98748f02a7ccbac615ed0d16db719ae.zip |
Add dunst
Diffstat (limited to 'platforms/linux/xorg/default.nix')
-rw-r--r-- | platforms/linux/xorg/default.nix | 65 |
1 files changed, 36 insertions, 29 deletions
diff --git a/platforms/linux/xorg/default.nix b/platforms/linux/xorg/default.nix index ad3fc1f..06ccbac 100644 --- a/platforms/linux/xorg/default.nix +++ b/platforms/linux/xorg/default.nix @@ -3,6 +3,7 @@ let pndwmblocks = pkgs.nur.repos.pn.dwmblocks.override { patches = [ ./dwmblocks.diff + ./dwmblocks-todo.diff ]; }; pndwm = pkgs.nur.repos.pn.dwm.override { @@ -13,42 +14,48 @@ let ./dwm-autostart.diff # ./dwm-rounded.diff - Resize dont work ]; + header_config_file = ./config.h; }; in -{ - home.packages = with pkgs; [ - mpd - xcompmgr - picom - dunst - nur.repos.pn.dockd - pndwmblocks - pndwm - ]; + { + imports = [ + ./dunst + }; - xsession = { - enable = true; - windowManager.command = "dbus-run-session -- dwm"; - profileExtra = '' + home.packages = with pkgs; [ + mpd + xcompmgr + dunst + nur.repos.pn.dockd + pndwmblocks + pndwm + roboto-slab + ]; + + xsession = { + enable = true; + windowManager.command = "dbus-run-session -- dwm"; + profileExtra = '' # Fix Gnome Apps Slow Start due to failing services # Add this when you include flatpak in your system - dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY + dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY - mpd & # music player daemon-you might prefer it as a service though - remaps & # run the remaps script, switching caps/esc and more; check it for more info - setbg & # set the background with the `setbg` script + mpd & # music player daemon-you might prefer it as a service though + remaps & # run the remaps script, switching caps/esc and more; check it for more info + setbg & # set the background with the `setbg` script #xrdb $\{XDG_CONFIG_HOME:-$HOME/.config}/Xresources & # Uncomment to use Xresources colors/settings on startup - picom & - dunst & # dunst for notifications - xset r rate 300 50 & # Speed xrate up + xcompmgr & + # picom & + dunst & # dunst for notifications + xset r rate 300 50 & # Speed xrate up # unclutter & # Remove mouse when idle #sxhkd & - dockd --daemon & - for app in `ls ~/.config/autostart/*.desktop`; do + dockd --daemon & + for app in `ls ~/.config/autostart/*.desktop`; do $(grep '^Exec' $app | sed 's/^Exec=//') & - done - sleep .5 && screen-orient & - ''; - scriptPath = ".xinitrc"; - }; -} + done + sleep .5 && screen-orient & + ''; + scriptPath = ".xinitrc"; + }; + } |