From 0a7e22d22f04e7ec1434d1b9c0bdb3cc95123fdc Mon Sep 17 00:00:00 2001 From: Joshua Elmasri Date: Mon, 7 Jul 2025 18:18:40 -0500 Subject: [PATCH] actually adding ashell --- hosts/desktop/home.nix | 2 +- hosts/mac-laptop/home.nix | 2 +- modules/ashell/default.nix | 10 +++++++++- modules/hypr/hyprland_desktop.nix | 2 +- modules/hypr/hyprland_laptop.nix | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/hosts/desktop/home.nix b/hosts/desktop/home.nix index 652ee32..223ce3c 100644 --- a/hosts/desktop/home.nix +++ b/hosts/desktop/home.nix @@ -6,7 +6,7 @@ home.username = "joshuaelm"; home.homeDirectory = "/home/joshuaelm"; - imports = [ ../../modules/nvim ../../modules/stylix.nix ../../modules/hypr/hyprland_desktop.nix../../modules/ashell/default.nix ]; + imports = [ ../../modules/nvim ../../modules/stylix.nix ../../modules/hypr/hyprland_desktop.nix ../../modules/ashell/default.nix ]; home.packages = [ diff --git a/hosts/mac-laptop/home.nix b/hosts/mac-laptop/home.nix index e8713a0..aec1b11 100644 --- a/hosts/mac-laptop/home.nix +++ b/hosts/mac-laptop/home.nix @@ -6,7 +6,7 @@ home.username = "joshuaelm"; home.homeDirectory = "/home/joshuaelm"; - imports = [ ../../modules/nvim ../../modules/stylix.nix ../../modules/hypr/hyprland_laptop.nix ]; + imports = [ ../../modules/nvim ../../modules/stylix.nix ../../modules/hypr/hyprland_laptop.nix ../../modules/ashell/default.nix ]; home.packages = [ diff --git a/modules/ashell/default.nix b/modules/ashell/default.nix index 58369de..1ffa02a 100644 --- a/modules/ashell/default.nix +++ b/modules/ashell/default.nix @@ -5,6 +5,7 @@ enable = true; settings = { + app_launcher_cmd = "rofi -show drun"; modules = { left = [ "Workspaces" @@ -15,9 +16,10 @@ right = [ "SystemInfo" [ + "Settings" "Clock" "Privacy" - "Settings" + "Tray" ] ]; }; @@ -25,5 +27,11 @@ visibilityMode = "MonitorSpecific"; }; }; + settings = { + remove_airplane_btn = true; + appearance = { + style = "Islands"; + }; + }; }; } diff --git a/modules/hypr/hyprland_desktop.nix b/modules/hypr/hyprland_desktop.nix index 646fcc5..58b2c02 100644 --- a/modules/hypr/hyprland_desktop.nix +++ b/modules/hypr/hyprland_desktop.nix @@ -15,7 +15,7 @@ exec-once = hyprctl dispatch workspace 1 #exec-once = linux-wallpaperengine --screen-root HDMI-A-1 --silent --fps 60 3000562427 exec-once = hyprlock # exec-once = waybar -exec-once = hyprpanel +exec-once = ashell exec-once = systemctl --user start hyprpolkitagent exec-once = sunshine # See https://wiki.hyprland.org/Configuring/Keywords/ for more diff --git a/modules/hypr/hyprland_laptop.nix b/modules/hypr/hyprland_laptop.nix index 1c3001d..58fa777 100644 --- a/modules/hypr/hyprland_laptop.nix +++ b/modules/hypr/hyprland_laptop.nix @@ -16,7 +16,7 @@ exec-once = hyprctl dispatch workspace 1 #exec-once = linux-wallpaperengine --screen-root HDMI-A-1 --silent --fps 60 3000562427 exec-once = hyprlock # exec-once = waybar -exec-once = hyprpanel +exec-once = ashell exec-once = systemctl --user start hyprpolkitagent # See https://wiki.hyprland.org/Configuring/Keywords/ for more