From 6479fa050ea3d80786809f3cef582205f0ff4dec Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Sat, 13 Jul 2024 23:42:25 +0200 Subject: [PATCH] improve sway config --- home-modules/firefox/default.nix | 20 ++++++++++++++++++++ home-modules/sway/default.nix | 5 ++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/home-modules/firefox/default.nix b/home-modules/firefox/default.nix index 3686330..dd7e507 100644 --- a/home-modules/firefox/default.nix +++ b/home-modules/firefox/default.nix @@ -384,6 +384,26 @@ in updateInterval = 24 * 60 * 60 * 1000; definedAliases = [ "@wf" ]; }; + "MusicBrainz Artis" = { + urls = [ + { + template = "https://musicbrainz.org/search"; + params = [ + { + name = "query"; + value = "{searchTerms}"; + } + { + name = "type"; + value = "artis"; + } + ]; + } + ]; + iconUpdateURL = "https://musicbrainz.org/static/images/favicons/apple-touch-icon-180x180.png"; + updateInterval = 24 * 60 * 60 * 1000; + definedAliases = [ "@mb" ]; + }; "DuckDuckGo" = { urls = [ { diff --git a/home-modules/sway/default.nix b/home-modules/sway/default.nix index 312388d..ecc7c14 100644 --- a/home-modules/sway/default.nix +++ b/home-modules/sway/default.nix @@ -20,14 +20,17 @@ in output = { HDMI-A-4 = { mode = "1280x1024@75.025Hz"; + pos = "2560 0"; }; HDMI-A-3 = { mode = "2560x1440@143.991Hz"; adaptive_sync = "on"; + pos = "0 0"; }; DP-3 = { mode = "1920x1080@60.000Hz"; - transform ="270"; + transform = "270"; + pos = "-1080 0"; }; }; };