From 52d974e0a379a95b43135494c86cba05017f4679 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 27 Dec 2020 21:05:27 -0500 Subject: [PATCH] Add sway-launcher-desktop --- .config/nixpkgs/home.nix | 2 +- .config/rofi/config | 6 ------ scripts/application_launcher.sh | 18 ++++++++++++++++++ 3 files changed, 19 insertions(+), 7 deletions(-) delete mode 100644 .config/rofi/config create mode 100755 scripts/application_launcher.sh diff --git a/.config/nixpkgs/home.nix b/.config/nixpkgs/home.nix index b9abbf7..14a00b7 100644 --- a/.config/nixpkgs/home.nix +++ b/.config/nixpkgs/home.nix @@ -15,9 +15,9 @@ clipmenu colordiff curl + deluge direnv docker-compose - dunst exa fd fzf diff --git a/.config/rofi/config b/.config/rofi/config deleted file mode 100644 index 05c4d99..0000000 --- a/.config/rofi/config +++ /dev/null @@ -1,6 +0,0 @@ -rofi.font: Fira Code 14 -rofi.hide-scrollbar: true -rofi.levenshtein-sort: true -rofi.matching: fuzzy -rofi.sort: true -rofi.theme: /usr/share/rofi/themes/glue_pro_blue.rasi diff --git a/scripts/application_launcher.sh b/scripts/application_launcher.sh new file mode 100755 index 0000000..2545375 --- /dev/null +++ b/scripts/application_launcher.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +# Dependencies: +# - alacritty +# - fzf +# - https://github.com/Biont/sway-launcher-desktop + +# Ensure that nix applications are discovered +PATH=$PATH:$HOME/.nix-profile/bin + +alacritty \ + --dimensions 80 20 \ + -e env \ + GLYPH_COMMAND="" \ + GLYPH_DESKTOP="" \ + GLYPH_PROMPT="? " \ + TERMINAL_COMMAND=alacritty \ + /usr/bin/sway-launcher-desktop