diff --git a/common/firefox.nix b/common/firefox.nix index c461916e..54bf07d7 100644 --- a/common/firefox.nix +++ b/common/firefox.nix @@ -6,16 +6,16 @@ programs.firefox = { enable = device.hasGui; profiles.default = { - userChrome = - /* - css - */ - '' - @import url(${pkgs.csshacks}/chrome/toolbars_below_content.css); - @import url(${pkgs.csshacks}/chrome/scrollable_menupopups.css); - @import url(${pkgs.csshacks}/chrome/linux_gtk_window_control_patch.css); - @import url(${pkgs.csshacks}/chrome/window_control_placeholder_support.css); - ''; + # userChrome = + # /* + # css + # */ + # '' + # @import url(${pkgs.csshacks}/chrome/toolbars_below_content.css); + # @import url(${pkgs.csshacks}/chrome/scrollable_menupopups.css); + # @import url(${pkgs.csshacks}/chrome/linux_gtk_window_control_patch.css); + # @import url(${pkgs.csshacks}/chrome/window_control_placeholder_support.css); + # ''; extensions = with pkgs.nur.repos.rycee.firefox-addons; [ privacy-badger tridactyl diff --git a/flake.lock b/flake.lock index c9842127..e8715523 100644 --- a/flake.lock +++ b/flake.lock @@ -57,11 +57,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1732002461, - "narHash": "sha256-Pw9qH16x8N2kiqWKFocccxwBH3ySLpa65B/L1SD6V3M=", + "lastModified": 1735828456, + "narHash": "sha256-8KMunZpsriSqguYzSz6V2pa/d7+C5HHn6V1B/nF6+fE=", "owner": "uttarayan21", "repo": "anyrun", - "rev": "1f0abf34252167320e213d5f62f481076c01ecf0", + "rev": "5b2081c595538915b4fd387bae347a17ea150513", "type": "github" }, "original": { diff --git a/linux/anyrun.nix b/linux/anyrun.nix index de09b3f1..ef916a18 100644 --- a/linux/anyrun.nix +++ b/linux/anyrun.nix @@ -63,7 +63,7 @@ ''; "shell.ron".text = '' Config( - prefix: "", + prefix: "!", shell: None, ) ''; diff --git a/patches/anyrun.patch b/patches/anyrun.patch index 0a1f1d32..982c520b 100644 --- a/patches/anyrun.patch +++ b/patches/anyrun.patch @@ -1,5 +1,5 @@ diff --git a/anyrun/src/main.rs b/anyrun/src/main.rs -index fb9f62e..ac006c1 100644 +index 59ff302..4a87ff3 100644 --- a/anyrun/src/main.rs +++ b/anyrun/src/main.rs @@ -12,7 +12,11 @@ use std::{ @@ -76,8 +76,8 @@ index fb9f62e..ac006c1 100644 Inhibit(true) } // Handle when the selected match is "activated" -- constants::Return => { -+ (_, constants::Return) => { +- constants::Return | constants::KP_Enter => { ++ (_, constants::Return) | (_, constants::KP_Enter) => { let mut _runtime_data_clone = runtime_data_clone.borrow_mut(); let (selected_match, plugin_view) = match _runtime_data_clone