From d0b3c9e9dabb9e938fd2fea377db5068057f2228 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 8 Dec 2019 03:58:00 -0500 Subject: [PATCH] Add xdesktop files for firefox (private) & xst So they show up in rofi drun --- modules/browser/firefox.nix | 8 ++++++++ modules/desktop/bspwm.nix | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/modules/browser/firefox.nix b/modules/browser/firefox.nix index 75b1a4f6..717dd17b 100644 --- a/modules/browser/firefox.nix +++ b/modules/browser/firefox.nix @@ -13,6 +13,14 @@ #! ${pkgs.bash}/bin/bash firefox --private-window "$@" '') + (makeDesktopItem { + name = "firefox-private"; + desktopName = "Firefox (Private)"; + genericName = "Open a private Firefox window"; + icon = "firefox"; + exec = "${firefox-bin}/bin/firefox --private-window"; + categories = "Network"; + }) ]; }; } diff --git a/modules/desktop/bspwm.nix b/modules/desktop/bspwm.nix index 0e6c1b5f..21af690b 100644 --- a/modules/desktop/bspwm.nix +++ b/modules/desktop/bspwm.nix @@ -36,6 +36,14 @@ -e $SHELL fi '') + (makeDesktopItem { + name = "xst"; + desktopName = "Suckless Terminal"; + genericName = "Default terminal"; + icon = "xterm"; + exec = "${xst}/bin/xst"; + categories = "Development;System;Utility"; + }) ]; };