-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
185 additions
and
108 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -15,4 +15,7 @@ | |
base0B = "3e8fb0"; | ||
base08 = "eb6f92"; | ||
base0F = "56526e"; | ||
|
||
accent = "ea9a97"; | ||
wallpaper = ./wall.jpg; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,19 @@ | ||
Config( | ||
// x: Fraction(0.5), | ||
y: Fraction(0.2), | ||
hide_icons: true, | ||
ignore_exclusive_zones: false, | ||
layer: Overlay, | ||
hide_plugin_info: true, | ||
close_on_click: true, | ||
show_results_immediately: true, | ||
max_entries: None, | ||
|
||
plugins: [ | ||
"libapplications.so", | ||
"libsymbols.so", | ||
"libshell.so", | ||
"libstdin.so", | ||
"librink.so" | ||
], | ||
) |
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,23 @@ | ||
{ | ||
pkgs, | ||
theme, | ||
... | ||
}: let | ||
anyrun-configs = pkgs.symlinkJoin { | ||
name = "anyrun-configs"; | ||
paths = [ | ||
(pkgs.writeTextDir "/etc/anyrun/style.css" (import ./style.nix theme)) | ||
(pkgs.writeTextDir "/etc/anyrun/config.ron" (builtins.readFile ./config.ron)) | ||
]; | ||
}; | ||
in | ||
pkgs.symlinkJoin { | ||
name = "anyrun-wrapped"; | ||
paths = [ | ||
pkgs.anyrun | ||
]; | ||
buildInputs = [pkgs.makeWrapper]; | ||
postBuild = '' | ||
wrapProgram $out/bin/anyrun --add-flags "--config-dir=${anyrun-configs}/etc/anyrun" | ||
''; | ||
} |
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,79 @@ | ||
theme: let | ||
inherit (theme) accent; | ||
in '' | ||
window { | ||
background: transparent; /* rgba(0, 0, 0, 0.8);*/ | ||
} | ||
#match, | ||
#entry, | ||
#plugin, | ||
#main { | ||
background: transparent; | ||
} | ||
#match.activatable { | ||
padding: 12px 14px; | ||
border-radius: 12px; | ||
color: white; | ||
margin-top: 4px; | ||
border: 2px solid transparent; | ||
transition: all 0.3s ease; | ||
} | ||
#match.activatable:not(:first-child) { | ||
border-top-left-radius: 0; | ||
border-top-right-radius: 0; | ||
border-top: 2px solid rgba(255, 255, 255, 0.1); | ||
} | ||
#match.activatable #match-title { | ||
font-size: 1.2rem; | ||
} | ||
#match.activatable:hover { | ||
border: 2px solid rgba(255, 255, 255, 0.4); | ||
} | ||
#match-title, #match-desc { | ||
color: inherit; | ||
} | ||
#match.activatable:hover, #match.activatable:selected { | ||
border-top-left-radius: 12px; | ||
border-top-right-radius: 12px; | ||
} | ||
#match.activatable:selected + #match.activatable, #match.activatable:hover + #match.activatable { | ||
border-top: 2px solid transparent; | ||
} | ||
#match.activatable:selected, #match.activatable:hover:selected { | ||
background: rgba(255,255,255,0.1); | ||
border: 2px solid #${accent}; | ||
border-top: 2px solid #${accent}; | ||
} | ||
#match, #plugin { | ||
box-shadow: none; | ||
} | ||
#entry { | ||
color: white; | ||
box-shadow: none; | ||
border-radius: 12px; | ||
border: 2px solid #${accent}; | ||
} | ||
box#main { | ||
background: rgba(36, 39, 58, 0.7); | ||
border-radius: 16px; | ||
padding: 8px; | ||
box-shadow: 0px 2px 33px -5px rgba(0, 0, 0, 0.5); | ||
} | ||
row:first-child { | ||
margin-top: 6px; | ||
} | ||
'' |
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
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
Oops, something went wrong.