Compare commits
No commits in common. "1524994babb3e495bd68dcafe7a8740603baf761" and "a742bdc12a8a3c39d0f6ad11c974853fba4a9e1c" have entirely different histories.
1524994bab
...
a742bdc12a
8 changed files with 106 additions and 256 deletions
24
flake.lock
24
flake.lock
|
@ -150,11 +150,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734088167,
|
||||
"narHash": "sha256-OIitVU+IstPbX/NWn2jLF+/sT9dVKcO2FKeRAzlyX6c=",
|
||||
"lastModified": 1734011192,
|
||||
"narHash": "sha256-NghuiWXx6Q3gwLiudiNwDpYQ1CPEUK7J+f9dWREN8KA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "disko",
|
||||
"rev": "d32f2d1750d61a476a236526b725ec5a32e16342",
|
||||
"rev": "0f31ad735e784315a22d9899d3ba24340ce64220",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -430,11 +430,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734093295,
|
||||
"narHash": "sha256-hSwgGpcZtdDsk1dnzA0xj5cNaHgN9A99hRF/mxMtwS4=",
|
||||
"lastModified": 1734043726,
|
||||
"narHash": "sha256-e9YAMReFV1fDPcZLFC2pa4k/8TloSXeX0z2VysNMAoA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "66c5d8b62818ec4c1edb3e941f55ef78df8141a8",
|
||||
"rev": "3066cc58f552421a2c5414e78407fa5603405b1e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -694,11 +694,11 @@
|
|||
"nixpkgs-stable": "nixpkgs-stable_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734261738,
|
||||
"narHash": "sha256-3Lzk+7QyX8v60+km26D3dln7NMSA13vW+KYTkMkds6Q=",
|
||||
"lastModified": 1733665616,
|
||||
"narHash": "sha256-+XTFXYlFJBxohhMGLDpYdEnhUNdxN8dyTA8WAd+lh2A=",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "4c8e75efbbdcc6f9203f64b1f21f8a55d2285264",
|
||||
"rev": "d8c02f0ffef0ef39f6063731fc539d8c71eb463a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -742,11 +742,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734230139,
|
||||
"narHash": "sha256-zsp0Mz8VgyIAnU8UhP/YT1g+zlsl+NIJTBMAbY+RifQ=",
|
||||
"lastModified": 1734057252,
|
||||
"narHash": "sha256-fpSFuiW+O2L0ru2GrXBS0wcAYV9+yDE0Gf800UsWutY=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "150fbc8aa2bc501041810bbc1dbfe73694a861be",
|
||||
"rev": "1f56a5c88e4dcaa0ab1ba04c4bc5a977cff840b2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -1702,17 +1702,6 @@ Configure eglot to use the Gleam LSP server
|
|||
'(gleam-ts-mode . ("gleam" "lsp"))))
|
||||
#+end_src
|
||||
|
||||
*** PlantUML
|
||||
|
||||
[[https://plantuml.com][PlantUML]] is a tool to generate a wide variety of diagrams, like sequence, usecase and class diagrams.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package plantuml-mode
|
||||
:config
|
||||
(setq plantuml-default-exec-mode 'server
|
||||
plantuml-server-url "http://localhost:5080/plantuml"))
|
||||
#+end_src
|
||||
|
||||
* Org
|
||||
|
||||
** Main org setup
|
||||
|
@ -1778,28 +1767,24 @@ Configuration
|
|||
|
||||
#+name: org-config
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
|
||||
(add-to-list
|
||||
'org-src-lang-modes '("plantuml" . plantuml))
|
||||
(dolist (face '((org-level-1 . 1.2)
|
||||
(org-level-2 . 1.1)
|
||||
(org-level-3 . 1.05)
|
||||
(org-level-4 . 1.0)
|
||||
(org-level-5 . 1.0)
|
||||
(org-level-6 . 1.0)
|
||||
(org-level-7 . 1.0)
|
||||
(org-level-8 . 1.0)))
|
||||
(set-face-attribute (car face) nil :family my/variable-width-font :weight 'medium :height (cdr face)))
|
||||
(set-face-attribute 'org-document-title nil :family my/variable-width-font :weight 'bold :height 1.3)
|
||||
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
|
||||
(set-face-attribute 'org-table nil :inherit 'fixed-pitch)
|
||||
(set-face-attribute 'org-formula nil :inherit 'fixed-pitch)
|
||||
(set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch))
|
||||
(set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch))
|
||||
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))
|
||||
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch)
|
||||
(setq org-plantuml-exec-mode 'plantuml
|
||||
org-plantuml-executable-path "plantuml-client")
|
||||
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
|
||||
(dolist (face '((org-level-1 . 1.2)
|
||||
(org-level-2 . 1.1)
|
||||
(org-level-3 . 1.05)
|
||||
(org-level-4 . 1.0)
|
||||
(org-level-5 . 1.0)
|
||||
(org-level-6 . 1.0)
|
||||
(org-level-7 . 1.0)
|
||||
(org-level-8 . 1.0)))
|
||||
(set-face-attribute (car face) nil :family my/variable-width-font :weight 'medium :height (cdr face)))
|
||||
(set-face-attribute 'org-document-title nil :family my/variable-width-font :weight 'bold :height 1.3)
|
||||
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
|
||||
(set-face-attribute 'org-table nil :inherit 'fixed-pitch)
|
||||
(set-face-attribute 'org-formula nil :inherit 'fixed-pitch)
|
||||
(set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch))
|
||||
(set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch))
|
||||
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))
|
||||
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch)
|
||||
#+end_src
|
||||
|
||||
=org-capture= allows creating and saving quick notes, links and TODOs
|
||||
|
|
|
@ -8,37 +8,6 @@ with lib;
|
|||
let
|
||||
cfg = config.eboskma.programs.emacs;
|
||||
|
||||
plantuml-client = pkgs.writeShellApplication {
|
||||
name = "plantuml-client";
|
||||
runtimeInputs = with pkgs; [
|
||||
coreutils
|
||||
xh
|
||||
];
|
||||
|
||||
text = ''
|
||||
type=
|
||||
while getopts ":t:" option; do
|
||||
case "''${option}" in
|
||||
t)
|
||||
type="''${OPTARG}";;
|
||||
\?)
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
tempfile=$(mktemp --suffix plantuml)
|
||||
|
||||
while IFS= read -r line; do
|
||||
echo "''${line}" >> "''${tempfile}"
|
||||
done
|
||||
|
||||
encoded=$(xh --print=b post http://localhost:5080/plantuml/coder Content-Type:text/plain < "''${tempfile}")
|
||||
rm "''${tempfile}"
|
||||
|
||||
xh get "http://localhost:5080/plantuml/''${type}/''${encoded}"
|
||||
'';
|
||||
};
|
||||
|
||||
tangleEmacsConfig =
|
||||
initFile:
|
||||
pkgs.runCommand "tangled-emacs-${initFile}" { } ''
|
||||
|
@ -204,7 +173,6 @@ in
|
|||
}))
|
||||
nixfmt-rfc-style
|
||||
python3
|
||||
plantuml-client
|
||||
]
|
||||
++ (with aspellDicts; [
|
||||
en
|
||||
|
|
|
@ -16,7 +16,7 @@ in
|
|||
settings = lib.mkOption {
|
||||
description = "Ghostty config.";
|
||||
type = lib.types.submodule {
|
||||
freeformType = lib.types.attrsOf iniFormat.lib.types.atom;
|
||||
freeformType = iniFormat.type;
|
||||
};
|
||||
default = { };
|
||||
};
|
||||
|
|
|
@ -27,11 +27,6 @@ in
|
|||
description = "Wallpaper to use for the lockscreen";
|
||||
type = types.path;
|
||||
};
|
||||
terminal = mkOption {
|
||||
description = "Default terminal to run";
|
||||
type = types.str;
|
||||
default = lib.getExe pkgs.foot;
|
||||
};
|
||||
output = mkOption {
|
||||
description = "An attribute set that defines output modules. See the sway-output(5) manpage for options";
|
||||
type = types.attrsOf (types.attrsOf types.str);
|
||||
|
@ -246,15 +241,11 @@ in
|
|||
|
||||
"${mod}+Pause" = "mode passthrough";
|
||||
|
||||
"${mod}+c" =
|
||||
mkIf config.eboskma.programs.emacs.enable "exec ${config.programs.emacs.package}/bin/emacsclient -c";
|
||||
"${mod}+c" = mkIf config.eboskma.programs.emacs.enable "exec ${config.programs.emacs.package}/bin/emacsclient -c";
|
||||
|
||||
"${mod}+Print" =
|
||||
"exec ${pkgs.grim}/bin/grim -o $(${cfg.package}/bin/swaymsg -t get_outputs | ${pkgs.jaq}/bin/jaq -r '.[] | select(.focused) | .name')";
|
||||
"${mod}+Shift+Print" =
|
||||
''exec ${pkgs.grim}/bin/grim -o $(${cfg.package}/bin/swaymsg -t get_outputs | ${pkgs.jaq}/bin/jaq -r '.[] | select(.focused) | .name') - | ${pkgs.wl-clipboard}/bin/wl-copy -t "image/png" -f'';
|
||||
"${mod}+Shift+Ctrl+Print" =
|
||||
''exec ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" - | ${pkgs.wl-clipboard}/bin/wl-copy -t "image/png" -f'';
|
||||
"${mod}+Print" = "exec ${pkgs.grim}/bin/grim -o $(${cfg.package}/bin/swaymsg -t get_outputs | ${pkgs.jaq}/bin/jaq -r '.[] | select(.focused) | .name')";
|
||||
"${mod}+Shift+Print" = ''exec ${pkgs.grim}/bin/grim -o $(${cfg.package}/bin/swaymsg -t get_outputs | ${pkgs.jaq}/bin/jaq -r '.[] | select(.focused) | .name') - | ${pkgs.wl-clipboard}/bin/wl-copy -t "image/png" -f'';
|
||||
"${mod}+Shift+Ctrl+Print" = ''exec ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" - | ${pkgs.wl-clipboard}/bin/wl-copy -t "image/png" -f'';
|
||||
"${mod}+Shift+Alt+Print" = ''exec ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)"'';
|
||||
|
||||
"XF86AudioRaiseVolume" = "exec ${pkgs.pamedia}/bin/pamedia up";
|
||||
|
@ -272,8 +263,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# terminal = "${pkgs.foot}/bin/foot";
|
||||
terminal = cfg.terminal;
|
||||
terminal = "${pkgs.foot}/bin/foot";
|
||||
|
||||
window = {
|
||||
border = 1;
|
||||
|
|
|
@ -443,11 +443,6 @@
|
|||
# user = "erwin";
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
plantuml-server = {
|
||||
enable = true;
|
||||
listenPort = 5080;
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
|
|
@ -70,88 +70,6 @@ in
|
|||
enable = true;
|
||||
server = false;
|
||||
};
|
||||
ghostty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
font-family = "Iosevka NF";
|
||||
font-size = 12;
|
||||
theme = "catppuccin-mocha";
|
||||
background-opacity = 0.9;
|
||||
keybind = [
|
||||
"ctrl+comma=open_config"
|
||||
"ctrl+shift+comma=reload_config"
|
||||
"ctrl+shift+q=quit"
|
||||
"ctrl+enter=toggle_fullscreen"
|
||||
|
||||
"ctrl+shift+v=paste_from_clipboard"
|
||||
"shift+insert=paste_from_selection"
|
||||
"ctrl+shift+a=select_all"
|
||||
"shift+up=adjust_selection:up"
|
||||
"shift+right=adjust_selection:right"
|
||||
"shift+down=adjust_selection:down"
|
||||
"shift+left=adjust_selection:left"
|
||||
|
||||
"alt+one=goto_tab:1"
|
||||
"alt+two=goto_tab:2"
|
||||
"alt+three=goto_tab:3"
|
||||
"alt+four=goto_tab:4"
|
||||
"alt+five=goto_tab:5"
|
||||
"alt+six=goto_tab:6"
|
||||
"alt+seven=goto_tab:7"
|
||||
"alt+eight=goto_tab:8"
|
||||
"alt+nine=goto_tab:9"
|
||||
|
||||
"ctrl+minus=decrease_font_size:1"
|
||||
"ctrl+equal=increase_font_size:1"
|
||||
"ctrl+plus=increase_font_size:1"
|
||||
"ctrl+zero=reset_font_size"
|
||||
|
||||
"ctrl+shift+n=new_window"
|
||||
"ctrl+shift+t=new_tab"
|
||||
"ctrl+shift+o=new_split:right"
|
||||
"ctrl+shift+e=new_split:down"
|
||||
"ctrl+shift+c=copy_to_clipboard"
|
||||
|
||||
"ctrl+shift+tab=previous_tab"
|
||||
"ctrl+shift+left=previous_tab"
|
||||
"ctrl+page_up=previous_tab"
|
||||
"ctrl+tab=next_tab"
|
||||
"ctrl+page_down=next_tab"
|
||||
"ctrl+shift+right=next_tab"
|
||||
|
||||
"super+ctrl+right_bracket=goto_split:next"
|
||||
"super+ctrl+left_bracket=goto_split:previous"
|
||||
"ctrl+alt+up=goto_split:top"
|
||||
"ctrl+alt+right=goto_split:right"
|
||||
"ctrl+alt+down=goto_split:bottom"
|
||||
"ctrl+alt+left=goto_split:left"
|
||||
|
||||
"super+ctrl+shift+up=resize_split:up,10"
|
||||
"super+ctrl+shift+right=resize_split:right,10"
|
||||
"super+ctrl+shift+down=resize_split:down,10"
|
||||
"super+ctrl+shift+left=resize_split:left,10"
|
||||
"super+ctrl+shift+equal=equalize_splits"
|
||||
|
||||
"ctrl+shift+page_down=jump_to_prompt:1"
|
||||
"ctrl+shift+page_up=jump_to_prompt:-1"
|
||||
|
||||
"ctrl+alt+shift+j=write_scrollback_file:open"
|
||||
"ctrl+shift+w=close_surface"
|
||||
|
||||
"shift+page_up=scroll_page_up"
|
||||
"shift+home=scroll_to_top"
|
||||
"shift+end=scroll_to_bottom"
|
||||
"shift+page_down=scroll_page_down"
|
||||
"ctrl+shift+j=write_scrollback_file:paste"
|
||||
"alt+f4=close_window"
|
||||
"ctrl+shift+enter=toggle_split_zoom"
|
||||
"ctrl+shift+i=inspector:toggle"
|
||||
];
|
||||
window-decoration = false;
|
||||
|
||||
gtk-single-instance = true;
|
||||
};
|
||||
};
|
||||
git = {
|
||||
enable = true;
|
||||
name = "Erwin Boskma";
|
||||
|
@ -225,7 +143,6 @@ in
|
|||
sway = {
|
||||
enable = true;
|
||||
package = pkgs.swayfx;
|
||||
terminal = lib.getExe pkgs.ghostty;
|
||||
lock-wallpaper = "${homeCfg.home.homeDirectory}/.wallpapers/river-2560.png";
|
||||
output = {
|
||||
"DP-2" = {
|
||||
|
@ -314,6 +231,7 @@ in
|
|||
fd
|
||||
ffmpeg-full
|
||||
geekbench
|
||||
inputs.ghostty.packages.${pkgs.system}.ghostty
|
||||
godot_4
|
||||
hashcat
|
||||
helvum
|
||||
|
@ -333,7 +251,7 @@ in
|
|||
kubectl
|
||||
kubernetes-helm
|
||||
libnotify
|
||||
libreoffice-fresh
|
||||
# libreoffice-fresh
|
||||
mangohud
|
||||
minio-client
|
||||
mpv
|
||||
|
@ -427,12 +345,9 @@ in
|
|||
};
|
||||
|
||||
configFile = {
|
||||
"gtk-4.0/assets".source =
|
||||
"${homeCfg.gtk.theme.package}/share/themes/${homeCfg.gtk.theme.name}/gtk-4.0/assets";
|
||||
"gtk-4.0/gtk.css".source =
|
||||
"${homeCfg.gtk.theme.package}/share/themes/${homeCfg.gtk.theme.name}/gtk-4.0/gtk.css";
|
||||
"gtk-4.0/gtk-dark.css".source =
|
||||
"${homeCfg.gtk.theme.package}/share/themes/${homeCfg.gtk.theme.name}/gtk-4.0/gtk-dark.css";
|
||||
"gtk-4.0/assets".source = "${homeCfg.gtk.theme.package}/share/themes/${homeCfg.gtk.theme.name}/gtk-4.0/assets";
|
||||
"gtk-4.0/gtk.css".source = "${homeCfg.gtk.theme.package}/share/themes/${homeCfg.gtk.theme.name}/gtk-4.0/gtk.css";
|
||||
"gtk-4.0/gtk-dark.css".source = "${homeCfg.gtk.theme.package}/share/themes/${homeCfg.gtk.theme.name}/gtk-4.0/gtk-dark.css";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -71,83 +71,81 @@ in
|
|||
ghostty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
font-family = "Iosevka NF";
|
||||
font-size = 16;
|
||||
theme = "catppuccin-mocha";
|
||||
background-opacity = 0.9;
|
||||
keybind = [
|
||||
"ctrl+comma=open_config"
|
||||
"ctrl+shift+comma=reload_config"
|
||||
"ctrl+shift+q=quit"
|
||||
"ctrl+enter=toggle_fullscreen"
|
||||
# font-family = "Iosevka NF";
|
||||
# font-size = 16;
|
||||
# theme = "catppuccin-mocha";
|
||||
# background-opacity = 0.9;
|
||||
# keybind = [
|
||||
# "ctrl+comma=open_config"
|
||||
# "ctrl+shift+comma=reload_config"
|
||||
# "ctrl+shift+q=quit"
|
||||
# "ctrl+enter=toggle_fullscreen"
|
||||
|
||||
"ctrl+shift+v=paste_from_clipboard"
|
||||
"shift+insert=paste_from_selection"
|
||||
"ctrl+shift+a=select_all"
|
||||
"shift+up=adjust_selection:up"
|
||||
"shift+right=adjust_selection:right"
|
||||
"shift+down=adjust_selection:down"
|
||||
"shift+left=adjust_selection:left"
|
||||
# "ctrl+shift+v=paste_from_clipboard"
|
||||
# "shift+insert=paste_from_selection"
|
||||
# "ctrl+shift+a=select_all"
|
||||
# "shift+up=adjust_selection:up"
|
||||
# "shift+right=adjust_selection:right"
|
||||
# "shift+down=adjust_selection:down"
|
||||
# "shift+left=adjust_selection:left"
|
||||
|
||||
"alt+one=goto_tab:1"
|
||||
"alt+two=goto_tab:2"
|
||||
"alt+three=goto_tab:3"
|
||||
"alt+four=goto_tab:4"
|
||||
"alt+five=goto_tab:5"
|
||||
"alt+six=goto_tab:6"
|
||||
"alt+seven=goto_tab:7"
|
||||
"alt+eight=goto_tab:8"
|
||||
"alt+nine=goto_tab:9"
|
||||
# "alt+one=goto_tab:1"
|
||||
# "alt+two=goto_tab:2"
|
||||
# "alt+three=goto_tab:3"
|
||||
# "alt+four=goto_tab:4"
|
||||
# "alt+five=goto_tab:5"
|
||||
# "alt+six=goto_tab:6"
|
||||
# "alt+seven=goto_tab:7"
|
||||
# "alt+eight=goto_tab:8"
|
||||
# "alt+nine=goto_tab:9"
|
||||
|
||||
"ctrl+minus=decrease_font_size:1"
|
||||
"ctrl+equal=increase_font_size:1"
|
||||
"ctrl+plus=increase_font_size:1"
|
||||
"ctrl+zero=reset_font_size"
|
||||
# "ctrl+minus=decrease_font_size:1"
|
||||
# "ctrl+equal=increase_font_size:1"
|
||||
# "ctrl+plus=increase_font_size:1"
|
||||
# "ctrl+zero=reset_font_size"
|
||||
|
||||
"ctrl+shift+n=new_window"
|
||||
"ctrl+shift+t=new_tab"
|
||||
"ctrl+shift+o=new_split:right"
|
||||
"ctrl+shift+e=new_split:down"
|
||||
"ctrl+shift+c=copy_to_clipboard"
|
||||
# "ctrl+shift+n=new_window"
|
||||
# "ctrl+shift+t=new_tab"
|
||||
# "ctrl+shift+o=new_split:right"
|
||||
# "ctrl+shift+e=new_split:down"
|
||||
# "ctrl+shift+c=copy_to_clipboard"
|
||||
|
||||
"ctrl+shift+tab=previous_tab"
|
||||
"ctrl+shift+left=previous_tab"
|
||||
"ctrl+page_up=previous_tab"
|
||||
"ctrl+tab=next_tab"
|
||||
"ctrl+page_down=next_tab"
|
||||
"ctrl+shift+right=next_tab"
|
||||
# "ctrl+shift+tab=previous_tab"
|
||||
# "ctrl+shift+left=previous_tab"
|
||||
# "ctrl+page_up=previous_tab"
|
||||
# "ctrl+tab=next_tab"
|
||||
# "ctrl+page_down=next_tab"
|
||||
# "ctrl+shift+right=next_tab"
|
||||
|
||||
"super+ctrl+right_bracket=goto_split:next"
|
||||
"super+ctrl+left_bracket=goto_split:previous"
|
||||
"ctrl+alt+up=goto_split:top"
|
||||
"ctrl+alt+right=goto_split:right"
|
||||
"ctrl+alt+down=goto_split:bottom"
|
||||
"ctrl+alt+left=goto_split:left"
|
||||
# "super+ctrl+right_bracket=goto_split:next"
|
||||
# "super+ctrl+left_bracket=goto_split:previous"
|
||||
# "ctrl+alt+up=goto_split:top"
|
||||
# "ctrl+alt+right=goto_split:right"
|
||||
# "ctrl+alt+down=goto_split:bottom"
|
||||
# "ctrl+alt+left=goto_split:left"
|
||||
|
||||
"super+ctrl+shift+up=resize_split:up,10"
|
||||
"super+ctrl+shift+right=resize_split:right,10"
|
||||
"super+ctrl+shift+down=resize_split:down,10"
|
||||
"super+ctrl+shift+left=resize_split:left,10"
|
||||
"super+ctrl+shift+equal=equalize_splits"
|
||||
# "super+ctrl+shift+up=resize_split:up,10"
|
||||
# "super+ctrl+shift+right=resize_split:right,10"
|
||||
# "super+ctrl+shift+down=resize_split:down,10"
|
||||
# "super+ctrl+shift+left=resize_split:left,10"
|
||||
# "super+ctrl+shift+equal=equalize_splits"
|
||||
|
||||
"ctrl+shift+page_down=jump_to_prompt:1"
|
||||
"ctrl+shift+page_up=jump_to_prompt:-1"
|
||||
# "ctrl+shift+page_down=jump_to_prompt:1"
|
||||
# "ctrl+shift+page_up=jump_to_prompt:-1"
|
||||
|
||||
"ctrl+alt+shift+j=write_scrollback_file:open"
|
||||
"ctrl+shift+w=close_surface"
|
||||
# "ctrl+alt+shift+j=write_scrollback_file:open"
|
||||
# "ctrl+shift+w=close_surface"
|
||||
|
||||
"shift+page_up=scroll_page_up"
|
||||
"shift+home=scroll_to_top"
|
||||
"shift+end=scroll_to_bottom"
|
||||
"shift+page_down=scroll_page_down"
|
||||
"ctrl+shift+j=write_scrollback_file:paste"
|
||||
"alt+f4=close_window"
|
||||
"ctrl+shift+enter=toggle_split_zoom"
|
||||
"ctrl+shift+i=inspector:toggle"
|
||||
];
|
||||
window-decoration = false;
|
||||
|
||||
gtk-single-instance = true;
|
||||
# "shift+page_up=scroll_page_up"
|
||||
# "shift+home=scroll_to_top"
|
||||
# "shift+end=scroll_to_bottom"
|
||||
# "shift+page_down=scroll_page_down"
|
||||
# "ctrl+shift+j=write_scrollback_file:paste"
|
||||
# "alt+f4=close_window"
|
||||
# "ctrl+shift+enter=toggle_split_zoom"
|
||||
# "ctrl+shift+i=inspector:toggle"
|
||||
# ];
|
||||
# window-decoration = false;
|
||||
};
|
||||
};
|
||||
git = {
|
||||
|
@ -212,7 +210,6 @@ in
|
|||
sway = {
|
||||
enable = true;
|
||||
package = pkgs.sway;
|
||||
terminal = lib.getExe pkgs.ghostty;
|
||||
swayidle = false;
|
||||
lock-wallpaper = "${homeCfg.home.homeDirectory}/.wallpapers/river-3840.png";
|
||||
output = {
|
||||
|
|
Loading…
Reference in a new issue