feat: Don't use firefox css anymore and update anyrun

This commit is contained in:
uttarayan21
2025-01-02 20:30:50 +05:30
parent fe6a13d3cf
commit 961c37ba86
4 changed files with 17 additions and 17 deletions

View File

@@ -6,16 +6,16 @@
programs.firefox = { programs.firefox = {
enable = device.hasGui; enable = device.hasGui;
profiles.default = { profiles.default = {
userChrome = # userChrome =
/* # /*
css # css
*/ # */
'' # ''
@import url(${pkgs.csshacks}/chrome/toolbars_below_content.css); # @import url(${pkgs.csshacks}/chrome/toolbars_below_content.css);
@import url(${pkgs.csshacks}/chrome/scrollable_menupopups.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/linux_gtk_window_control_patch.css);
@import url(${pkgs.csshacks}/chrome/window_control_placeholder_support.css); # @import url(${pkgs.csshacks}/chrome/window_control_placeholder_support.css);
''; # '';
extensions = with pkgs.nur.repos.rycee.firefox-addons; [ extensions = with pkgs.nur.repos.rycee.firefox-addons; [
privacy-badger privacy-badger
tridactyl tridactyl

6
flake.lock generated
View File

@@ -57,11 +57,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1732002461, "lastModified": 1735828456,
"narHash": "sha256-Pw9qH16x8N2kiqWKFocccxwBH3ySLpa65B/L1SD6V3M=", "narHash": "sha256-8KMunZpsriSqguYzSz6V2pa/d7+C5HHn6V1B/nF6+fE=",
"owner": "uttarayan21", "owner": "uttarayan21",
"repo": "anyrun", "repo": "anyrun",
"rev": "1f0abf34252167320e213d5f62f481076c01ecf0", "rev": "5b2081c595538915b4fd387bae347a17ea150513",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -63,7 +63,7 @@
''; '';
"shell.ron".text = '' "shell.ron".text = ''
Config( Config(
prefix: "", prefix: "!",
shell: None, shell: None,
) )
''; '';

View File

@@ -1,5 +1,5 @@
diff --git a/anyrun/src/main.rs b/anyrun/src/main.rs 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 --- a/anyrun/src/main.rs
+++ b/anyrun/src/main.rs +++ b/anyrun/src/main.rs
@@ -12,7 +12,11 @@ use std::{ @@ -12,7 +12,11 @@ use std::{
@@ -76,8 +76,8 @@ index fb9f62e..ac006c1 100644
Inhibit(true) Inhibit(true)
} }
// Handle when the selected match is "activated" // Handle when the selected match is "activated"
- constants::Return => { - constants::Return | constants::KP_Enter => {
+ (_, constants::Return) => { + (_, constants::Return) | (_, constants::KP_Enter) => {
let mut _runtime_data_clone = runtime_data_clone.borrow_mut(); let mut _runtime_data_clone = runtime_data_clone.borrow_mut();
let (selected_match, plugin_view) = match _runtime_data_clone let (selected_match, plugin_view) = match _runtime_data_clone