mirror of
https://github.com/zoriya/flake.git
synced 2026-06-02 02:35:46 +00:00
Try to make cmd-c work & try to allow screencats
This commit is contained in:
@@ -37,9 +37,9 @@
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-gnome
|
||||
];
|
||||
config.common.default = "*";
|
||||
configPackages = with pkgs; [niri];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
gnome-control-center
|
||||
gnome-weather
|
||||
wdisplays
|
||||
wtype
|
||||
niri
|
||||
];
|
||||
|
||||
|
||||
+12
-11
@@ -73,15 +73,18 @@ binds {
|
||||
Mod+R { spawn "uwsm" "app" "--" "zen"; }
|
||||
Mod+E { spawn "uwsm" "app" "--" "kitty"; }
|
||||
Mod+P { spawn "rofi" "-show" "drun" "-show-icons" "-run-command" "uwsm app -- {cmd}"; }
|
||||
Mod+X { spawn "screenshot"; }
|
||||
Mod+Control+X { spawn "screenshot-freeze"; }
|
||||
Mod+Shift+X { spawn "record"; }
|
||||
Mod+B { spawn "sh" "-c" "hyprpicker | wl-copy"; }
|
||||
Mod+V { spawn "sh" "-c" "cliphist list | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy"; }
|
||||
Mod+S { spawn "screenshot"; }
|
||||
Mod+Control+S { spawn "screenshot-freeze"; }
|
||||
Mod+Shift+S { spawn "record"; }
|
||||
Super+Shift+L { spawn "loginctl" "lock-session"; }
|
||||
Mod+B repeat=false { spawn "sh" "-c" "hyprpicker | wl-copy"; }
|
||||
Mod+X repeat=false { spawn "wtype" "-P" "XF86Cut" ; }
|
||||
Mod+C repeat=false { spawn "wtype" "-P" "XF86Copy" ; }
|
||||
Mod+V repeat=false { spawn "wtype" "-P" "XF86Paste" ; }
|
||||
Mod+Shift+V repeat=false { spawn "sh" "-c" "cliphist list | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy"; }
|
||||
|
||||
Mod+O repeat=false { toggle-overview; }
|
||||
Mod+C repeat=false { close-window; }
|
||||
Mod+Space repeat=false { toggle-overview; }
|
||||
Mod+Q repeat=false { close-window; }
|
||||
|
||||
Mod+J { focus-window-up-or-column-left; }
|
||||
Mod+K { focus-window-down-or-column-right; }
|
||||
@@ -166,7 +169,8 @@ binds {
|
||||
Mod+D { toggle-column-tabbed-display; }
|
||||
Mod+M { maximize-column; }
|
||||
Mod+F { fullscreen-window; }
|
||||
Mod+Ctrl+F { expand-column-to-available-width; }
|
||||
Mod+Shift+F { toggle-window-floating; }
|
||||
Mod+Alt+F { switch-focus-between-floating-and-tiling; }
|
||||
|
||||
Mod+Z { center-column; }
|
||||
Mod+Ctrl+Z { center-visible-columns; }
|
||||
@@ -174,9 +178,6 @@ binds {
|
||||
Mod+H { set-column-width "-5%"; }
|
||||
Mod+L { set-column-width "+5%"; }
|
||||
|
||||
Mod+Shift+V { toggle-window-floating; }
|
||||
Mod+Alt+V { switch-focus-between-floating-and-tiling; }
|
||||
|
||||
// Applications such as remote-desktop clients and software KVM switches may
|
||||
// request that niri stops processing the keyboard shortcuts defined here
|
||||
// so they may, for example, forward the key presses as-is to a remote machine.
|
||||
|
||||
@@ -1,22 +1,4 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
guesspath = pkgs.stdenv.mkDerivation rec {
|
||||
name = "guesspath";
|
||||
nativeBuildInputs = with pkgs; [makeWrapper];
|
||||
propagatedBuildInputs = with pkgs; [
|
||||
python3Packages.guessit
|
||||
transmission_4
|
||||
];
|
||||
dontUnpack = true;
|
||||
installPhase = "
|
||||
install -Dm755 ${./guesspath.sh} $out/bin/guesspath
|
||||
wrapProgram $out/bin/guesspath --prefix PATH : '${lib.makeBinPath propagatedBuildInputs}'
|
||||
";
|
||||
};
|
||||
in {
|
||||
{...}: {
|
||||
imports = [
|
||||
./otel.nix
|
||||
];
|
||||
|
||||
Generated
+15
-15
@@ -164,11 +164,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1755755322,
|
||||
"narHash": "sha256-spCxkNihCk3uT3LUrUwzdEAjLA/E0EtEgF3KVI05nlM=",
|
||||
"lastModified": 1755914636,
|
||||
"narHash": "sha256-VJ+Gm6YsHlPfUCpmRQxvdiZW7H3YPSrdVOewQHAhZN8=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "282b4c98de97da6667cb03de4f427371734bc39c",
|
||||
"rev": "8b55a6ac58b678199e5bba701aaff69e2b3281c0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -205,11 +205,11 @@
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1755760755,
|
||||
"narHash": "sha256-udzhcaKGZ+aLsKG8RTPuFSsffDi/NVWeSyhZS5QI4hg=",
|
||||
"lastModified": 1755851532,
|
||||
"narHash": "sha256-unks5nXZZtI6hfbXPBL0ll0OjqqyEk2OG1lWugRc/dA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "neovim-nightly-overlay",
|
||||
"rev": "f4a1e0151dc5da6ffdb6c2e97a71bf0e968db58a",
|
||||
"rev": "301e087de6502904806215c9e3f6e89e50f18fd3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -221,11 +221,11 @@
|
||||
"neovim-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1755713356,
|
||||
"narHash": "sha256-wAltPeKp8xeOGP2jlVTZPViihUKXcVO0+hB7jWKaRoc=",
|
||||
"lastModified": 1755815325,
|
||||
"narHash": "sha256-7pkRFiHxKQ/1HW+v7cYho93eukrVOm2W83HDXUwR17E=",
|
||||
"owner": "neovim",
|
||||
"repo": "neovim",
|
||||
"rev": "848c7a7894709a5bf73cd09d5612c35426994c0e",
|
||||
"rev": "865a28155e7b66a16c4e7bd0b8d1220a3f25375a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -241,11 +241,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1755751773,
|
||||
"narHash": "sha256-d1H34kko9J5fWrxCVgfa1TkIwdkGt/eDSVopAWenw24=",
|
||||
"lastModified": 1755825449,
|
||||
"narHash": "sha256-XkiN4NM9Xdy59h69Pc+Vg4PxkSm9EWl6u7k6D5FZ5cM=",
|
||||
"owner": "LnL7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "3a0a38a1e7ac2c4b4150ea37a491fdffdc9c92e1",
|
||||
"rev": "8df64f819698c1fee0c2969696f54a843b2231e8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -359,11 +359,11 @@
|
||||
"tmux": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1754319667,
|
||||
"narHash": "sha256-V/F16gXadfSoR7kdq5pKXdL7nnqjYuZQl+P8DIZTcGM=",
|
||||
"lastModified": 1755863899,
|
||||
"narHash": "sha256-cY8asJFrTA9i2I6DFx111gFNWvRNl3XPzldH7pjiO2M=",
|
||||
"owner": "tmux",
|
||||
"repo": "tmux",
|
||||
"rev": "b13005e802df23652e87c98f136f9eb13f096374",
|
||||
"rev": "bb4866047a192388a991566ebf6d9cd3d8b8fee5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -127,7 +127,6 @@
|
||||
csharprepl
|
||||
kubernetes-helm
|
||||
colima
|
||||
kubectl
|
||||
kubelogin-oidc
|
||||
kustomize
|
||||
docker_28
|
||||
|
||||
@@ -354,8 +354,7 @@
|
||||
glow
|
||||
gh
|
||||
yq
|
||||
# also for ncat
|
||||
nmap
|
||||
nmap # also for ncat
|
||||
nodePackages.http-server
|
||||
nvim
|
||||
rename # this is perl-rename
|
||||
|
||||
@@ -43,6 +43,8 @@
|
||||
"ctrl+shift+v=paste_from_clipboard"
|
||||
"cmd+c=copy_to_clipboard"
|
||||
"cmd+v=paste_from_clipboard"
|
||||
# "XF86Copy=copy_to_clipboard"
|
||||
# "XF86Paste=paste_from_clipboard"
|
||||
|
||||
"ctrl+plus=increase_font_size:1"
|
||||
"ctrl+equal=increase_font_size:1"
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
clear_all_shortcuts yes
|
||||
map ctrl+shift+c copy_to_clipboard
|
||||
map ctrl+shift+v paste_from_clipboard
|
||||
map XF86Copy copy_to_clipboard
|
||||
map XF86Paste paste_from_clipboard
|
||||
|
||||
map ctrl+equal change_font_size current +1.0
|
||||
map ctrl+plus change_font_size current +1.0
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
force = true;
|
||||
text = ''
|
||||
[Hotkey/TriggerKeys]
|
||||
0=Super+space
|
||||
0=Super+a
|
||||
|
||||
[Behavior]
|
||||
ShowInputMethodInformation=False
|
||||
|
||||
Reference in New Issue
Block a user