rofi: fix mismatched close/cancel action
This commit is contained in:
@@ -56,7 +56,7 @@ let
|
|||||||
noDisplay = true;
|
noDisplay = true;
|
||||||
})
|
})
|
||||||
(pkgs.makeDesktopItem {
|
(pkgs.makeDesktopItem {
|
||||||
name = "cancel";
|
name = "rofi-cancel";
|
||||||
exec = "true";
|
exec = "true";
|
||||||
desktopName = "Cancel";
|
desktopName = "Cancel";
|
||||||
mimeTypes = [ "application/x-desktop" ];
|
mimeTypes = [ "application/x-desktop" ];
|
||||||
@@ -98,7 +98,6 @@ in
|
|||||||
sandbox.whitelistWayland = true;
|
sandbox.whitelistWayland = true;
|
||||||
sandbox.extraHomePaths = [
|
sandbox.extraHomePaths = [
|
||||||
".local/share/applications" #< to locate .desktop files
|
".local/share/applications" #< to locate .desktop files
|
||||||
"Apps" #< provide a means to transition from the filebrowser to the app launcher
|
|
||||||
"Books/Audiobooks"
|
"Books/Audiobooks"
|
||||||
"Books/Books"
|
"Books/Books"
|
||||||
"Books/Visual"
|
"Books/Visual"
|
||||||
@@ -124,9 +123,9 @@ in
|
|||||||
sandbox.keepPidsAndProc = true; # for sane-open to toggle keyboard
|
sandbox.keepPidsAndProc = true; # for sane-open to toggle keyboard
|
||||||
|
|
||||||
fs.".config/rofi/config.rasi".symlink.target = ./config.rasi;
|
fs.".config/rofi/config.rasi".symlink.target = ./config.rasi;
|
||||||
fs."Apps".symlink.target = ".local/share/applications/rofi-applications.desktop";
|
fs."Apps".symlink.target = ".local/share/applications/rofi-applications.desktop"; #< provide a means to transition from the filebrowser to the app launcher
|
||||||
|
fs."Cancel".symlink.target = ".local/share/applications/rofi-cancel.desktop"; #< provide an escape from the file browser
|
||||||
fs."WiFi".symlink.target = ".local/share/applications/networkmanager_dmenu.desktop";
|
fs."WiFi".symlink.target = ".local/share/applications/networkmanager_dmenu.desktop";
|
||||||
fs."close".symlink.target = ".local/share/applications/close.desktop"; #< provide an escape from the file browser
|
|
||||||
persist.byStore.ephemeral = [
|
persist.byStore.ephemeral = [
|
||||||
# this gets us a few things:
|
# this gets us a few things:
|
||||||
# - file browser remembers its last directory
|
# - file browser remembers its last directory
|
||||||
|
Reference in New Issue
Block a user