aboutsummaryrefslogtreecommitdiff
path: root/users/fcuny/desktop/wm/launcher.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/fcuny/desktop/wm/launcher.nix')
-rw-r--r--users/fcuny/desktop/wm/launcher.nix77
1 files changed, 77 insertions, 0 deletions
diff --git a/users/fcuny/desktop/wm/launcher.nix b/users/fcuny/desktop/wm/launcher.nix
new file mode 100644
index 0000000..bc69e0d
--- /dev/null
+++ b/users/fcuny/desktop/wm/launcher.nix
@@ -0,0 +1,77 @@
+{ pkgs, config, ... }:
+
+{
+ home.packages = with pkgs; [
+ wofi
+ ];
+
+ xdg.configFile."wofi/config".text = ''
+ xoffset=710
+ yoffset=275
+ show=drun
+ width=500
+ height=500
+ always_parse_args=true
+ show_all=true
+ print_command=true
+ layer=overlay
+ insensitive=true
+ prompt=
+ term=${config.wayland.windowManager.sway.config.terminal}
+ '';
+
+ xdg.configFile."wofi/style.css".text = ''
+ window {
+ margin: 0px;
+ border: 2px solid #414868;
+ border-radius: 5px;
+ background-color: #24283b;
+ font-family: monospace;
+ font-size: 12px;
+ }
+
+ #input {
+ margin: 5px;
+ border: 1px solid #24283b;
+ color: #c0caf5;
+ background-color: #24283b;
+ }
+
+ #input image {
+ color: #c0caf5;
+ }
+
+ #inner-box {
+ margin: 5px;
+ border: none;
+ background-color: #24283b;
+ }
+
+ #outer-box {
+ margin: 5px;
+ border: none;
+ background-color: #24283b;
+ }
+
+ #scroll {
+ margin: 0px;
+ border: none;
+ }
+
+ #text {
+ margin: 5px;
+ border: none;
+ color: #c0caf5;
+ }
+
+ #entry:selected {
+ background-color: #414868;
+ font-weight: normal;
+ }
+
+ #text:selected {
+ background-color: #414868;
+ font-weight: normal;
+ }
+ '';
+}