Working on tasklauncher

This commit is contained in:
2026-03-08 09:18:58 +01:00
parent bc0e848888
commit 9d9d842da3
3 changed files with 361 additions and 359 deletions
+338 -337
View File
File diff suppressed because it is too large Load Diff
+12 -11
View File
@@ -842,16 +842,17 @@ This is top file of this level which contains just an import statement for all r
** =generated/hyprland/task_launcher/wofi.nix=
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
#+BEGIN_SRC nix :tangle generated/hyprland/task_launcher/wofi.nix :noweb tangle :mkdirp yes :eval never-html
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
{ config, pkgs, lib, user, flakeRoot, ... }:
{
programs.wofi = {
enable = true;
wrapGtkApps = true; # Required for GTK theming
extraPackages = with pkgs; [ wofi ];
};
# NixOS: Install Wofi system-wide (optional)
environment.systemPackages = with pkgs; [ wofi ];
# Catppuccin theme for Wofi
# Home Manager: User-specific Wofi config
home-manager.users.${user.username} = {
# Install Wofi for the user
home.packages = with pkgs; [ wofi ];
# Wofi configuration
xdg.configFile."wofi/config".text = ''
dark
width=500
@@ -864,16 +865,16 @@ This is top file of this level which contains just an import statement for all r
show_drun=true
'';
# Catppuccin Mocha theme for Wofi
xdg.configFile."wofi/style.css".source = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "wofi";
rev = "main";
sha256 = "sha256-0000000000000000000000000000000000000000000000000000"; # Update with the correct hash
file = "mocha.css"; # or latte/frappe/macchiato
rev = "a0c34a8e9d3a1f71b1b2a8e3b5b8e3e8b1b3b8e3"; # Replace with the correct SHA256 hash
file = "style-mocha.css"; # or latte/frappe/macchiato
};
};
# .. put any code here
}
#+END_SRC
@@ -1,13 +1,14 @@
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
{ config, pkgs, lib, user, flakeRoot, ... }:
{
programs.wofi = {
enable = true;
wrapGtkApps = true; # Required for GTK theming
extraPackages = with pkgs; [ wofi ];
};
# NixOS: Install Wofi system-wide (optional)
environment.systemPackages = with pkgs; [ wofi ];
# Catppuccin theme for Wofi
# Home Manager: User-specific Wofi config
home-manager.users.${user.username} = {
# Install Wofi for the user
home.packages = with pkgs; [ wofi ];
# Wofi configuration
xdg.configFile."wofi/config".text = ''
dark
width=500
@@ -20,13 +21,12 @@
show_drun=true
'';
# Catppuccin Mocha theme for Wofi
xdg.configFile."wofi/style.css".source = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "wofi";
rev = "main";
sha256 = "sha256-0000000000000000000000000000000000000000000000000000"; # Update with the correct hash
file = "mocha.css"; # or latte/frappe/macchiato
rev = "a0c34a8e9d3a1f71b1b2a8e3b5b8e3e8b1b3b8e3"; # Replace with the correct SHA256 hash
file = "style-mocha.css"; # or latte/frappe/macchiato
};
};
# .. put any code here
}