runners: move fuzzel, remove rest
This commit is contained in:
parent
a33d2cc90e
commit
244710e3a5
10 changed files with 1 additions and 395 deletions
|
@ -4,7 +4,6 @@ _: {
|
|||
./other
|
||||
./services
|
||||
./wms
|
||||
./runners
|
||||
./style
|
||||
./options
|
||||
./system
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
_: {
|
||||
imports = [./fuzzel/module.nix];
|
||||
imports = [./fuzzel];
|
||||
}
|
||||
|
|
|
@ -1,56 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
inputs',
|
||||
...
|
||||
}: let
|
||||
inherit (config.modules.other.system) username;
|
||||
cfg = config.modules.usrEnv.programs.launchers.anyrun;
|
||||
inherit (lib) mkIf;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
imports = [inputs.anyrun.homeManagerModules.default];
|
||||
|
||||
programs.anyrun = {
|
||||
enable = true;
|
||||
config = {
|
||||
plugins = with inputs'.anyrun.packages; [
|
||||
applications
|
||||
dictionary
|
||||
shell
|
||||
websearch
|
||||
];
|
||||
hideIcons = false;
|
||||
ignoreExclusiveZones = false;
|
||||
layer = "overlay";
|
||||
hidePluginInfo = true;
|
||||
closeOnClick = true;
|
||||
showResultsImmediately = true;
|
||||
maxEntries = 10;
|
||||
width.fraction = 0.3;
|
||||
y.absolute = 15;
|
||||
};
|
||||
extraCss = builtins.readFile ./style.css;
|
||||
|
||||
extraConfigFiles = {
|
||||
"applications.ron".text = ''
|
||||
Config(
|
||||
max_entries: 10,
|
||||
terminal: Some("foot"),
|
||||
desktop_actions: false
|
||||
)
|
||||
'';
|
||||
|
||||
"websearch.ron".text = ''
|
||||
Config(
|
||||
prefix: "?",
|
||||
engines: [DuckDuckGo]
|
||||
)
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
_: {imports = [./anyrun.nix];}
|
|
@ -1,69 +0,0 @@
|
|||
* {
|
||||
all: unset;
|
||||
font-size: 1.3rem;
|
||||
font-family: "ComicShannsMono Nerd Font"
|
||||
}
|
||||
|
||||
#window,
|
||||
#match,
|
||||
#entry,
|
||||
#plugin,
|
||||
#main {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#match.activatable {
|
||||
border-radius: 16px;
|
||||
padding: 0.3rem 0.9rem;
|
||||
margin-top: 0.01rem;
|
||||
}
|
||||
#match.activatable:first-child {
|
||||
margin-top: 0.7rem;
|
||||
}
|
||||
#match.activatable:last-child {
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
|
||||
#plugin:hover #match.activatable {
|
||||
border-radius: 10px;
|
||||
padding: 0.3rem;
|
||||
margin-top: 0.01rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#match:selected,
|
||||
#match:hover,
|
||||
#plugin:hover {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
#entry {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 16px;
|
||||
margin: 0.5rem;
|
||||
padding: 0.3rem 1rem;
|
||||
}
|
||||
|
||||
list > #plugin {
|
||||
border-radius: 16px;
|
||||
margin: 0 0.3rem;
|
||||
}
|
||||
list > #plugin:first-child {
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
list > #plugin:last-child {
|
||||
margin-bottom: 0.3rem;
|
||||
}
|
||||
list > #plugin:hover {
|
||||
padding: 0.6rem;
|
||||
}
|
||||
|
||||
box#main {
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
box-shadow:
|
||||
inset 0 0 0 1px rgba(255, 255, 255, 0.1),
|
||||
0 0 0 1px rgba(0, 0, 0, 0.5);
|
||||
border-radius: 24px;
|
||||
padding: 0.3rem;
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
_: {
|
||||
imports = [
|
||||
./rofi
|
||||
./anyrun
|
||||
# ./fuzzel/module.nix
|
||||
];
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (config.modules.other.system) username;
|
||||
cfg = config.modules.usrEnv.programs.launchers.fuzzel;
|
||||
in {
|
||||
config = {
|
||||
home-manager.users.${username}.programs.fuzzel = mkIf cfg.enable {
|
||||
# enable schizo dnklware!
|
||||
enable = true;
|
||||
package = pkgs.fuzzel;
|
||||
settings = {
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (config.modules.other.system) username;
|
||||
cfg = config.modules.usrEnv.programs.launchers.rofi;
|
||||
inherit (lib) mkIf;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
package = pkgs.rofi-wayland;
|
||||
location = "center";
|
||||
extraConfig = {
|
||||
modi = "drun,filebrowser";
|
||||
drun-display-format = " {name} ";
|
||||
sidebar-mode = true;
|
||||
matching = "prefix";
|
||||
scoll-method = 0;
|
||||
disable_history = false;
|
||||
show-icons = true;
|
||||
display-drun = " Run";
|
||||
display-run = " Run";
|
||||
display-filebrowser = " Files";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,208 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf optionals;
|
||||
inherit (config.modules.other.system) username;
|
||||
cfg = config.modules.programs.rofi;
|
||||
|
||||
rofiPackage = with pkgs; rofi-wayland;
|
||||
in {
|
||||
config = mkIf env.programs.launchers.rofi.enable {
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
package = rofiPackage.override {
|
||||
plugins = [
|
||||
pkgs.rofi-rbw
|
||||
];
|
||||
};
|
||||
font = "Iosevka Nerd Font 14";
|
||||
extraConfig = {
|
||||
modi = "drun,filebrowser,calc,emoji";
|
||||
drun-display-format = " {name} ";
|
||||
sidebar-mode = true;
|
||||
matching = "prefix";
|
||||
scroll-method = 0;
|
||||
disable-history = false;
|
||||
show-icons = true;
|
||||
|
||||
display-drun = " Run";
|
||||
display-run = " Run";
|
||||
display-filebrowser = " Files";
|
||||
display-calc = " Calculator";
|
||||
display-emoji = "💀 Emoji";
|
||||
};
|
||||
|
||||
theme = let
|
||||
inherit (osConfig.modules.style.colorScheme) colors;
|
||||
inherit (config.lib.formats.rasi) mkLiteral;
|
||||
in {
|
||||
"*" = {
|
||||
background = mkLiteral "#${colors.base02}";
|
||||
background-alt = mkLiteral "#${colors.base02}";
|
||||
foreground = mkLiteral "#${colors.base05}";
|
||||
selected = mkLiteral "#${colors.base00}";
|
||||
active = mkLiteral "#${colors.base0D}";
|
||||
urgent = mkLiteral "#${colors.base00}";
|
||||
};
|
||||
"window" = {
|
||||
transparency = "real";
|
||||
location = mkLiteral "center";
|
||||
anchor = mkLiteral "center";
|
||||
fullscreen = mkLiteral "false";
|
||||
width = mkLiteral "600px";
|
||||
x-offset = mkLiteral "0px";
|
||||
y-offset = mkLiteral "0px";
|
||||
enabled = mkLiteral "true";
|
||||
border-radius = mkLiteral "20px";
|
||||
border = mkLiteral "4px";
|
||||
border-color = mkLiteral "#${colors.base02}";
|
||||
cursor = "default";
|
||||
background-color = mkLiteral "@background";
|
||||
};
|
||||
"mainbox" = {
|
||||
enabled = true;
|
||||
spacing = mkLiteral "0px";
|
||||
background-color = mkLiteral "transparent";
|
||||
orientation = mkLiteral "vertical";
|
||||
children = mkLiteral "[inputbar,listbox]";
|
||||
};
|
||||
"listbox" = {
|
||||
spacing = mkLiteral "10px";
|
||||
padding = mkLiteral "10px 10px 10px 15px";
|
||||
background-color = mkLiteral "transparent";
|
||||
orientation = mkLiteral "vertical";
|
||||
children = mkLiteral "[message,listview]";
|
||||
};
|
||||
"inputbar" = {
|
||||
enabled = true;
|
||||
spacing = mkLiteral "10px";
|
||||
padding = mkLiteral "30px 20px 30px 20px";
|
||||
background-color = mkLiteral "@selected";
|
||||
text-color = mkLiteral "@foreground";
|
||||
orientation = mkLiteral "horizontal";
|
||||
children = mkLiteral "[prompt,entry]";
|
||||
};
|
||||
"entry" = {
|
||||
enabled = true;
|
||||
expand = true;
|
||||
width = mkLiteral "300px";
|
||||
padding = mkLiteral "12px 15px";
|
||||
border-radius = mkLiteral "15px";
|
||||
background-color = mkLiteral "@background-alt";
|
||||
text-color = mkLiteral "inherit";
|
||||
cursor = mkLiteral "text";
|
||||
placeholder = "Search";
|
||||
placeholder-color = mkLiteral "inherit";
|
||||
};
|
||||
"prompt" = {
|
||||
width = mkLiteral "64px";
|
||||
font = "Iosevka Nerd Font 13";
|
||||
padding = mkLiteral "10px 20px 10px 20px";
|
||||
border-radius = mkLiteral "15px";
|
||||
background-color = mkLiteral "@background-alt";
|
||||
text-color = mkLiteral "inherit";
|
||||
cursor = mkLiteral "pointer";
|
||||
};
|
||||
"mode-switcher" = {
|
||||
enabled = true;
|
||||
spacing = mkLiteral "10px";
|
||||
background-color = mkLiteral "transparent";
|
||||
text-color = mkLiteral "@foreground";
|
||||
};
|
||||
"button" = {
|
||||
width = mkLiteral "48px";
|
||||
font = "Iosevka Nerd Font 14";
|
||||
padding = mkLiteral "8px 5px 8px 8px";
|
||||
border-radius = mkLiteral "15px";
|
||||
background-color = mkLiteral "@background-alt";
|
||||
text-color = mkLiteral "inherit";
|
||||
cursor = mkLiteral "pointer";
|
||||
};
|
||||
"button selected" = {
|
||||
background-color = mkLiteral "@selected";
|
||||
text-color = mkLiteral "@foreground";
|
||||
};
|
||||
"listview" = {
|
||||
enabled = true;
|
||||
columns = 2;
|
||||
lines = 7;
|
||||
cycle = true;
|
||||
dynamic = true;
|
||||
srollbar = false;
|
||||
layout = mkLiteral "vertical";
|
||||
reverse = false;
|
||||
fixed-height = true;
|
||||
fixed-columns = false;
|
||||
spacing = mkLiteral "5px";
|
||||
background-color = mkLiteral "transparent";
|
||||
text-color = mkLiteral "@foreground";
|
||||
cursor = mkLiteral "default";
|
||||
};
|
||||
"element" = {
|
||||
enabled = true;
|
||||
spacing = mkLiteral "15px";
|
||||
padding = mkLiteral "7px";
|
||||
border-radius = mkLiteral "100%";
|
||||
background-color = mkLiteral "transparent";
|
||||
text-color = mkLiteral "@foreground";
|
||||
cursor = mkLiteral "pointer";
|
||||
};
|
||||
"element normal.normal" = {
|
||||
background-color = mkLiteral "inherit";
|
||||
text-color = mkLiteral "inherit";
|
||||
};
|
||||
"element normal.urgent" = {
|
||||
background-color = mkLiteral "@urgent";
|
||||
text-color = mkLiteral "@foreground";
|
||||
};
|
||||
"element normal.active" = {
|
||||
background-color = mkLiteral "@background";
|
||||
text-color = mkLiteral "@active";
|
||||
};
|
||||
"element selected.normal" = {
|
||||
background-color = mkLiteral "@selected";
|
||||
text-color = mkLiteral "@foreground";
|
||||
};
|
||||
"element selected.urgent" = {
|
||||
background-color = mkLiteral "@urgent";
|
||||
text-color = mkLiteral "@foreground";
|
||||
};
|
||||
"element selected.active" = {
|
||||
background-color = mkLiteral "@urgent";
|
||||
text-color = mkLiteral "@active";
|
||||
};
|
||||
"element-icon" = {
|
||||
background-color = mkLiteral "transparent";
|
||||
text-color = mkLiteral "inherit";
|
||||
size = mkLiteral "32px";
|
||||
cursor = mkLiteral "inherit";
|
||||
};
|
||||
"element-text" = {
|
||||
background-color = mkLiteral "transparent";
|
||||
text-color = mkLiteral "inherit";
|
||||
cursor = mkLiteral "inherit";
|
||||
vertical-align = mkLiteral "0.5";
|
||||
horizontal-align = mkLiteral "0.0";
|
||||
};
|
||||
"message" = {background-color = mkLiteral "transparent";};
|
||||
"textbox" = {
|
||||
padding = mkLiteral "12px";
|
||||
border-radius = mkLiteral "100%";
|
||||
background-color = mkLiteral "@background-alt";
|
||||
text-color = mkLiteral "@foreground";
|
||||
vertical-align = mkLiteral "0.5";
|
||||
horizontal-align = mkLiteral "0.0";
|
||||
};
|
||||
"error-message" = {
|
||||
padding = mkLiteral "12px";
|
||||
border-radius = mkLiteral "20px";
|
||||
background-color = mkLiteral "@background";
|
||||
text-color = mkLiteral "@foreground";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue