diff --git a/config/xsession/terminal.nix b/config/xsession/terminal.nix index 1da7355..e5eac1c 100644 --- a/config/xsession/terminal.nix +++ b/config/xsession/terminal.nix @@ -7,11 +7,20 @@ home.file.kitty = { target = ".config/kitty/kitty.conf"; text = '' -term xterm-256color +#term xterm-256color font_family monospace font_size 12.0 background_opacity 0.7 -map ctrl+shift+question change_font_size all +2.0 + +clear_all_shortcuts yes + +map ctrl+shift+c copy_to_clipboard +map ctrl+shift+v paste_from_clipboard + + + +map ctrl+plus change_font_size all +2.0 +map ctrl+shift+plus change_font_size all -2.0 ''; }; @@ -21,5 +30,4 @@ map ctrl+shift+question change_font_size all +2.0 pkgs.kitty pkgs.ncurses.dev ]; - } diff --git a/overlays/ntfy.nix b/overlays/ntfy.nix index 17638e4..8d2dd90 100644 --- a/overlays/ntfy.nix +++ b/overlays/ntfy.nix @@ -1,18 +1,11 @@ self: super: { - python = super.python.override { - packageOverrides = python-self: python-super: { - ntfy = python-super.ntfy.overrideAttrs (oldAttrs: { - src = super.fetchgit { - url = "https://github.com/dschep/ntfy"; - rev = "1f6721cb6e41d3fd0de6ddb7a4f1302551e1c783"; - sha256 = "1n08w6h1narq3jwhd4k1p23hyysn6knaij0r1gpnakx9437h6yk4"; - }; - propagatedBuildInputs = with python-self; [ requests ruamel_yaml appdirs mock sleekxmpp emoji psutil dbus-python matrix-client ]; - preBuild = '' - export HOME="$TMP" - ''; - }); + ntfy = super.ntfy.overrideAttrs (old: rec { + src = super.fetchFromGitHub { + owner = "dschep"; + repo = "ntfy"; + rev = "d7a359bd6e4902e0067c62058179d8c678361154"; + sha256 = "1n08w6h1narq3jwhd4k1p23hyysn6knaij0r1gpnakx9437h6yk4"; }; - }; + }); }