-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replaced rofi with anyrun in hyprland TODO: make colors dynamic
- Loading branch information
1 parent
229cee4
commit 77fcc72
Showing
6 changed files
with
183 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
pkgs, | ||
lib, | ||
config, | ||
namespace, | ||
inputs, | ||
... | ||
}: | ||
let | ||
inherit (lib) mkEnableOption mkIf; | ||
|
||
cfg = config.${namespace}.utility.anyrun; | ||
in | ||
{ | ||
options.${namespace}.utility.anyrun = { | ||
enable = mkEnableOption "anyrun."; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
programs.anyrun = { | ||
enable = true; | ||
config = { | ||
plugins = with inputs.anyrun.packages.${pkgs.system}; [ | ||
applications | ||
# kidex | ||
rink | ||
symbols | ||
shell | ||
# dictionary | ||
# randr | ||
]; | ||
width.fraction = 0.2; | ||
# x.fraction = 0.1; | ||
y.fraction = 0.2; | ||
hidePluginInfo = true; | ||
closeOnClick = true; | ||
}; | ||
extraCss = builtins.readFile ./theme.css; # TODO: don't use static colors | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
* { | ||
all: unset; | ||
font-size: 1.2rem; | ||
} | ||
|
||
#window, | ||
#match, | ||
#entry, | ||
#plugins, | ||
#main { | ||
background: transparent; | ||
} | ||
|
||
#match.activatable { | ||
border-radius: 8px; | ||
margin: 4px 0; | ||
padding: 4px; | ||
transition: 50ms ease-out; | ||
} | ||
#match.activatable:first-child { | ||
margin-top: 12px; | ||
} | ||
#match.activatable:last-child { | ||
margin-bottom: 0; | ||
} | ||
|
||
#match:hover { | ||
background: rgba(255, 255, 255, 0.05); | ||
} | ||
#match:selected:nth-child(3n+1) { | ||
background: rgba(255, 255, 255, 0.1); | ||
border-radius: 8px; | ||
border: 3px solid #F6C177; | ||
} | ||
#match:selected:nth-child(3n+2) { | ||
background: rgba(255, 255, 255, 0.1); | ||
border-radius: 8px; | ||
border: 3px solid #9CCFD8; | ||
} | ||
#match:selected:nth-child(3n) { | ||
background: rgba(255, 255, 255, 0.1); | ||
border-radius: 8px; | ||
border: 3px solid #C4A7E7; | ||
} | ||
|
||
#entry { | ||
background: rgba(255, 255, 255, 0.05); | ||
border: 1px solid rgba(255, 255, 255, 0.1); | ||
border-radius: 8px; | ||
padding: 4px 8px; | ||
} | ||
|
||
box#main { | ||
background: #191724; | ||
box-shadow: | ||
inset 0 0 0 1px rgba(255, 255, 255, 0.1), | ||
0 5px 5px 5px rgba(0, 0, 0, 0.5); | ||
border: 3px solid #EB6F92; | ||
border-radius: 20px; | ||
padding: 12px; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters