From 395c47e31ff16f7424d5510ac43542339b9050c2 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 9 Jun 2023 14:38:57 +0100 Subject: [PATCH] Update J0162 home config --- J0162.nix | 2 +- home/J0162/elitherl.nix | 16 ++++++++++++---- home/J0162/hypr/hyprland.conf | 6 ++++++ 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/J0162.nix b/J0162.nix index b3801564..c320b8e1 100644 --- a/J0162.nix +++ b/J0162.nix @@ -1,6 +1,5 @@ {pkgs, ...}: { imports = [ - ./home ./common.nix ./hardware/audio.nix ./hardware/bluetooth.nix @@ -9,6 +8,7 @@ ]; networking.hostName = "J0162"; # Define your hostname. + services.xserver.displayManager.defaultSession = "hyprland"; users.users.elitherl = { isNormalUser = true; diff --git a/home/J0162/elitherl.nix b/home/J0162/elitherl.nix index bdcb3f23..15583264 100644 --- a/home/J0162/elitherl.nix +++ b/home/J0162/elitherl.nix @@ -1,10 +1,19 @@ -{...}: { +{pkgs, ...}: { imports = [../work.nix ../desktop/hyprland.nix]; home.username = "elitherl"; home.homeDirectory = "/home/elitherl"; home.stateVersion = "22.11"; + home.packages = with pkgs; [zotero]; + + programs.fish.functions.nvsync = '' + rsync -avz --filter=':- .gitignore' --exclude='.git*'\ + --delete-during --delete-excluded\ + $HOME/.config/nvim/ heimdall003.jet.uk:.config/nvim + rsync -avz --filter=':- .gitignore' --exclude='.git*'\ + --delete-during --delete-excluded\ + $HOME/.config/nvim/ freia:.config/nvim + ''; - programs.fish.shellAbbrs.hypr = "exec Hyprland"; xdg.configFile."hypr/hyprpaper.conf".source = ./hypr/hyprpaper.conf; wayland.windowManager.hyprland.extraConfig = builtins.readFile ./hypr/hyprland.conf; programs.waybar = { @@ -22,12 +31,11 @@ "temperature" "pulseaudio" "network" - "bluetooth" "backlight" "battery" - "battery#bat2" "tray" ]; + "wlr/workspaces" = {"format-icons" = {"5" = "󰒍";};}; }; }; }; diff --git a/home/J0162/hypr/hyprland.conf b/home/J0162/hypr/hyprland.conf index cc5a3d6e..34d4b905 100644 --- a/home/J0162/hypr/hyprland.conf +++ b/home/J0162/hypr/hyprland.conf @@ -1 +1,7 @@ source=./common.conf + +windowrule = float, title:^([Zz]oom).*$ +windowrule = float, ^(Nxplayer.bin)$ +windowrule = center, title:^([Zz]oom).*$ +windowrule = workspace 4, title:^([Zz]oom).*$ +windowrule = workspace 5 silent, ^(Nxplayer.bin)$