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 = {
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

6
flake.lock generated
View File

@@ -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": {

View File

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

View File

@@ -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