Working on tasklauncher
This commit is contained in:
+338
-337
File diff suppressed because it is too large
Load Diff
+12
-11
@@ -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=
|
** =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
|
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
|
#+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 = {
|
# NixOS: Install Wofi system-wide (optional)
|
||||||
enable = true;
|
environment.systemPackages = with pkgs; [ wofi ];
|
||||||
wrapGtkApps = true; # Required for GTK theming
|
|
||||||
extraPackages = with pkgs; [ wofi ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Catppuccin theme for Wofi
|
# Home Manager: User-specific Wofi config
|
||||||
home-manager.users.${user.username} = {
|
home-manager.users.${user.username} = {
|
||||||
|
# Install Wofi for the user
|
||||||
|
home.packages = with pkgs; [ wofi ];
|
||||||
|
|
||||||
|
# Wofi configuration
|
||||||
xdg.configFile."wofi/config".text = ''
|
xdg.configFile."wofi/config".text = ''
|
||||||
dark
|
dark
|
||||||
width=500
|
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
|
show_drun=true
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Catppuccin Mocha theme for Wofi
|
||||||
xdg.configFile."wofi/style.css".source = pkgs.fetchFromGitHub {
|
xdg.configFile."wofi/style.css".source = pkgs.fetchFromGitHub {
|
||||||
owner = "catppuccin";
|
owner = "catppuccin";
|
||||||
repo = "wofi";
|
repo = "wofi";
|
||||||
rev = "main";
|
rev = "a0c34a8e9d3a1f71b1b2a8e3b5b8e3e8b1b3b8e3"; # Replace with the correct SHA256 hash
|
||||||
sha256 = "sha256-0000000000000000000000000000000000000000000000000000"; # Update with the correct hash
|
file = "style-mocha.css"; # or latte/frappe/macchiato
|
||||||
file = "mocha.css"; # or latte/frappe/macchiato
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# .. put any code here
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
{ config, pkgs, lib, user, flakeRoot, ... }:
|
||||||
{
|
{
|
||||||
programs.wofi = {
|
# NixOS: Install Wofi system-wide (optional)
|
||||||
enable = true;
|
environment.systemPackages = with pkgs; [ wofi ];
|
||||||
wrapGtkApps = true; # Required for GTK theming
|
|
||||||
extraPackages = with pkgs; [ wofi ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Catppuccin theme for Wofi
|
# Home Manager: User-specific Wofi config
|
||||||
home-manager.users.${user.username} = {
|
home-manager.users.${user.username} = {
|
||||||
|
# Install Wofi for the user
|
||||||
|
home.packages = with pkgs; [ wofi ];
|
||||||
|
|
||||||
|
# Wofi configuration
|
||||||
xdg.configFile."wofi/config".text = ''
|
xdg.configFile."wofi/config".text = ''
|
||||||
dark
|
dark
|
||||||
width=500
|
width=500
|
||||||
@@ -20,13 +21,12 @@
|
|||||||
show_drun=true
|
show_drun=true
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Catppuccin Mocha theme for Wofi
|
||||||
xdg.configFile."wofi/style.css".source = pkgs.fetchFromGitHub {
|
xdg.configFile."wofi/style.css".source = pkgs.fetchFromGitHub {
|
||||||
owner = "catppuccin";
|
owner = "catppuccin";
|
||||||
repo = "wofi";
|
repo = "wofi";
|
||||||
rev = "main";
|
rev = "a0c34a8e9d3a1f71b1b2a8e3b5b8e3e8b1b3b8e3"; # Replace with the correct SHA256 hash
|
||||||
sha256 = "sha256-0000000000000000000000000000000000000000000000000000"; # Update with the correct hash
|
file = "style-mocha.css"; # or latte/frappe/macchiato
|
||||||
file = "mocha.css"; # or latte/frappe/macchiato
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# .. put any code here
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user