Switch back to niri on laptop and enable waybar only for laptop
This commit is contained in:
parent
86b5021ca5
commit
55f5f612c4
|
|
@ -30,8 +30,8 @@
|
||||||
# cspark-desktop-plasma.enable = true;
|
# cspark-desktop-plasma.enable = true;
|
||||||
# cspark-desktop-gnome.enable = true;
|
# cspark-desktop-gnome.enable = true;
|
||||||
# cspark-desktop-sway.enable = true;
|
# cspark-desktop-sway.enable = true;
|
||||||
# cspark-desktop-niri.enable = true;
|
cspark-desktop-niri.enable = true;
|
||||||
cspark-desktop-exwm.enable = true;
|
# cspark-desktop-exwm.enable = true;
|
||||||
|
|
||||||
# Home Manager Configuration
|
# Home Manager Configuration
|
||||||
home-manager = {
|
home-manager = {
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,8 @@
|
||||||
# cspark-desktop-plasma-config-1.enable = true;
|
# cspark-desktop-plasma-config-1.enable = true;
|
||||||
# cspark-desktop-gnome-config-1.enable = true;
|
# cspark-desktop-gnome-config-1.enable = true;
|
||||||
# cspark-desktop-sway-config-1.enable = true;
|
# cspark-desktop-sway-config-1.enable = true;
|
||||||
# cspark-desktop-niri-config-1.enable = true;
|
cspark-desktop-niri-config-1.enable = true;
|
||||||
cspark-desktop-exwm-config-1.enable = true;
|
# cspark-desktop-exwm-config-1.enable = true;
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
# plain files is through 'home.file'.
|
# plain files is through 'home.file'.
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ in
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
(writeShellScriptBin "niri-autostart"
|
(writeShellScriptBin "niri-autostart"
|
||||||
''
|
''
|
||||||
# waybar &
|
[[ $(hostname) == *"laptop"* ]] && waybar &
|
||||||
mako &
|
mako &
|
||||||
swaybg -i $(find ${config.home.homeDirectory}/Pictures/Wallpapers/ggg/. -type f | shuf -n1) -m stretch &
|
swaybg -i $(find ${config.home.homeDirectory}/Pictures/Wallpapers/ggg/. -type f | shuf -n1) -m stretch &
|
||||||
wlsunset -l 51.5 -L 0.1 &
|
wlsunset -l 51.5 -L 0.1 &
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue