mirror of
https://github.com/Ascyii/dotfiles.git
synced 2026-01-01 06:54:24 -05:00
Compare commits
73 Commits
testing
...
89564e5fcd
| Author | SHA1 | Date | |
|---|---|---|---|
| 89564e5fcd | |||
| 5aab1eba1e | |||
| ae4a7658ab | |||
| c49857d2bd | |||
| 7640bace55 | |||
| 315f2b98bb | |||
| 81f9be572a | |||
| f9d7d345c0 | |||
| 42b3185712 | |||
| 31233ab3d5 | |||
| 951229147f | |||
| e1cdf08f3c | |||
| 42b6c179d5 | |||
| a01c20a307 | |||
| 3736992f64 | |||
| 26e3e4dddf | |||
| 4e3b114b68 | |||
| 31400030e9 | |||
| 102e157e1b | |||
| c32990c087 | |||
| d433729b22 | |||
| d407f6e68d | |||
| 350b29c22d | |||
| bfbfd125bb | |||
| cf9867f0f7 | |||
| ecc0e2661d | |||
| 14f0df3b61 | |||
| 6ca5a0285c | |||
| 5d0b15dcf5 | |||
| a22de5534a | |||
| d4286fd125 | |||
| 1eff7d42c7 | |||
| c20d49544a | |||
| d557b63bac | |||
| 9f3aefc25d | |||
| fb1f460138 | |||
| e65c0afab5 | |||
| 4c3e50e943 | |||
| f78b1de0e3 | |||
| b4c63f0f3f | |||
| 60d6874bfe | |||
| 9e030dae5e | |||
| 7cc3d26c3b | |||
| 25a8f64577 | |||
| 77a4f39d30 | |||
| 62934f3d62 | |||
| 12090021ff | |||
| 332341a7e0 | |||
| 50682cdd0f | |||
| 49aecc271d | |||
| c1815ecf2b | |||
| 2485c1e3df | |||
| 89bc721683 | |||
| dea41fa863 | |||
| 413a01f064 | |||
| da1ba40562 | |||
| 1aab8e3bc0 | |||
| c29131ae7e | |||
| 06d24c07e0 | |||
| 27c5994f44 | |||
| 9b8425338b | |||
| afe6ede77a | |||
| 73e14e60bf | |||
| 1c32e4e3d2 | |||
| 606d911930 | |||
| 534f4ba863 | |||
| 58a9c54a03 | |||
| 55048de4f9 | |||
| a7be299718 | |||
| cb0b630585 | |||
| 4695dcb650 | |||
| c4df6d68a5 | |||
| 3c4424c556 |
@@ -5,3 +5,7 @@ When there are conflicts the resolve script can be used with care. It can be use
|
|||||||
When `stow` is run with the dotfiles flag then the prefix is parsed and replaced. Be careful that there still exist dotfiles in this repo.
|
When `stow` is run with the dotfiles flag then the prefix is parsed and replaced. Be careful that there still exist dotfiles in this repo.
|
||||||
|
|
||||||
Be sure to only use the `stow.sh` wrapper scripts as this sets some defaults.
|
Be sure to only use the `stow.sh` wrapper scripts as this sets some defaults.
|
||||||
|
|
||||||
|
## Additional
|
||||||
|
|
||||||
|
Setup `rlone` host `Strato` for the automatic webdav mounting to work. This is automatically done when using hyprland.
|
||||||
|
|||||||
5
all.sh
Executable file
5
all.sh
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
bash stow.sh cli
|
||||||
|
bash stow.sh gui
|
||||||
|
bash stow.sh home
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
#? Config file for btop v. 1.4.4
|
#? Config file for btop v. 1.4.5
|
||||||
|
|
||||||
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
||||||
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
||||||
color_theme = "Default"
|
color_theme = "Default"
|
||||||
|
|
||||||
#* If the theme set background should be shown, set to False if you want terminal background transparency.
|
#* If the theme set background should be shown, set to False if you want terminal background transparency.
|
||||||
theme_background = True
|
theme_background = False
|
||||||
|
|
||||||
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
|
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
|
||||||
truecolor = True
|
truecolor = True
|
||||||
@@ -57,13 +57,13 @@ update_ms = 2000
|
|||||||
|
|
||||||
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
||||||
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
||||||
proc_sorting = "cpu lazy"
|
proc_sorting = "cpu direct"
|
||||||
|
|
||||||
#* Reverse sorting order, True or False.
|
#* Reverse sorting order, True or False.
|
||||||
proc_reversed = False
|
proc_reversed = False
|
||||||
|
|
||||||
#* Show processes as a tree.
|
#* Show processes as a tree.
|
||||||
proc_tree = True
|
proc_tree = False
|
||||||
|
|
||||||
#* Use the cpu graph colors in the process list.
|
#* Use the cpu graph colors in the process list.
|
||||||
proc_colors = True
|
proc_colors = True
|
||||||
@@ -115,6 +115,9 @@ cpu_bottom = False
|
|||||||
#* Shows the system uptime in the CPU box.
|
#* Shows the system uptime in the CPU box.
|
||||||
show_uptime = True
|
show_uptime = True
|
||||||
|
|
||||||
|
#* Shows the CPU package current power consumption in watts. Requires running `make setcap` or `make setuid` or running with sudo.
|
||||||
|
show_cpu_watts = True
|
||||||
|
|
||||||
#* Show cpu temperature.
|
#* Show cpu temperature.
|
||||||
check_temp = True
|
check_temp = True
|
||||||
|
|
||||||
@@ -169,7 +172,7 @@ show_swap = True
|
|||||||
swap_disk = True
|
swap_disk = True
|
||||||
|
|
||||||
#* If mem box should be split to also show disks info.
|
#* If mem box should be split to also show disks info.
|
||||||
show_disks = True
|
show_disks = False
|
||||||
|
|
||||||
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
|
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
|
||||||
only_physical = True
|
only_physical = True
|
||||||
@@ -187,7 +190,7 @@ disk_free_priv = False
|
|||||||
show_io_stat = True
|
show_io_stat = True
|
||||||
|
|
||||||
#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
|
#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
|
||||||
io_mode = False
|
io_mode = True
|
||||||
|
|
||||||
#* Set to True to show combined read/write io graphs in io mode.
|
#* Set to True to show combined read/write io graphs in io mode.
|
||||||
io_graph_combined = False
|
io_graph_combined = False
|
||||||
|
|||||||
3
cli/dot-config/fish/config.fish
Normal file
3
cli/dot-config/fish/config.fish
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
if status is-interactive
|
||||||
|
# Commands to run in interactive sessions can go here
|
||||||
|
end
|
||||||
39
cli/dot-config/fish/fish_variables
Normal file
39
cli/dot-config/fish/fish_variables
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
# This file contains fish universal variable definitions.
|
||||||
|
# VERSION: 3.0
|
||||||
|
SETUVAR __fish_initialized:3800
|
||||||
|
SETUVAR fish_color_autosuggestion:brblack
|
||||||
|
SETUVAR fish_color_cancel:\x2dr
|
||||||
|
SETUVAR fish_color_command:normal
|
||||||
|
SETUVAR fish_color_comment:red
|
||||||
|
SETUVAR fish_color_cwd:green
|
||||||
|
SETUVAR fish_color_cwd_root:red
|
||||||
|
SETUVAR fish_color_end:green
|
||||||
|
SETUVAR fish_color_error:brred
|
||||||
|
SETUVAR fish_color_escape:brcyan
|
||||||
|
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||||
|
SETUVAR fish_color_host:normal
|
||||||
|
SETUVAR fish_color_host_remote:yellow
|
||||||
|
SETUVAR fish_color_normal:normal
|
||||||
|
SETUVAR fish_color_operator:brcyan
|
||||||
|
SETUVAR fish_color_param:cyan
|
||||||
|
SETUVAR fish_color_quote:yellow
|
||||||
|
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
|
||||||
|
SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack\x1e\x2d\x2dbold
|
||||||
|
SETUVAR fish_color_selection:white\x1e\x2d\x2dbackground\x3dbrblack\x1e\x2d\x2dbold
|
||||||
|
SETUVAR fish_color_status:red
|
||||||
|
SETUVAR fish_color_user:brgreen
|
||||||
|
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||||
|
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||||
|
SETUVAR fish_pager_color_background:\x1d
|
||||||
|
SETUVAR fish_pager_color_completion:normal
|
||||||
|
SETUVAR fish_pager_color_description:yellow\x1e\x2di
|
||||||
|
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||||
|
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan\x1e\x2d\x2dbold
|
||||||
|
SETUVAR fish_pager_color_secondary_background:\x1d
|
||||||
|
SETUVAR fish_pager_color_secondary_completion:\x1d
|
||||||
|
SETUVAR fish_pager_color_secondary_description:\x1d
|
||||||
|
SETUVAR fish_pager_color_secondary_prefix:\x1d
|
||||||
|
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||||
|
SETUVAR fish_pager_color_selected_completion:\x1d
|
||||||
|
SETUVAR fish_pager_color_selected_description:\x1d
|
||||||
|
SETUVAR fish_pager_color_selected_prefix:\x1d
|
||||||
2
cli/dot-config/helix/config.toml
Normal file
2
cli/dot-config/helix/config.toml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Test
|
||||||
|
theme = "jonas"
|
||||||
41
cli/dot-config/helix/languages.toml
Normal file
41
cli/dot-config/helix/languages.toml
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
# introduce new language server
|
||||||
|
[language-server.scls]
|
||||||
|
command = "simple-completion-language-server"
|
||||||
|
|
||||||
|
[language-server.scls.config]
|
||||||
|
feature_words = false # enable completion by word
|
||||||
|
feature_snippets = true # enable snippets
|
||||||
|
snippets_first = true # completions will return before snippets by default
|
||||||
|
snippets_inline_by_word_tail = false # suggest snippets by WORD tail, for example text `xsq|` become `x^2|` when snippet `sq` has body `^2`
|
||||||
|
feature_unicode_input = false # enable "unicode input"
|
||||||
|
feature_paths = false # enable path completion
|
||||||
|
feature_citations = false # enable citation completion (only on `citation` feature enabled)
|
||||||
|
|
||||||
|
|
||||||
|
# write logs to /tmp/completion.log
|
||||||
|
[language-server.scls.environment]
|
||||||
|
RUST_LOG = "info,simple-completion-language-server=info"
|
||||||
|
LOG_FILE = "/tmp/completion.log"
|
||||||
|
|
||||||
|
# append language server to existed languages
|
||||||
|
[[language]]
|
||||||
|
name = "rust"
|
||||||
|
language-servers = [ "scls", "rust-analyzer" ]
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "git-commit"
|
||||||
|
language-servers = [ "scls" ]
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "python"
|
||||||
|
language-servers = [ "ty", "scls" ]
|
||||||
|
|
||||||
|
# introduce a new language to enable completion on any doc by forcing set language with :set-language stub
|
||||||
|
[[language]]
|
||||||
|
name = "stub"
|
||||||
|
scope = "text.stub"
|
||||||
|
file-types = []
|
||||||
|
shebangs = []
|
||||||
|
roots = []
|
||||||
|
auto-format = false
|
||||||
|
language-servers = [ "scls" ]
|
||||||
5
cli/dot-config/helix/snippets/python.toml
Normal file
5
cli/dot-config/helix/snippets/python.toml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[[snippets]]
|
||||||
|
prefix = "ld"
|
||||||
|
scope = [ "python" ] # language id https://code.visualstudio.com/docs/languages/identifiers#_known-language-identifiers
|
||||||
|
body = 'log.debug("$1")'
|
||||||
|
description = "log at debug level"
|
||||||
153
cli/dot-config/helix/themes/jonas.toml
Normal file
153
cli/dot-config/helix/themes/jonas.toml
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
# Author : Jakub Bartodziej <kubabartodziej@gmail.com>
|
||||||
|
# The theme uses the gruvbox dark palette with standard contrast: github.com/morhetz/gruvbox
|
||||||
|
|
||||||
|
"annotation" = { fg = "fg1" }
|
||||||
|
|
||||||
|
"attribute" = { fg = "aqua1", modifiers = ["italic"] }
|
||||||
|
|
||||||
|
"comment" = { fg = "gray", modifiers = ["italic"] }
|
||||||
|
|
||||||
|
"constant" = { fg = "purple1" }
|
||||||
|
"constant.character" = { fg = "aqua1" }
|
||||||
|
"constant.character.escape" = { fg = "orange1" }
|
||||||
|
"constant.macro" = { fg = "aqua1" }
|
||||||
|
"constructor" = { fg = "purple1" }
|
||||||
|
|
||||||
|
"definition" = { underline = { color = "aqua1" } }
|
||||||
|
|
||||||
|
"diagnostic" = { underline = { color = "orange1", style = "curl" } }
|
||||||
|
"diagnostic.deprecated" = { modifiers = ["crossed_out"] }
|
||||||
|
"diagnostic.error" = { underline = { color = "red1", style = "curl" } }
|
||||||
|
"diagnostic.hint" = { underline = { color = "blue1", style = "curl" } }
|
||||||
|
"diagnostic.info" = { underline = { color = "aqua1", style = "curl" } }
|
||||||
|
"diagnostic.warning" = { underline = { color = "yellow1", style = "curl" } }
|
||||||
|
# "diagnostic.unnecessary" = { modifiers = ["dim"] } # do not remove this for future resolving
|
||||||
|
|
||||||
|
"error" = { fg = "red1" }
|
||||||
|
"hint" = { fg = "blue1" }
|
||||||
|
"info" = { fg = "aqua1" }
|
||||||
|
"warning" = { fg = "yellow1" }
|
||||||
|
|
||||||
|
"diff.delta" = { fg = "yellow1" }
|
||||||
|
"diff.minus" = { fg = "red1" }
|
||||||
|
"diff.plus" = { fg = "green1" }
|
||||||
|
|
||||||
|
"function" = { fg = "green1" }
|
||||||
|
"function.builtin" = { fg = "yellow1" }
|
||||||
|
"function.macro" = { fg = "blue1" }
|
||||||
|
|
||||||
|
"keyword" = { fg = "red1" }
|
||||||
|
"keyword.control.import" = { fg = "aqua1" }
|
||||||
|
|
||||||
|
"label" = { fg = "red1" }
|
||||||
|
|
||||||
|
"markup.bold" = { modifiers = ["bold"] }
|
||||||
|
"markup.heading" = "aqua1"
|
||||||
|
"markup.italic" = { modifiers = ["italic"] }
|
||||||
|
"markup.link.text" = "red1"
|
||||||
|
"markup.link.url" = { fg = "green1", modifiers = ["underlined"] }
|
||||||
|
"markup.raw" = "red1"
|
||||||
|
"markup.strikethrough" = { modifiers = ["crossed_out"] }
|
||||||
|
|
||||||
|
"module" = { fg = "aqua1" }
|
||||||
|
|
||||||
|
"namespace" = { fg = "fg1" }
|
||||||
|
|
||||||
|
"operator" = { fg = "purple1" }
|
||||||
|
|
||||||
|
"punctuation" = { fg = "orange1" }
|
||||||
|
|
||||||
|
"special" = { fg = "purple0" }
|
||||||
|
|
||||||
|
"string" = { fg = "green1" }
|
||||||
|
"string.regexp" = { fg = "orange1" }
|
||||||
|
"string.special" = { fg = "orange1" }
|
||||||
|
"string.symbol" = { fg = "yellow1" }
|
||||||
|
|
||||||
|
"tag" = { fg = "aqua1" }
|
||||||
|
|
||||||
|
"type" = { fg = "yellow1" }
|
||||||
|
"type.enum.variant" = { modifiers = ["italic"] }
|
||||||
|
|
||||||
|
"ui.background" = { bg = "bg0" }
|
||||||
|
"ui.bufferline" = { fg = "fg1", bg = "bg1" }
|
||||||
|
"ui.bufferline.active" = { fg = "bg0", bg = "yellow0" }
|
||||||
|
"ui.bufferline.background" = { bg = "bg2" }
|
||||||
|
|
||||||
|
"ui.cursor" = { fg = "bg1", bg = "bg2" }
|
||||||
|
"ui.cursor.insert" = { fg = "bg1", bg = "blue0" }
|
||||||
|
"ui.cursor.normal" = { fg = "bg1", bg = "gray" }
|
||||||
|
"ui.cursor.select" = { fg = "bg1", bg = "orange0" }
|
||||||
|
"ui.cursor.match" = { fg = "fg3", bg = "bg3" }
|
||||||
|
|
||||||
|
"ui.cursor.primary" = { bg = "fg3", fg = "bg1" }
|
||||||
|
"ui.cursor.primary.insert" = { fg = "bg1", bg = "blue1" }
|
||||||
|
"ui.cursor.primary.normal" = { fg = "bg1", bg = "fg3" }
|
||||||
|
"ui.cursor.primary.select" = { fg = "bg1", bg = "orange1" }
|
||||||
|
|
||||||
|
"ui.cursorline" = { bg = "bg0_s" }
|
||||||
|
"ui.cursorline.primary" = { bg = "bg1" }
|
||||||
|
|
||||||
|
"ui.help" = { bg = "bg1", fg = "fg1" }
|
||||||
|
"ui.linenr" = { fg = "bg3" }
|
||||||
|
"ui.linenr.selected" = { fg = "yellow1" }
|
||||||
|
"ui.menu" = { fg = "fg1", bg = "bg2" }
|
||||||
|
"ui.menu.selected" = { fg = "green1", bg = "bg1", modifiers = ["bold"] }
|
||||||
|
"ui.popup" = { bg = "bg1" }
|
||||||
|
"ui.picker.header.column" = { underline.style = "line" }
|
||||||
|
"ui.picker.header.column.active" = { modifiers = ["bold"], underline.style = "line" }
|
||||||
|
"ui.selection" = { bg = "bg2" }
|
||||||
|
"ui.selection.primary" = { bg = "bg3" }
|
||||||
|
|
||||||
|
"ui.statusline" = { fg = "fg1", bg = "bg2" }
|
||||||
|
"ui.statusline.inactive" = { fg = "fg4", bg = "bg2" }
|
||||||
|
"ui.statusline.insert" = { fg = "bg1", bg = "blue1", modifiers = ["bold"] }
|
||||||
|
"ui.statusline.normal" = { fg = "bg1", bg = "fg3", modifiers = ["bold"] }
|
||||||
|
"ui.statusline.select" = { fg = "bg1", bg = "orange1", modifiers = ["bold"] }
|
||||||
|
|
||||||
|
"ui.text" = { fg = "fg1" }
|
||||||
|
"ui.text.focus" = { fg = "green1", bg="bg1" }
|
||||||
|
"ui.text.directory" = { fg = "blue1" }
|
||||||
|
"ui.virtual.inlay-hint" = { fg = "gray" }
|
||||||
|
"ui.virtual.jump-label" = { fg = "purple0", modifiers = ["bold"] }
|
||||||
|
"ui.virtual.ruler" = { bg = "bg1" }
|
||||||
|
"ui.virtual.whitespace" = "bg2"
|
||||||
|
"ui.virtual.wrap" = { fg = "bg2" }
|
||||||
|
"ui.window" = { bg = "bg1" }
|
||||||
|
|
||||||
|
"variable" = { fg = "fg1" }
|
||||||
|
"variable.builtin" = { fg = "orange1", modifiers = ["italic"] }
|
||||||
|
"variable.other.member" = { fg = "blue1" }
|
||||||
|
"variable.parameter" = { fg = "blue1", modifiers = ["italic"] }
|
||||||
|
|
||||||
|
|
||||||
|
[palette]
|
||||||
|
bg0 = "#000000" # main background
|
||||||
|
bg0_s = "#32302f"
|
||||||
|
bg1 = "#3c3836"
|
||||||
|
bg2 = "#504945"
|
||||||
|
bg3 = "#665c54"
|
||||||
|
bg4 = "#7c6f64"
|
||||||
|
|
||||||
|
fg0 = "#fbf1c7"
|
||||||
|
fg1 = "#ebdbb2" # main foreground
|
||||||
|
fg2 = "#d5c4a1"
|
||||||
|
fg3 = "#bdae93"
|
||||||
|
fg4 = "#a89984"
|
||||||
|
|
||||||
|
gray = "#928374"
|
||||||
|
|
||||||
|
red0 = "#cc241d" # neutral
|
||||||
|
red1 = "#fb4934" # bright
|
||||||
|
green0 = "#98971a"
|
||||||
|
green1 = "#b8bb26"
|
||||||
|
yellow0 = "#d79921"
|
||||||
|
yellow1 = "#fabd2f"
|
||||||
|
blue0 = "#458588"
|
||||||
|
blue1 = "#83a598"
|
||||||
|
purple0 = "#b16286"
|
||||||
|
purple1 = "#d3869b"
|
||||||
|
aqua0 = "#689d6a"
|
||||||
|
aqua1 = "#8ec07c"
|
||||||
|
orange0 = "#d65d0e"
|
||||||
|
orange1 = "#fe8019"
|
||||||
5
cli/dot-config/jj/config.toml
Normal file
5
cli/dot-config/jj/config.toml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#:schema https://jj-vcs.github.io/jj/latest/config-schema.json
|
||||||
|
|
||||||
|
[user]
|
||||||
|
name = "Jonas Hahn"
|
||||||
|
email = "jonashahn1@gmx.net"
|
||||||
16
cli/dot-config/nap/config.yaml
Normal file
16
cli/dot-config/nap/config.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Configuration
|
||||||
|
default_language: go
|
||||||
|
theme: nord
|
||||||
|
|
||||||
|
# Colors
|
||||||
|
background: "0"
|
||||||
|
foreground: "7"
|
||||||
|
primary_color: "#AFBEE1"
|
||||||
|
primary_color_subdued: "#64708D"
|
||||||
|
green: "#527251"
|
||||||
|
bright_green: "#BCE1AF"
|
||||||
|
bright_red: "#E49393"
|
||||||
|
red: "#A46060"
|
||||||
|
black: "#888888"
|
||||||
|
gray: "#FFFFFF"
|
||||||
|
white: "#FFFFFF"
|
||||||
@@ -62,6 +62,7 @@ nick_mode = prefix
|
|||||||
nick_mode_empty = off
|
nick_mode_empty = off
|
||||||
nicks_hide_password = "nickserv"
|
nicks_hide_password = "nickserv"
|
||||||
notice_as_pv = auto
|
notice_as_pv = auto
|
||||||
|
notice_nicks_disable_notify = "chanserv,nickserv"
|
||||||
notice_welcome_redirect = on
|
notice_welcome_redirect = on
|
||||||
notice_welcome_tags = ""
|
notice_welcome_tags = ""
|
||||||
notify_tags_ison = "notify_message"
|
notify_tags_ison = "notify_message"
|
||||||
|
|||||||
@@ -62,6 +62,8 @@ backlog_time_format = "[%H:%M] "
|
|||||||
remote_autoreconnect_delay_growing = 2
|
remote_autoreconnect_delay_growing = 2
|
||||||
remote_autoreconnect_delay_max = 600
|
remote_autoreconnect_delay_max = 600
|
||||||
remote_get_lines = 1000
|
remote_get_lines = 1000
|
||||||
|
remote_input_cmd_local = " ${color:green}<local cmd>"
|
||||||
|
remote_input_cmd_remote = " ${color:red}<remote cmd>"
|
||||||
|
|
||||||
[port]
|
[port]
|
||||||
|
|
||||||
|
|||||||
@@ -17,4 +17,4 @@ salt = on
|
|||||||
|
|
||||||
[data]
|
[data]
|
||||||
__passphrase__ = on
|
__passphrase__ = on
|
||||||
libera_password = "A4AE45D22CFB0C1925758BD65F1EC012311404966DFCFDB714E0150D3F17E867AB969A616A06BDF9F7F5B7443249552EF3B613D8F40AECE9D164"
|
libera_password = "B0880AFBE996D9870D77AFB8160D7949A56A4903CDAFF670A8ED66232CCE98D5561BC45D60F7DBF9E974E63E5A9486234C3E32632366BDD1A81B"
|
||||||
|
|||||||
@@ -138,8 +138,10 @@ scroll_page_percent = 100
|
|||||||
search_text_not_found_alert = on
|
search_text_not_found_alert = on
|
||||||
separator_horizontal = "-"
|
separator_horizontal = "-"
|
||||||
separator_vertical = ""
|
separator_vertical = ""
|
||||||
|
tab_whitespace_char = "→"
|
||||||
tab_width = 1
|
tab_width = 1
|
||||||
time_format = "%a, %d %b %Y %T"
|
time_format = "%a, %d %b %Y %T"
|
||||||
|
whitespace_char = "·"
|
||||||
window_auto_zoom = off
|
window_auto_zoom = off
|
||||||
window_separator_horizontal = on
|
window_separator_horizontal = on
|
||||||
window_separator_vertical = on
|
window_separator_vertical = on
|
||||||
@@ -231,7 +233,9 @@ nick_case_sensitive = off
|
|||||||
nick_completer = ": "
|
nick_completer = ": "
|
||||||
nick_first_only = off
|
nick_first_only = off
|
||||||
nick_ignore_chars = "[]`_-^"
|
nick_ignore_chars = "[]`_-^"
|
||||||
|
nick_ignore_words = ""
|
||||||
partial_completion_alert = on
|
partial_completion_alert = on
|
||||||
|
partial_completion_auto_expand = on
|
||||||
partial_completion_command = off
|
partial_completion_command = off
|
||||||
partial_completion_command_arg = off
|
partial_completion_command_arg = off
|
||||||
partial_completion_count = on
|
partial_completion_count = on
|
||||||
|
|||||||
35
cli/dot-config/yazi/init.lua
Normal file
35
cli/dot-config/yazi/init.lua
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
require("starship"):setup()
|
||||||
|
|
||||||
|
require("gpg"):setup {
|
||||||
|
default_recipient = "jonashahn1@gmx.net",
|
||||||
|
delete_after = true,
|
||||||
|
}
|
||||||
|
|
||||||
|
require("git"):setup()
|
||||||
|
|
||||||
|
-- https://github.com/MasouShizuka/projects.yazi
|
||||||
|
--require("projects"):setup({
|
||||||
|
-- save = {
|
||||||
|
-- method = "lua",
|
||||||
|
-- },
|
||||||
|
-- last = {
|
||||||
|
-- update_after_save = true,
|
||||||
|
-- update_after_load = true,
|
||||||
|
-- load_after_start = true,
|
||||||
|
-- },
|
||||||
|
-- notify = {
|
||||||
|
-- enable = false,
|
||||||
|
-- },
|
||||||
|
--})
|
||||||
|
|
||||||
|
function Linemode:line_info()
|
||||||
|
local time = math.floor(self._file.cha.mtime or 0)
|
||||||
|
if time == 0 then
|
||||||
|
time = ""
|
||||||
|
elseif os.date("%Y", time) == os.date("%Y") then
|
||||||
|
time = os.date("%b %d %H:%M", time)
|
||||||
|
else
|
||||||
|
time = os.date("%b %d %Y", time)
|
||||||
|
end
|
||||||
|
return time
|
||||||
|
end
|
||||||
@@ -10,9 +10,13 @@ prepend_keymap = [
|
|||||||
|
|
||||||
# Chmod in yazi
|
# Chmod in yazi
|
||||||
{on = [ "c", "m" ],run = "plugin chmod",desc = "Chmod on selected files"},
|
{on = [ "c", "m" ],run = "plugin chmod",desc = "Chmod on selected files"},
|
||||||
|
{on = [ "g", "E" ],run = "plugin gpg",desc = "Gpg the hovered file"},
|
||||||
|
#{on = [ "q" ],run = "plugin projects quit",desc = "Quit with save"},
|
||||||
|
{on = [ "M" ],run = "plugin mount",desc = "Quit with save"},
|
||||||
|
|
||||||
# Recover the last delted file
|
# Recover the last delted file
|
||||||
{ on = ["u"], run = "plugin restore", desc = "Restore last deleted files/folders" },
|
{ on = ["u"], run = "plugin restore", desc = "Restore last deleted files/folders" },
|
||||||
|
{ on = ["T"], run = "plugin toggle-pane max-preview", desc = "Restore last deleted files/folders" },
|
||||||
|
|
||||||
# Get the size of the cwd
|
# Get the size of the cwd
|
||||||
{ on = [ "\\", "s" ], run = "plugin what-size", desc = "Calc size of selection or cwd" },
|
{ on = [ "\\", "s" ], run = "plugin what-size", desc = "Calc size of selection or cwd" },
|
||||||
@@ -32,18 +36,19 @@ prepend_keymap = [
|
|||||||
# More mappings
|
# More mappings
|
||||||
append_keymap = [
|
append_keymap = [
|
||||||
# Default jumping to stuff
|
# Default jumping to stuff
|
||||||
{ on = [ "g", "s" ], run = "cd /webdav", desc = "Go to webdav folder" },
|
|
||||||
{ on = [ "g", "u" ], run = "cd ~/projects/university", desc = "Go to university folder" },
|
{ on = [ "g", "u" ], run = "cd ~/projects/university", desc = "Go to university folder" },
|
||||||
{ on = [ "g", "n" ], run = "cd ~/nixos", desc = "Go to nixos folder" },
|
{ on = [ "g", "n" ], run = "cd ~/nixos", desc = "Go to nixos folder" },
|
||||||
{ on = [ "g", "p" ], run = "cd ~/projects", desc = "Go to projects folder" },
|
{ on = [ "g", "p" ], run = "cd ~/projects", desc = "Go to projects folder" },
|
||||||
{ on = [ "g", "w" ], run = "cd ~/workspace_local", desc = "Go to workspace" },
|
{ on = [ "g", "w" ], run = "cd ~/workspace", desc = "Go to workspace" },
|
||||||
{ on = [ "g", "e" ], run = "cd ~/dotfiles", desc = "Go to dotfiles" },
|
{ on = [ "g", "e" ], run = "cd ~/dotfiles", desc = "Go to dotfiles" },
|
||||||
{ on = [ "g", "r" ], run = "cd /", desc = "Go to root" },
|
{ on = [ "g", "r" ], run = "cd /", desc = "Go to root" },
|
||||||
{ on = [ "g", "b" ], run = "cd /shared", desc = "Go to hdd" },
|
{ on = [ "g", "b" ], run = "cd /shared", desc = "Go to hdd" },
|
||||||
{ on = [ "g", "l" ], run = "cd ~/.local", desc = "Go to Local" },
|
{ on = [ "g", "l" ], run = "cd ~/.local", desc = "Go to Local" },
|
||||||
{ on = [ "g", "o" ], run = "cd ~/Documents", desc = "Go to Docs" },
|
{ on = [ "g", "x" ], run = "cd ~/Nextcloud", desc = "Go to nextcloud" },
|
||||||
{ on = [ "g", "a" ], run = "cd ~/.cache", desc = "Go to Cache" },
|
{ on = [ "g", "a" ], run = "cd ~/.cache", desc = "Go to Cache" },
|
||||||
{ on = [ "g", "t" ], run = "cd ~/.local/share/Trash", desc = "Go to Trash" },
|
{ on = [ "g", "T" ], run = "cd ~/.local/share/Trash", desc = "Go to trash" },
|
||||||
{ on = [ "g", "U" ], run = "cd ~/projects/university/pdfs", desc = "Go to Uni PDF" },
|
{ on = [ "g", "t" ], run = "cd ~/Nextcloud/Notes", desc = "Go to notes" },
|
||||||
|
{ on = [ "g", "U" ], run = "cd ~/Nextcloud/University/current", desc = "Go to Uni" },
|
||||||
|
{ on = [ "g", "C" ], run = "cd ~/projects/university/S3", desc = "Go to current semester" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -5,13 +5,13 @@ hash = "ee71543790f0ce3951161045a3787abd"
|
|||||||
|
|
||||||
[[plugin.deps]]
|
[[plugin.deps]]
|
||||||
use = "yazi-rs/plugins:chmod"
|
use = "yazi-rs/plugins:chmod"
|
||||||
rev = "d1c8baa"
|
rev = "8f1d971"
|
||||||
hash = "8ad3e90b079190b4905f24a44f4ca06b"
|
hash = "8ad3e90b079190b4905f24a44f4ca06b"
|
||||||
|
|
||||||
[[plugin.deps]]
|
[[plugin.deps]]
|
||||||
use = "boydaihungst/restore"
|
use = "boydaihungst/restore"
|
||||||
rev = "dc40509"
|
rev = "2161735"
|
||||||
hash = "e7e377f9b1bbaca4a2e5d9ec9709ac4d"
|
hash = "901741afba1979739b4650324265162e"
|
||||||
|
|
||||||
[[plugin.deps]]
|
[[plugin.deps]]
|
||||||
use = "pirafrank/what-size"
|
use = "pirafrank/what-size"
|
||||||
@@ -23,6 +23,31 @@ use = "dedukun/bookmarks"
|
|||||||
rev = "9ef1254"
|
rev = "9ef1254"
|
||||||
hash = "92fbb5483657fa7976cdf4e0104e18e0"
|
hash = "92fbb5483657fa7976cdf4e0104e18e0"
|
||||||
|
|
||||||
|
[[plugin.deps]]
|
||||||
|
use = "Ascyii/gpg"
|
||||||
|
rev = "58fccf8"
|
||||||
|
hash = "b6a8d73d6f0be9aeb9be2077b062ca84"
|
||||||
|
|
||||||
|
[[plugin.deps]]
|
||||||
|
use = "Rolv-Apneseth/starship"
|
||||||
|
rev = "a63550b"
|
||||||
|
hash = "c2021386289a0cbb3e152a052f67c177"
|
||||||
|
|
||||||
|
[[plugin.deps]]
|
||||||
|
use = "yazi-rs/plugins:mount"
|
||||||
|
rev = "8f1d971"
|
||||||
|
hash = "4fccaaf10c36dc2466e2438a386ff017"
|
||||||
|
|
||||||
|
[[plugin.deps]]
|
||||||
|
use = "yazi-rs/plugins:git"
|
||||||
|
rev = "8f1d971"
|
||||||
|
hash = "63b6c222bf2103b3023389dde5e2ecfe"
|
||||||
|
|
||||||
|
[[plugin.deps]]
|
||||||
|
use = "yazi-rs/plugins:toggle-pane"
|
||||||
|
rev = "8f1d971"
|
||||||
|
hash = "8a7c58225816a163a6e8730c0adafbc8"
|
||||||
|
|
||||||
[[flavor.deps]]
|
[[flavor.deps]]
|
||||||
use = "dangooddd/kanagawa"
|
use = "dangooddd/kanagawa"
|
||||||
rev = "a0b1d9d"
|
rev = "a0b1d9d"
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
[mgr]
|
[mgr]
|
||||||
sort_by = "extension"
|
sort_by = "mtime"
|
||||||
|
linemode = "line_info"
|
||||||
|
sort_reverse = true
|
||||||
|
sort_dir_first = true
|
||||||
show_hidden = false
|
show_hidden = false
|
||||||
|
mouse_events = []
|
||||||
|
|
||||||
[opener]
|
[opener]
|
||||||
imagefeh = [
|
image = [
|
||||||
{ run = 'gtk4-launch fehcustom.desktop "$@"', orphan = true, for = "unix" },
|
{ run = 'gtk4-launch fehcustom.desktop "$@"', orphan = true, for = "unix" },
|
||||||
]
|
]
|
||||||
play = [
|
play = [
|
||||||
@@ -16,6 +20,9 @@ open = [
|
|||||||
{ run = 'xdg-open "$@"', desc = "Open" },
|
{ run = 'xdg-open "$@"', desc = "Open" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[confirm]
|
||||||
|
quit = false
|
||||||
|
|
||||||
[open]
|
[open]
|
||||||
prepend_rules = [
|
prepend_rules = [
|
||||||
{ mime = "application/pdf", use = "open" },
|
{ mime = "application/pdf", use = "open" },
|
||||||
@@ -23,10 +30,20 @@ prepend_rules = [
|
|||||||
{ name = "*.html", use = [ "open" ] },
|
{ name = "*.html", use = [ "open" ] },
|
||||||
]
|
]
|
||||||
rules = [
|
rules = [
|
||||||
{ mime = "image/*", use = "imagefeh" },
|
{ mime = "image/*", use = "image" },
|
||||||
{ mime = "text/*", use = "edit" },
|
{ mime = "text/*", use = "edit" },
|
||||||
{ mime = "video/*", use = "play" },
|
{ mime = "video/*", use = "play" },
|
||||||
]
|
]
|
||||||
append_rules = [
|
append_rules = [
|
||||||
{ name = "*", use = ["edit", "open", "play"]}
|
{ name = "*", use = ["edit", "open", "image", "play"]}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[plugin.prepend_fetchers]]
|
||||||
|
id = "git"
|
||||||
|
name = "*"
|
||||||
|
run = "git"
|
||||||
|
|
||||||
|
[[plugin.prepend_fetchers]]
|
||||||
|
id = "git"
|
||||||
|
name = "*/"
|
||||||
|
run = "git"
|
||||||
|
|||||||
521
cli/dot-config/zellij/config.kdl
Normal file
521
cli/dot-config/zellij/config.kdl
Normal file
@@ -0,0 +1,521 @@
|
|||||||
|
// Jonas zellij config to make life better
|
||||||
|
|
||||||
|
keybinds clear-defaults=true {
|
||||||
|
locked {
|
||||||
|
bind "Ctrl g" { SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
pane {
|
||||||
|
bind "left" { MoveFocus "left"; }
|
||||||
|
bind "down" { MoveFocus "down"; }
|
||||||
|
bind "up" { MoveFocus "up"; }
|
||||||
|
bind "right" { MoveFocus "right"; }
|
||||||
|
bind "c" { SwitchToMode "renamepane"; PaneNameInput 0; }
|
||||||
|
bind "d" { NewPane "down"; SwitchToMode "locked"; }
|
||||||
|
bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "locked"; }
|
||||||
|
bind "f" { ToggleFocusFullscreen; SwitchToMode "locked"; }
|
||||||
|
bind "h" { MoveFocus "left"; }
|
||||||
|
bind "i" { TogglePanePinned; SwitchToMode "locked"; }
|
||||||
|
bind "j" { MoveFocus "down"; }
|
||||||
|
bind "k" { MoveFocus "up"; }
|
||||||
|
bind "l" { MoveFocus "right"; }
|
||||||
|
bind "n" { NewPane; SwitchToMode "locked"; }
|
||||||
|
bind "p" { SwitchToMode "normal"; }
|
||||||
|
bind "r" { NewPane "right"; SwitchToMode "locked"; }
|
||||||
|
bind "s" { NewPane "stacked"; SwitchToMode "locked"; }
|
||||||
|
bind "w" { ToggleFloatingPanes; SwitchToMode "locked"; }
|
||||||
|
bind "x" { CloseFocus; SwitchToMode "locked"; }
|
||||||
|
bind "z" { TogglePaneFrames; SwitchToMode "locked"; }
|
||||||
|
bind "tab" { SwitchFocus; }
|
||||||
|
}
|
||||||
|
tab {
|
||||||
|
bind "left" { GoToPreviousTab; }
|
||||||
|
bind "down" { GoToNextTab; }
|
||||||
|
bind "up" { GoToPreviousTab; }
|
||||||
|
bind "right" { GoToNextTab; }
|
||||||
|
bind "1" { GoToTab 1; SwitchToMode "locked"; }
|
||||||
|
bind "2" { GoToTab 2; SwitchToMode "locked"; }
|
||||||
|
bind "3" { GoToTab 3; SwitchToMode "locked"; }
|
||||||
|
bind "4" { GoToTab 4; SwitchToMode "locked"; }
|
||||||
|
bind "5" { GoToTab 5; SwitchToMode "locked"; }
|
||||||
|
bind "6" { GoToTab 6; SwitchToMode "locked"; }
|
||||||
|
bind "7" { GoToTab 7; SwitchToMode "locked"; }
|
||||||
|
bind "8" { GoToTab 8; SwitchToMode "locked"; }
|
||||||
|
bind "9" { GoToTab 9; SwitchToMode "locked"; }
|
||||||
|
bind "[" { BreakPaneLeft; SwitchToMode "locked"; }
|
||||||
|
bind "]" { BreakPaneRight; SwitchToMode "locked"; }
|
||||||
|
bind "b" { BreakPane; SwitchToMode "locked"; }
|
||||||
|
bind "h" { GoToPreviousTab; }
|
||||||
|
bind "j" { GoToNextTab; }
|
||||||
|
bind "k" { GoToPreviousTab; }
|
||||||
|
bind "l" { GoToNextTab; }
|
||||||
|
bind "n" { NewTab; SwitchToMode "locked"; }
|
||||||
|
bind "r" { SwitchToMode "renametab"; TabNameInput 0; }
|
||||||
|
bind "s" { ToggleActiveSyncTab; SwitchToMode "locked"; }
|
||||||
|
bind "t" { SwitchToMode "normal"; }
|
||||||
|
bind "x" { CloseTab; SwitchToMode "locked"; }
|
||||||
|
bind "tab" { ToggleTab; }
|
||||||
|
}
|
||||||
|
resize {
|
||||||
|
bind "left" { Resize "Increase left"; }
|
||||||
|
bind "down" { Resize "Increase down"; }
|
||||||
|
bind "up" { Resize "Increase up"; }
|
||||||
|
bind "right" { Resize "Increase right"; }
|
||||||
|
bind "+" { Resize "Increase"; }
|
||||||
|
bind "-" { Resize "Decrease"; }
|
||||||
|
bind "=" { Resize "Increase"; }
|
||||||
|
bind "H" { Resize "Decrease left"; }
|
||||||
|
bind "J" { Resize "Decrease down"; }
|
||||||
|
bind "K" { Resize "Decrease up"; }
|
||||||
|
bind "L" { Resize "Decrease right"; }
|
||||||
|
bind "h" { Resize "Increase left"; }
|
||||||
|
bind "j" { Resize "Increase down"; }
|
||||||
|
bind "k" { Resize "Increase up"; }
|
||||||
|
bind "l" { Resize "Increase right"; }
|
||||||
|
bind "r" { SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
move {
|
||||||
|
bind "left" { MovePane "left"; }
|
||||||
|
bind "down" { MovePane "down"; }
|
||||||
|
bind "up" { MovePane "up"; }
|
||||||
|
bind "right" { MovePane "right"; }
|
||||||
|
bind "h" { MovePane "left"; }
|
||||||
|
bind "j" { MovePane "down"; }
|
||||||
|
bind "k" { MovePane "up"; }
|
||||||
|
bind "l" { MovePane "right"; }
|
||||||
|
bind "m" { SwitchToMode "normal"; }
|
||||||
|
bind "n" { MovePane; }
|
||||||
|
bind "p" { MovePaneBackwards; }
|
||||||
|
bind "tab" { MovePane; }
|
||||||
|
}
|
||||||
|
scroll {
|
||||||
|
bind "Alt left" { MoveFocusOrTab "left"; SwitchToMode "locked"; }
|
||||||
|
bind "Alt down" { MoveFocus "down"; SwitchToMode "locked"; }
|
||||||
|
bind "Alt up" { MoveFocus "up"; SwitchToMode "locked"; }
|
||||||
|
bind "Alt right" { MoveFocusOrTab "right"; SwitchToMode "locked"; }
|
||||||
|
bind "e" { EditScrollback; SwitchToMode "locked"; }
|
||||||
|
bind "f" { SwitchToMode "entersearch"; SearchInput 0; }
|
||||||
|
bind "Alt h" { MoveFocusOrTab "left"; SwitchToMode "locked"; }
|
||||||
|
bind "Alt j" { MoveFocus "down"; SwitchToMode "locked"; }
|
||||||
|
bind "Alt k" { MoveFocus "up"; SwitchToMode "locked"; }
|
||||||
|
bind "Alt l" { MoveFocusOrTab "right"; SwitchToMode "locked"; }
|
||||||
|
bind "s" { SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
search {
|
||||||
|
bind "c" { SearchToggleOption "CaseSensitivity"; }
|
||||||
|
bind "n" { Search "down"; }
|
||||||
|
bind "o" { SearchToggleOption "WholeWord"; }
|
||||||
|
bind "p" { Search "up"; }
|
||||||
|
bind "w" { SearchToggleOption "Wrap"; }
|
||||||
|
}
|
||||||
|
session {
|
||||||
|
bind "a" {
|
||||||
|
LaunchOrFocusPlugin "zellij:about" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "locked"
|
||||||
|
}
|
||||||
|
bind "c" {
|
||||||
|
LaunchOrFocusPlugin "configuration" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "locked"
|
||||||
|
}
|
||||||
|
bind "d" { Detach; }
|
||||||
|
bind "o" { SwitchToMode "normal"; }
|
||||||
|
bind "p" {
|
||||||
|
LaunchOrFocusPlugin "plugin-manager" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "locked"
|
||||||
|
}
|
||||||
|
bind "s" {
|
||||||
|
LaunchOrFocusPlugin "zellij:share" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "locked"
|
||||||
|
}
|
||||||
|
bind "w" {
|
||||||
|
LaunchOrFocusPlugin "session-manager" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "locked"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
shared_among "normal" "locked" {
|
||||||
|
bind "Alt left" { MoveFocusOrTab "left"; }
|
||||||
|
bind "Alt down" { MoveFocus "down"; }
|
||||||
|
bind "Alt up" { MoveFocus "up"; }
|
||||||
|
bind "Alt right" { MoveFocusOrTab "right"; }
|
||||||
|
bind "Alt +" { Resize "Increase"; }
|
||||||
|
bind "Alt -" { Resize "Decrease"; }
|
||||||
|
bind "Alt =" { Resize "Increase"; }
|
||||||
|
bind "Alt [" { PreviousSwapLayout; }
|
||||||
|
bind "Alt ]" { NextSwapLayout; }
|
||||||
|
bind "Alt f" { ToggleFloatingPanes; }
|
||||||
|
bind "Alt h" { MoveFocusOrTab "left"; }
|
||||||
|
bind "Alt i" { MoveTab "left"; }
|
||||||
|
bind "Alt j" { MoveFocus "down"; }
|
||||||
|
bind "Alt k" { MoveFocus "up"; }
|
||||||
|
bind "Alt l" { MoveFocusOrTab "right"; }
|
||||||
|
bind "Alt n" { NewPane; }
|
||||||
|
bind "Alt Shift n" { NewTab; }
|
||||||
|
bind "Alt p" { TogglePaneInGroup; }
|
||||||
|
bind "Alt Shift p" { ToggleGroupMarking; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "renametab" "renamepane" {
|
||||||
|
bind "Ctrl g" { SwitchToMode "locked"; }
|
||||||
|
bind "Ctrl q" { Quit; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "entersearch" {
|
||||||
|
bind "enter" { SwitchToMode "locked"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "entersearch" "renametab" "renamepane" {
|
||||||
|
bind "esc" { SwitchToMode "locked"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "entersearch" "renametab" "renamepane" "move" {
|
||||||
|
bind "m" { SwitchToMode "move"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "entersearch" "search" "renametab" "renamepane" "session" {
|
||||||
|
bind "o" { SwitchToMode "session"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "tab" "entersearch" "renametab" "renamepane" {
|
||||||
|
bind "t" { SwitchToMode "tab"; }
|
||||||
|
}
|
||||||
|
shared_among "normal" "resize" "tab" "scroll" "prompt" "tmux" {
|
||||||
|
bind "p" { SwitchToMode "pane"; }
|
||||||
|
}
|
||||||
|
shared_among "normal" "resize" "search" "move" "prompt" "tmux" {
|
||||||
|
bind "s" { SwitchToMode "scroll"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "resize" "pane" "tab" "entersearch" "renametab" "renamepane" {
|
||||||
|
bind "r" { SwitchToMode "resize"; }
|
||||||
|
}
|
||||||
|
shared_among "scroll" "search" {
|
||||||
|
bind "PageDown" { PageScrollDown; }
|
||||||
|
bind "PageUp" { PageScrollUp; }
|
||||||
|
bind "left" { PageScrollUp; }
|
||||||
|
bind "down" { ScrollDown; }
|
||||||
|
bind "up" { ScrollUp; }
|
||||||
|
bind "right" { PageScrollDown; }
|
||||||
|
bind "Ctrl b" { PageScrollUp; }
|
||||||
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "locked"; }
|
||||||
|
bind "d" { HalfPageScrollDown; }
|
||||||
|
bind "Ctrl f" { PageScrollDown; }
|
||||||
|
bind "h" { PageScrollUp; }
|
||||||
|
bind "j" { ScrollDown; }
|
||||||
|
bind "k" { ScrollUp; }
|
||||||
|
bind "l" { PageScrollDown; }
|
||||||
|
bind "u" { HalfPageScrollUp; }
|
||||||
|
}
|
||||||
|
entersearch {
|
||||||
|
bind "Ctrl c" { SwitchToMode "scroll"; }
|
||||||
|
bind "esc" { SwitchToMode "scroll"; }
|
||||||
|
bind "enter" { SwitchToMode "search"; }
|
||||||
|
}
|
||||||
|
renametab {
|
||||||
|
bind "esc" { UndoRenameTab; SwitchToMode "tab"; }
|
||||||
|
}
|
||||||
|
shared_among "renametab" "renamepane" {
|
||||||
|
bind "Ctrl c" { SwitchToMode "locked"; }
|
||||||
|
}
|
||||||
|
renamepane {
|
||||||
|
bind "esc" { UndoRenamePane; SwitchToMode "pane"; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Plugin aliases - can be used to change the implementation of Zellij
|
||||||
|
// changing these requires a restart to take effect
|
||||||
|
plugins {
|
||||||
|
about location="zellij:about"
|
||||||
|
compact-bar location="zellij:compact-bar"
|
||||||
|
// compact-bar location="zellij:compact-bar" {
|
||||||
|
// tooltip "F1"
|
||||||
|
// }
|
||||||
|
configuration location="zellij:configuration"
|
||||||
|
filepicker location="zellij:strider" {
|
||||||
|
cwd "/"
|
||||||
|
}
|
||||||
|
plugin-manager location="zellij:plugin-manager"
|
||||||
|
session-manager location="zellij:session-manager"
|
||||||
|
status-bar location="zellij:status-bar"
|
||||||
|
strider location="zellij:strider"
|
||||||
|
tab-bar location="zellij:tab-bar"
|
||||||
|
welcome-screen location="zellij:session-manager" {
|
||||||
|
welcome_screen true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Plugins to load in the background when a new session starts
|
||||||
|
// eg. "file:/path/to/my-plugin.wasm"
|
||||||
|
// eg. "https://example.com/my-plugin.wasm"
|
||||||
|
load_plugins {
|
||||||
|
}
|
||||||
|
web_client {
|
||||||
|
font "monospace"
|
||||||
|
}
|
||||||
|
|
||||||
|
// Use a simplified UI without special fonts (arrow glyphs)
|
||||||
|
// Options:
|
||||||
|
// - true
|
||||||
|
// - false (Default)
|
||||||
|
//
|
||||||
|
simplified_ui true
|
||||||
|
|
||||||
|
// Choose the theme that is specified in the themes section.
|
||||||
|
// Default: default
|
||||||
|
//
|
||||||
|
theme "gruvbox-dark"
|
||||||
|
|
||||||
|
// Choose the base input mode of zellij.
|
||||||
|
// Default: normal
|
||||||
|
//
|
||||||
|
default_mode "locked"
|
||||||
|
|
||||||
|
// Choose the path to the default shell that zellij will use for opening new panes
|
||||||
|
// Default: $SHELL
|
||||||
|
//
|
||||||
|
// default_shell "fish"
|
||||||
|
|
||||||
|
// Choose the path to override cwd that zellij will use for opening new panes
|
||||||
|
//
|
||||||
|
// default_cwd "/tmp"
|
||||||
|
|
||||||
|
// The name of the default layout to load on startup
|
||||||
|
// Default: "default"
|
||||||
|
//
|
||||||
|
default_layout "compact"
|
||||||
|
|
||||||
|
// The folder in which Zellij will look for layouts
|
||||||
|
// (Requires restart)
|
||||||
|
//
|
||||||
|
// layout_dir "/tmp"
|
||||||
|
|
||||||
|
// The folder in which Zellij will look for themes
|
||||||
|
// (Requires restart)
|
||||||
|
//
|
||||||
|
// theme_dir "/tmp"
|
||||||
|
|
||||||
|
// Toggle enabling the mouse mode.
|
||||||
|
// On certain configurations, or terminals this could
|
||||||
|
// potentially interfere with copying text.
|
||||||
|
// Options:
|
||||||
|
// - true (default)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
mouse_mode false
|
||||||
|
|
||||||
|
// Toggle having pane frames around the panes
|
||||||
|
// Options:
|
||||||
|
// - true (default, enabled)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
pane_frames false
|
||||||
|
|
||||||
|
// When attaching to an existing session with other users,
|
||||||
|
// should the session be mirrored (true)
|
||||||
|
// or should each user have their own cursor (false)
|
||||||
|
// (Requires restart)
|
||||||
|
// Default: false
|
||||||
|
//
|
||||||
|
// mirror_session true
|
||||||
|
|
||||||
|
// Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
|
||||||
|
// eg. when terminal window with an active zellij session is closed
|
||||||
|
// (Requires restart)
|
||||||
|
// Options:
|
||||||
|
// - detach (Default)
|
||||||
|
// - quit
|
||||||
|
//
|
||||||
|
// on_force_close "quit"
|
||||||
|
|
||||||
|
// Configure the scroll back buffer size
|
||||||
|
// This is the number of lines zellij stores for each pane in the scroll back
|
||||||
|
// buffer. Excess number of lines are discarded in a FIFO fashion.
|
||||||
|
// (Requires restart)
|
||||||
|
// Valid values: positive integers
|
||||||
|
// Default value: 10000
|
||||||
|
//
|
||||||
|
// scroll_buffer_size 10000
|
||||||
|
|
||||||
|
// Provide a command to execute when copying text. The text will be piped to
|
||||||
|
// the stdin of the program to perform the copy. This can be used with
|
||||||
|
// terminal emulators which do not support the OSC 52 ANSI control sequence
|
||||||
|
// that will be used by default if this option is not set.
|
||||||
|
// Examples:
|
||||||
|
//
|
||||||
|
// copy_command "xclip -selection clipboard" // x11
|
||||||
|
copy_command "wl-copy" // wayland
|
||||||
|
// copy_command "pbcopy" // osx
|
||||||
|
//
|
||||||
|
// copy_command "pbcopy"
|
||||||
|
|
||||||
|
// Choose the destination for copied text
|
||||||
|
// Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard.
|
||||||
|
// Does not apply when using copy_command.
|
||||||
|
// Options:
|
||||||
|
// - system (default)
|
||||||
|
// - primary
|
||||||
|
//
|
||||||
|
// copy_clipboard "primary"
|
||||||
|
|
||||||
|
// Enable automatic copying (and clearing) of selection when releasing mouse
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
// copy_on_select true
|
||||||
|
|
||||||
|
// Path to the default editor to use to edit pane scrollbuffer
|
||||||
|
// Default: $EDITOR or $VISUAL
|
||||||
|
// scrollback_editor "/usr/bin/vim"
|
||||||
|
|
||||||
|
// A fixed name to always give the Zellij session.
|
||||||
|
// Consider also setting `attach_to_session true,`
|
||||||
|
// otherwise this will error if such a session exists.
|
||||||
|
// Default: <RANDOM>
|
||||||
|
//
|
||||||
|
session_name "MainSess"
|
||||||
|
|
||||||
|
// When `session_name` is provided, attaches to that session
|
||||||
|
// if it is already running or creates it otherwise.
|
||||||
|
// Default: false
|
||||||
|
//
|
||||||
|
attach_to_session true
|
||||||
|
|
||||||
|
// Toggle between having Zellij lay out panes according to a predefined set of layouts whenever possible
|
||||||
|
// Options:
|
||||||
|
// - true (default)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
// auto_layout false
|
||||||
|
|
||||||
|
// Whether sessions should be serialized to the cache folder (including their tabs/panes, cwds and running commands) so that they can later be resurrected
|
||||||
|
// Options:
|
||||||
|
// - true (default)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
// session_serialization false
|
||||||
|
|
||||||
|
// Whether pane viewports are serialized along with the session, default is false
|
||||||
|
// Options:
|
||||||
|
// - true
|
||||||
|
// - false (default)
|
||||||
|
//
|
||||||
|
// serialize_pane_viewport false
|
||||||
|
|
||||||
|
// Scrollback lines to serialize along with the pane viewport when serializing sessions, 0
|
||||||
|
// defaults to the scrollback size. If this number is higher than the scrollback size, it will
|
||||||
|
// also default to the scrollback size. This does nothing if `serialize_pane_viewport` is not true.
|
||||||
|
//
|
||||||
|
// scrollback_lines_to_serialize 10000
|
||||||
|
|
||||||
|
// Enable or disable the rendering of styled and colored underlines (undercurl).
|
||||||
|
// May need to be disabled for certain unsupported terminals
|
||||||
|
// (Requires restart)
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
// styled_underlines false
|
||||||
|
|
||||||
|
// How often in seconds sessions are serialized
|
||||||
|
//
|
||||||
|
// serialization_interval 10000
|
||||||
|
|
||||||
|
// Enable or disable writing of session metadata to disk (if disabled, other sessions might not know
|
||||||
|
// metadata info on this session)
|
||||||
|
// (Requires restart)
|
||||||
|
// Default: false
|
||||||
|
//
|
||||||
|
// disable_session_metadata false
|
||||||
|
|
||||||
|
// Enable or disable support for the enhanced Kitty Keyboard Protocol (the host terminal must also support it)
|
||||||
|
// (Requires restart)
|
||||||
|
// Default: true (if the host terminal supports it)
|
||||||
|
//
|
||||||
|
// support_kitty_keyboard_protocol false
|
||||||
|
// Whether to make sure a local web server is running when a new Zellij session starts.
|
||||||
|
// This web server will allow creating new sessions and attaching to existing ones that have
|
||||||
|
// opted in to being shared in the browser.
|
||||||
|
// When enabled, navigate to http://127.0.0.1:8082
|
||||||
|
// (Requires restart)
|
||||||
|
//
|
||||||
|
// Note: a local web server can still be manually started from within a Zellij session or from the CLI.
|
||||||
|
// If this is not desired, one can use a version of Zellij compiled without
|
||||||
|
// `web_server_capability`
|
||||||
|
//
|
||||||
|
// Possible values:
|
||||||
|
// - true
|
||||||
|
// - false
|
||||||
|
// Default: false
|
||||||
|
//
|
||||||
|
// web_server false
|
||||||
|
// Whether to allow sessions started in the terminal to be shared through a local web server, assuming one is
|
||||||
|
// running (see the `web_server` option for more details).
|
||||||
|
// (Requires restart)
|
||||||
|
//
|
||||||
|
// Note: This is an administrative separation and not intended as a security measure.
|
||||||
|
//
|
||||||
|
// Possible values:
|
||||||
|
// - "on" (allow web sharing through the local web server if it
|
||||||
|
// is online)
|
||||||
|
// - "off" (do not allow web sharing unless sessions explicitly opt-in to it)
|
||||||
|
// - "disabled" (do not allow web sharing and do not permit sessions started in the terminal to opt-in to it)
|
||||||
|
// Default: "off"
|
||||||
|
//
|
||||||
|
// web_sharing "off"
|
||||||
|
// A path to a certificate file to be used when setting up the web client to serve the
|
||||||
|
// connection over HTTPs
|
||||||
|
//
|
||||||
|
// web_server_cert "/path/to/cert.pem"
|
||||||
|
// A path to a key file to be used when setting up the web client to serve the
|
||||||
|
// connection over HTTPs
|
||||||
|
//
|
||||||
|
// web_server_key "/path/to/key.pem"
|
||||||
|
/// Whether to enforce https connections to the web server when it is bound to localhost
|
||||||
|
/// (127.0.0.0/8)
|
||||||
|
///
|
||||||
|
/// Note: https is ALWAYS enforced when bound to non-local interfaces
|
||||||
|
///
|
||||||
|
/// Default: false
|
||||||
|
//
|
||||||
|
// enforce_https_for_localhost false
|
||||||
|
|
||||||
|
// Whether to stack panes when resizing beyond a certain size
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
// stacked_resize false
|
||||||
|
|
||||||
|
// Whether to show tips on startup
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
show_startup_tips false
|
||||||
|
|
||||||
|
// Whether to show release notes on first version run
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
show_release_notes false
|
||||||
|
|
||||||
|
// Whether to enable mouse hover effects and pane grouping functionality
|
||||||
|
// default is true
|
||||||
|
// advanced_mouse_actions false
|
||||||
|
|
||||||
|
// The ip address the web server should listen on when it starts
|
||||||
|
// Default: "127.0.0.1"
|
||||||
|
// (Requires restart)
|
||||||
|
// web_server_ip "127.0.0.1"
|
||||||
|
|
||||||
|
// The port the web server should listen on when it starts
|
||||||
|
// Default: 8082
|
||||||
|
// (Requires restart)
|
||||||
|
// web_server_port 8082
|
||||||
|
|
||||||
|
// A command to run (will be wrapped with sh -c and provided the RESURRECT_COMMAND env variable)
|
||||||
|
// after Zellij attempts to discover a command inside a pane when resurrecting sessions, the STDOUT
|
||||||
|
// of this command will be used instead of the discovered RESURRECT_COMMAND
|
||||||
|
// can be useful for removing wrappers around commands
|
||||||
|
// Note: be sure to escape backslashes and similar characters properly
|
||||||
|
// post_command_discovery_hook "echo $RESURRECT_COMMAND | sed <your_regex_here>"
|
||||||
|
//
|
||||||
|
|
||||||
532
cli/dot-config/zellij/config.kdl.bak
Normal file
532
cli/dot-config/zellij/config.kdl.bak
Normal file
@@ -0,0 +1,532 @@
|
|||||||
|
keybinds clear-defaults=true {
|
||||||
|
locked {
|
||||||
|
bind "Ctrl g" { SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
pane {
|
||||||
|
bind "left" { MoveFocus "left"; }
|
||||||
|
bind "down" { MoveFocus "down"; }
|
||||||
|
bind "up" { MoveFocus "up"; }
|
||||||
|
bind "right" { MoveFocus "right"; }
|
||||||
|
bind "c" { SwitchToMode "renamepane"; PaneNameInput 0; }
|
||||||
|
bind "d" { NewPane "down"; SwitchToMode "normal"; }
|
||||||
|
bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "normal"; }
|
||||||
|
bind "f" { ToggleFocusFullscreen; SwitchToMode "normal"; }
|
||||||
|
bind "h" { MoveFocus "left"; }
|
||||||
|
bind "i" { TogglePanePinned; SwitchToMode "normal"; }
|
||||||
|
bind "j" { MoveFocus "down"; }
|
||||||
|
bind "k" { MoveFocus "up"; }
|
||||||
|
bind "l" { MoveFocus "right"; }
|
||||||
|
bind "n" { NewPane; SwitchToMode "normal"; }
|
||||||
|
bind "p" { SwitchFocus; }
|
||||||
|
bind "Ctrl p" { SwitchToMode "normal"; }
|
||||||
|
bind "r" { NewPane "right"; SwitchToMode "normal"; }
|
||||||
|
bind "s" { NewPane "stacked"; SwitchToMode "normal"; }
|
||||||
|
bind "w" { ToggleFloatingPanes; SwitchToMode "normal"; }
|
||||||
|
bind "z" { TogglePaneFrames; SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
tab {
|
||||||
|
bind "left" { GoToPreviousTab; }
|
||||||
|
bind "down" { GoToNextTab; }
|
||||||
|
bind "up" { GoToPreviousTab; }
|
||||||
|
bind "right" { GoToNextTab; }
|
||||||
|
bind "1" { GoToTab 1; SwitchToMode "normal"; }
|
||||||
|
bind "2" { GoToTab 2; SwitchToMode "normal"; }
|
||||||
|
bind "3" { GoToTab 3; SwitchToMode "normal"; }
|
||||||
|
bind "4" { GoToTab 4; SwitchToMode "normal"; }
|
||||||
|
bind "5" { GoToTab 5; SwitchToMode "normal"; }
|
||||||
|
bind "6" { GoToTab 6; SwitchToMode "normal"; }
|
||||||
|
bind "7" { GoToTab 7; SwitchToMode "normal"; }
|
||||||
|
bind "8" { GoToTab 8; SwitchToMode "normal"; }
|
||||||
|
bind "9" { GoToTab 9; SwitchToMode "normal"; }
|
||||||
|
bind "[" { BreakPaneLeft; SwitchToMode "normal"; }
|
||||||
|
bind "]" { BreakPaneRight; SwitchToMode "normal"; }
|
||||||
|
bind "b" { BreakPane; SwitchToMode "normal"; }
|
||||||
|
bind "h" { GoToPreviousTab; }
|
||||||
|
bind "j" { GoToNextTab; }
|
||||||
|
bind "k" { GoToPreviousTab; }
|
||||||
|
bind "l" { GoToNextTab; }
|
||||||
|
bind "n" { NewTab; SwitchToMode "normal"; }
|
||||||
|
bind "r" { SwitchToMode "renametab"; TabNameInput 0; }
|
||||||
|
bind "s" { ToggleActiveSyncTab; SwitchToMode "normal"; }
|
||||||
|
bind "Ctrl t" { SwitchToMode "normal"; }
|
||||||
|
bind "x" { CloseTab; SwitchToMode "normal"; }
|
||||||
|
bind "tab" { ToggleTab; }
|
||||||
|
}
|
||||||
|
resize {
|
||||||
|
bind "left" { Resize "Increase left"; }
|
||||||
|
bind "down" { Resize "Increase down"; }
|
||||||
|
bind "up" { Resize "Increase up"; }
|
||||||
|
bind "right" { Resize "Increase right"; }
|
||||||
|
bind "+" { Resize "Increase"; }
|
||||||
|
bind "-" { Resize "Decrease"; }
|
||||||
|
bind "=" { Resize "Increase"; }
|
||||||
|
bind "H" { Resize "Decrease left"; }
|
||||||
|
bind "J" { Resize "Decrease down"; }
|
||||||
|
bind "K" { Resize "Decrease up"; }
|
||||||
|
bind "L" { Resize "Decrease right"; }
|
||||||
|
bind "h" { Resize "Increase left"; }
|
||||||
|
bind "j" { Resize "Increase down"; }
|
||||||
|
bind "k" { Resize "Increase up"; }
|
||||||
|
bind "l" { Resize "Increase right"; }
|
||||||
|
bind "Ctrl n" { SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
move {
|
||||||
|
bind "left" { MovePane "left"; }
|
||||||
|
bind "down" { MovePane "down"; }
|
||||||
|
bind "up" { MovePane "up"; }
|
||||||
|
bind "right" { MovePane "right"; }
|
||||||
|
bind "h" { MovePane "left"; }
|
||||||
|
bind "Ctrl h" { SwitchToMode "normal"; }
|
||||||
|
bind "j" { MovePane "down"; }
|
||||||
|
bind "k" { MovePane "up"; }
|
||||||
|
bind "l" { MovePane "right"; }
|
||||||
|
bind "n" { MovePane; }
|
||||||
|
bind "p" { MovePaneBackwards; }
|
||||||
|
bind "tab" { MovePane; }
|
||||||
|
}
|
||||||
|
scroll {
|
||||||
|
bind "e" { EditScrollback; SwitchToMode "normal"; }
|
||||||
|
bind "s" { SwitchToMode "entersearch"; SearchInput 0; }
|
||||||
|
}
|
||||||
|
search {
|
||||||
|
bind "c" { SearchToggleOption "CaseSensitivity"; }
|
||||||
|
bind "n" { Search "down"; }
|
||||||
|
bind "o" { SearchToggleOption "WholeWord"; }
|
||||||
|
bind "p" { Search "up"; }
|
||||||
|
bind "w" { SearchToggleOption "Wrap"; }
|
||||||
|
}
|
||||||
|
session {
|
||||||
|
bind "a" {
|
||||||
|
LaunchOrFocusPlugin "zellij:about" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "normal"
|
||||||
|
}
|
||||||
|
bind "c" {
|
||||||
|
LaunchOrFocusPlugin "configuration" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "normal"
|
||||||
|
}
|
||||||
|
bind "Ctrl o" { SwitchToMode "normal"; }
|
||||||
|
bind "p" {
|
||||||
|
LaunchOrFocusPlugin "plugin-manager" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "normal"
|
||||||
|
}
|
||||||
|
bind "s" {
|
||||||
|
LaunchOrFocusPlugin "zellij:share" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "normal"
|
||||||
|
}
|
||||||
|
bind "w" {
|
||||||
|
LaunchOrFocusPlugin "session-manager" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "normal"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
shared_except "locked" {
|
||||||
|
bind "Alt left" { MoveFocusOrTab "left"; }
|
||||||
|
bind "Alt down" { MoveFocus "down"; }
|
||||||
|
bind "Alt up" { MoveFocus "up"; }
|
||||||
|
bind "Alt right" { MoveFocusOrTab "right"; }
|
||||||
|
bind "Alt +" { Resize "Increase"; }
|
||||||
|
bind "Alt -" { Resize "Decrease"; }
|
||||||
|
bind "Alt =" { Resize "Increase"; }
|
||||||
|
bind "Alt [" { PreviousSwapLayout; }
|
||||||
|
bind "Alt ]" { NextSwapLayout; }
|
||||||
|
bind "Alt f" { ToggleFloatingPanes; }
|
||||||
|
bind "Ctrl g" { SwitchToMode "locked"; }
|
||||||
|
bind "Alt h" { MoveFocusOrTab "left"; }
|
||||||
|
bind "Alt i" { MoveTab "left"; }
|
||||||
|
bind "Alt j" { MoveFocus "down"; }
|
||||||
|
bind "Alt k" { MoveFocus "up"; }
|
||||||
|
bind "Alt l" { MoveFocusOrTab "right"; }
|
||||||
|
bind "Alt n" { NewPane; }
|
||||||
|
bind "Alt o" { MoveTab "right"; }
|
||||||
|
bind "Alt p" { TogglePaneInGroup; }
|
||||||
|
bind "Alt Shift p" { ToggleGroupMarking; }
|
||||||
|
bind "Ctrl q" { Quit; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "move" {
|
||||||
|
bind "Ctrl h" { SwitchToMode "move"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "session" {
|
||||||
|
bind "Ctrl o" { SwitchToMode "session"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "scroll" "search" "tmux" {
|
||||||
|
bind "Ctrl b" { SwitchToMode "tmux"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "scroll" "search" {
|
||||||
|
bind "Ctrl s" { SwitchToMode "scroll"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "tab" {
|
||||||
|
bind "Ctrl t" { SwitchToMode "tab"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "pane" {
|
||||||
|
bind "Ctrl p" { SwitchToMode "pane"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "resize" {
|
||||||
|
bind "Ctrl n" { SwitchToMode "resize"; }
|
||||||
|
}
|
||||||
|
shared_except "normal" "locked" "entersearch" {
|
||||||
|
bind "enter" { SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
shared_except "normal" "locked" "entersearch" "renametab" "renamepane" {
|
||||||
|
bind "esc" { SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
shared_among "pane" "tmux" {
|
||||||
|
bind "x" { CloseFocus; SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
shared_among "scroll" "search" {
|
||||||
|
bind "PageDown" { PageScrollDown; }
|
||||||
|
bind "PageUp" { PageScrollUp; }
|
||||||
|
bind "left" { PageScrollUp; }
|
||||||
|
bind "down" { ScrollDown; }
|
||||||
|
bind "up" { ScrollUp; }
|
||||||
|
bind "right" { PageScrollDown; }
|
||||||
|
bind "Ctrl b" { PageScrollUp; }
|
||||||
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "normal"; }
|
||||||
|
bind "d" { HalfPageScrollDown; }
|
||||||
|
bind "Ctrl f" { PageScrollDown; }
|
||||||
|
bind "h" { PageScrollUp; }
|
||||||
|
bind "j" { ScrollDown; }
|
||||||
|
bind "k" { ScrollUp; }
|
||||||
|
bind "l" { PageScrollDown; }
|
||||||
|
bind "Ctrl s" { SwitchToMode "normal"; }
|
||||||
|
bind "u" { HalfPageScrollUp; }
|
||||||
|
}
|
||||||
|
entersearch {
|
||||||
|
bind "Ctrl c" { SwitchToMode "scroll"; }
|
||||||
|
bind "esc" { SwitchToMode "scroll"; }
|
||||||
|
bind "enter" { SwitchToMode "search"; }
|
||||||
|
}
|
||||||
|
renametab {
|
||||||
|
bind "esc" { UndoRenameTab; SwitchToMode "tab"; }
|
||||||
|
}
|
||||||
|
shared_among "renametab" "renamepane" {
|
||||||
|
bind "Ctrl c" { SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
renamepane {
|
||||||
|
bind "esc" { UndoRenamePane; SwitchToMode "pane"; }
|
||||||
|
}
|
||||||
|
shared_among "session" "tmux" {
|
||||||
|
bind "d" { Detach; }
|
||||||
|
}
|
||||||
|
tmux {
|
||||||
|
bind "left" { MoveFocus "left"; SwitchToMode "normal"; }
|
||||||
|
bind "down" { MoveFocus "down"; SwitchToMode "normal"; }
|
||||||
|
bind "up" { MoveFocus "up"; SwitchToMode "normal"; }
|
||||||
|
bind "right" { MoveFocus "right"; SwitchToMode "normal"; }
|
||||||
|
bind "space" { NextSwapLayout; }
|
||||||
|
bind "\"" { NewPane "down"; SwitchToMode "normal"; }
|
||||||
|
bind "%" { NewPane "right"; SwitchToMode "normal"; }
|
||||||
|
bind "," { SwitchToMode "renametab"; }
|
||||||
|
bind "[" { SwitchToMode "scroll"; }
|
||||||
|
bind "Ctrl b" { Write 2; SwitchToMode "normal"; }
|
||||||
|
bind "c" { NewTab; SwitchToMode "normal"; }
|
||||||
|
bind "h" { MoveFocus "left"; SwitchToMode "normal"; }
|
||||||
|
bind "j" { MoveFocus "down"; SwitchToMode "normal"; }
|
||||||
|
bind "k" { MoveFocus "up"; SwitchToMode "normal"; }
|
||||||
|
bind "l" { MoveFocus "right"; SwitchToMode "normal"; }
|
||||||
|
bind "n" { GoToNextTab; SwitchToMode "normal"; }
|
||||||
|
bind "o" { FocusNextPane; }
|
||||||
|
bind "p" { GoToPreviousTab; SwitchToMode "normal"; }
|
||||||
|
bind "z" { ToggleFocusFullscreen; SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Plugin aliases - can be used to change the implementation of Zellij
|
||||||
|
// changing these requires a restart to take effect
|
||||||
|
plugins {
|
||||||
|
about location="zellij:about"
|
||||||
|
compact-bar location="zellij:compact-bar"
|
||||||
|
configuration location="zellij:configuration"
|
||||||
|
filepicker location="zellij:strider" {
|
||||||
|
cwd "/"
|
||||||
|
}
|
||||||
|
plugin-manager location="zellij:plugin-manager"
|
||||||
|
session-manager location="zellij:session-manager"
|
||||||
|
status-bar location="zellij:status-bar"
|
||||||
|
strider location="zellij:strider"
|
||||||
|
tab-bar location="zellij:tab-bar"
|
||||||
|
welcome-screen location="zellij:session-manager" {
|
||||||
|
welcome_screen true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Plugins to load in the background when a new session starts
|
||||||
|
// eg. "file:/path/to/my-plugin.wasm"
|
||||||
|
// eg. "https://example.com/my-plugin.wasm"
|
||||||
|
load_plugins {
|
||||||
|
}
|
||||||
|
web_client {
|
||||||
|
font "monospace"
|
||||||
|
}
|
||||||
|
|
||||||
|
// Use a simplified UI without special fonts (arrow glyphs)
|
||||||
|
// Options:
|
||||||
|
// - true
|
||||||
|
// - false (Default)
|
||||||
|
//
|
||||||
|
// simplified_ui true
|
||||||
|
|
||||||
|
// Choose the theme that is specified in the themes section.
|
||||||
|
// Default: default
|
||||||
|
//
|
||||||
|
// theme "dracula"
|
||||||
|
|
||||||
|
// Choose the base input mode of zellij.
|
||||||
|
// Default: normal
|
||||||
|
//
|
||||||
|
// default_mode "locked"
|
||||||
|
|
||||||
|
// Choose the path to the default shell that zellij will use for opening new panes
|
||||||
|
// Default: $SHELL
|
||||||
|
//
|
||||||
|
// default_shell "fish"
|
||||||
|
|
||||||
|
// Choose the path to override cwd that zellij will use for opening new panes
|
||||||
|
//
|
||||||
|
// default_cwd "/tmp"
|
||||||
|
|
||||||
|
// The name of the default layout to load on startup
|
||||||
|
// Default: "default"
|
||||||
|
//
|
||||||
|
// default_layout "compact"
|
||||||
|
|
||||||
|
// The folder in which Zellij will look for layouts
|
||||||
|
// (Requires restart)
|
||||||
|
//
|
||||||
|
// layout_dir "/tmp"
|
||||||
|
|
||||||
|
// The folder in which Zellij will look for themes
|
||||||
|
// (Requires restart)
|
||||||
|
//
|
||||||
|
// theme_dir "/tmp"
|
||||||
|
|
||||||
|
// Toggle enabling the mouse mode.
|
||||||
|
// On certain configurations, or terminals this could
|
||||||
|
// potentially interfere with copying text.
|
||||||
|
// Options:
|
||||||
|
// - true (default)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
// mouse_mode false
|
||||||
|
|
||||||
|
// Toggle having pane frames around the panes
|
||||||
|
// Options:
|
||||||
|
// - true (default, enabled)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
// pane_frames false
|
||||||
|
|
||||||
|
// When attaching to an existing session with other users,
|
||||||
|
// should the session be mirrored (true)
|
||||||
|
// or should each user have their own cursor (false)
|
||||||
|
// (Requires restart)
|
||||||
|
// Default: false
|
||||||
|
//
|
||||||
|
// mirror_session true
|
||||||
|
|
||||||
|
// Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
|
||||||
|
// eg. when terminal window with an active zellij session is closed
|
||||||
|
// (Requires restart)
|
||||||
|
// Options:
|
||||||
|
// - detach (Default)
|
||||||
|
// - quit
|
||||||
|
//
|
||||||
|
// on_force_close "quit"
|
||||||
|
|
||||||
|
// Configure the scroll back buffer size
|
||||||
|
// This is the number of lines zellij stores for each pane in the scroll back
|
||||||
|
// buffer. Excess number of lines are discarded in a FIFO fashion.
|
||||||
|
// (Requires restart)
|
||||||
|
// Valid values: positive integers
|
||||||
|
// Default value: 10000
|
||||||
|
//
|
||||||
|
// scroll_buffer_size 10000
|
||||||
|
|
||||||
|
// Provide a command to execute when copying text. The text will be piped to
|
||||||
|
// the stdin of the program to perform the copy. This can be used with
|
||||||
|
// terminal emulators which do not support the OSC 52 ANSI control sequence
|
||||||
|
// that will be used by default if this option is not set.
|
||||||
|
// Examples:
|
||||||
|
//
|
||||||
|
// copy_command "xclip -selection clipboard" // x11
|
||||||
|
// copy_command "wl-copy" // wayland
|
||||||
|
// copy_command "pbcopy" // osx
|
||||||
|
//
|
||||||
|
// copy_command "pbcopy"
|
||||||
|
|
||||||
|
// Choose the destination for copied text
|
||||||
|
// Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard.
|
||||||
|
// Does not apply when using copy_command.
|
||||||
|
// Options:
|
||||||
|
// - system (default)
|
||||||
|
// - primary
|
||||||
|
//
|
||||||
|
// copy_clipboard "primary"
|
||||||
|
|
||||||
|
// Enable automatic copying (and clearing) of selection when releasing mouse
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
// copy_on_select true
|
||||||
|
|
||||||
|
// Path to the default editor to use to edit pane scrollbuffer
|
||||||
|
// Default: $EDITOR or $VISUAL
|
||||||
|
// scrollback_editor "/usr/bin/vim"
|
||||||
|
|
||||||
|
// A fixed name to always give the Zellij session.
|
||||||
|
// Consider also setting `attach_to_session true,`
|
||||||
|
// otherwise this will error if such a session exists.
|
||||||
|
// Default: <RANDOM>
|
||||||
|
//
|
||||||
|
// session_name "My singleton session"
|
||||||
|
|
||||||
|
// When `session_name` is provided, attaches to that session
|
||||||
|
// if it is already running or creates it otherwise.
|
||||||
|
// Default: false
|
||||||
|
//
|
||||||
|
// attach_to_session true
|
||||||
|
|
||||||
|
// Toggle between having Zellij lay out panes according to a predefined set of layouts whenever possible
|
||||||
|
// Options:
|
||||||
|
// - true (default)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
// auto_layout false
|
||||||
|
|
||||||
|
// Whether sessions should be serialized to the cache folder (including their tabs/panes, cwds and running commands) so that they can later be resurrected
|
||||||
|
// Options:
|
||||||
|
// - true (default)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
// session_serialization false
|
||||||
|
|
||||||
|
// Whether pane viewports are serialized along with the session, default is false
|
||||||
|
// Options:
|
||||||
|
// - true
|
||||||
|
// - false (default)
|
||||||
|
//
|
||||||
|
// serialize_pane_viewport false
|
||||||
|
|
||||||
|
// Scrollback lines to serialize along with the pane viewport when serializing sessions, 0
|
||||||
|
// defaults to the scrollback size. If this number is higher than the scrollback size, it will
|
||||||
|
// also default to the scrollback size. This does nothing if `serialize_pane_viewport` is not true.
|
||||||
|
//
|
||||||
|
// scrollback_lines_to_serialize 10000
|
||||||
|
|
||||||
|
// Enable or disable the rendering of styled and colored underlines (undercurl).
|
||||||
|
// May need to be disabled for certain unsupported terminals
|
||||||
|
// (Requires restart)
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
// styled_underlines false
|
||||||
|
|
||||||
|
// How often in seconds sessions are serialized
|
||||||
|
//
|
||||||
|
// serialization_interval 10000
|
||||||
|
|
||||||
|
// Enable or disable writing of session metadata to disk (if disabled, other sessions might not know
|
||||||
|
// metadata info on this session)
|
||||||
|
// (Requires restart)
|
||||||
|
// Default: false
|
||||||
|
//
|
||||||
|
// disable_session_metadata false
|
||||||
|
|
||||||
|
// Enable or disable support for the enhanced Kitty Keyboard Protocol (the host terminal must also support it)
|
||||||
|
// (Requires restart)
|
||||||
|
// Default: true (if the host terminal supports it)
|
||||||
|
//
|
||||||
|
// support_kitty_keyboard_protocol false
|
||||||
|
// Whether to make sure a local web server is running when a new Zellij session starts.
|
||||||
|
// This web server will allow creating new sessions and attaching to existing ones that have
|
||||||
|
// opted in to being shared in the browser.
|
||||||
|
// When enabled, navigate to http://127.0.0.1:8082
|
||||||
|
// (Requires restart)
|
||||||
|
//
|
||||||
|
// Note: a local web server can still be manually started from within a Zellij session or from the CLI.
|
||||||
|
// If this is not desired, one can use a version of Zellij compiled without
|
||||||
|
// `web_server_capability`
|
||||||
|
//
|
||||||
|
// Possible values:
|
||||||
|
// - true
|
||||||
|
// - false
|
||||||
|
// Default: false
|
||||||
|
//
|
||||||
|
// web_server false
|
||||||
|
// Whether to allow sessions started in the terminal to be shared through a local web server, assuming one is
|
||||||
|
// running (see the `web_server` option for more details).
|
||||||
|
// (Requires restart)
|
||||||
|
//
|
||||||
|
// Note: This is an administrative separation and not intended as a security measure.
|
||||||
|
//
|
||||||
|
// Possible values:
|
||||||
|
// - "on" (allow web sharing through the local web server if it
|
||||||
|
// is online)
|
||||||
|
// - "off" (do not allow web sharing unless sessions explicitly opt-in to it)
|
||||||
|
// - "disabled" (do not allow web sharing and do not permit sessions started in the terminal to opt-in to it)
|
||||||
|
// Default: "off"
|
||||||
|
//
|
||||||
|
// web_sharing "off"
|
||||||
|
// A path to a certificate file to be used when setting up the web client to serve the
|
||||||
|
// connection over HTTPs
|
||||||
|
//
|
||||||
|
// web_server_cert "/path/to/cert.pem"
|
||||||
|
// A path to a key file to be used when setting up the web client to serve the
|
||||||
|
// connection over HTTPs
|
||||||
|
//
|
||||||
|
// web_server_key "/path/to/key.pem"
|
||||||
|
/// Whether to enforce https connections to the web server when it is bound to localhost
|
||||||
|
/// (127.0.0.0/8)
|
||||||
|
///
|
||||||
|
/// Note: https is ALWAYS enforced when bound to non-local interfaces
|
||||||
|
///
|
||||||
|
/// Default: false
|
||||||
|
//
|
||||||
|
// enforce_https_for_localhost false
|
||||||
|
|
||||||
|
// Whether to stack panes when resizing beyond a certain size
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
// stacked_resize false
|
||||||
|
|
||||||
|
// Whether to show tips on startup
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
// show_startup_tips false
|
||||||
|
|
||||||
|
// Whether to show release notes on first version run
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
// show_release_notes false
|
||||||
|
|
||||||
|
// Whether to enable mouse hover effects and pane grouping functionality
|
||||||
|
// default is true
|
||||||
|
// advanced_mouse_actions false
|
||||||
|
|
||||||
|
// The ip address the web server should listen on when it starts
|
||||||
|
// Default: "127.0.0.1"
|
||||||
|
// (Requires restart)
|
||||||
|
// web_server_ip "127.0.0.1"
|
||||||
|
|
||||||
|
// The port the web server should listen on when it starts
|
||||||
|
// Default: 8082
|
||||||
|
// (Requires restart)
|
||||||
|
// web_server_port 8082
|
||||||
|
|
||||||
|
// A command to run (will be wrapped with sh -c and provided the RESURRECT_COMMAND env variable)
|
||||||
|
// after Zellij attempts to discover a command inside a pane when resurrecting sessions, the STDOUT
|
||||||
|
// of this command will be used instead of the discovered RESURRECT_COMMAND
|
||||||
|
// can be useful for removing wrappers around commands
|
||||||
|
// Note: be sure to escape backslashes and similar characters properly
|
||||||
|
// post_command_discovery_hook "echo $RESURRECT_COMMAND | sed <your_regex_here>"
|
||||||
536
cli/dot-config/zellij/config.kdl.bak.1
Normal file
536
cli/dot-config/zellij/config.kdl.bak.1
Normal file
@@ -0,0 +1,536 @@
|
|||||||
|
//
|
||||||
|
// THIS FILE WAS AUTOGENERATED BY ZELLIJ, THE PREVIOUS FILE AT THIS LOCATION WAS COPIED TO: /home/jonas/.config/zellij/config.kdl.bak
|
||||||
|
//
|
||||||
|
|
||||||
|
keybinds clear-defaults=true {
|
||||||
|
locked {
|
||||||
|
bind "Ctrl g" { SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
pane {
|
||||||
|
bind "left" { MoveFocus "left"; }
|
||||||
|
bind "down" { MoveFocus "down"; }
|
||||||
|
bind "up" { MoveFocus "up"; }
|
||||||
|
bind "right" { MoveFocus "right"; }
|
||||||
|
bind "c" { SwitchToMode "renamepane"; PaneNameInput 0; }
|
||||||
|
bind "d" { NewPane "down"; SwitchToMode "normal"; }
|
||||||
|
bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "normal"; }
|
||||||
|
bind "f" { ToggleFocusFullscreen; SwitchToMode "normal"; }
|
||||||
|
bind "h" { MoveFocus "left"; }
|
||||||
|
bind "i" { TogglePanePinned; SwitchToMode "normal"; }
|
||||||
|
bind "j" { MoveFocus "down"; }
|
||||||
|
bind "k" { MoveFocus "up"; }
|
||||||
|
bind "l" { MoveFocus "right"; }
|
||||||
|
bind "n" { NewPane; SwitchToMode "normal"; }
|
||||||
|
bind "p" { SwitchFocus; }
|
||||||
|
bind "Ctrl p" { SwitchToMode "normal"; }
|
||||||
|
bind "r" { NewPane "right"; SwitchToMode "normal"; }
|
||||||
|
bind "s" { NewPane "stacked"; SwitchToMode "normal"; }
|
||||||
|
bind "w" { ToggleFloatingPanes; SwitchToMode "normal"; }
|
||||||
|
bind "z" { TogglePaneFrames; SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
tab {
|
||||||
|
bind "left" { GoToPreviousTab; }
|
||||||
|
bind "down" { GoToNextTab; }
|
||||||
|
bind "up" { GoToPreviousTab; }
|
||||||
|
bind "right" { GoToNextTab; }
|
||||||
|
bind "1" { GoToTab 1; SwitchToMode "normal"; }
|
||||||
|
bind "2" { GoToTab 2; SwitchToMode "normal"; }
|
||||||
|
bind "3" { GoToTab 3; SwitchToMode "normal"; }
|
||||||
|
bind "4" { GoToTab 4; SwitchToMode "normal"; }
|
||||||
|
bind "5" { GoToTab 5; SwitchToMode "normal"; }
|
||||||
|
bind "6" { GoToTab 6; SwitchToMode "normal"; }
|
||||||
|
bind "7" { GoToTab 7; SwitchToMode "normal"; }
|
||||||
|
bind "8" { GoToTab 8; SwitchToMode "normal"; }
|
||||||
|
bind "9" { GoToTab 9; SwitchToMode "normal"; }
|
||||||
|
bind "[" { BreakPaneLeft; SwitchToMode "normal"; }
|
||||||
|
bind "]" { BreakPaneRight; SwitchToMode "normal"; }
|
||||||
|
bind "b" { BreakPane; SwitchToMode "normal"; }
|
||||||
|
bind "h" { GoToPreviousTab; }
|
||||||
|
bind "j" { GoToNextTab; }
|
||||||
|
bind "k" { GoToPreviousTab; }
|
||||||
|
bind "l" { GoToNextTab; }
|
||||||
|
bind "n" { NewTab; SwitchToMode "normal"; }
|
||||||
|
bind "r" { SwitchToMode "renametab"; TabNameInput 0; }
|
||||||
|
bind "s" { ToggleActiveSyncTab; SwitchToMode "normal"; }
|
||||||
|
bind "Ctrl t" { SwitchToMode "normal"; }
|
||||||
|
bind "x" { CloseTab; SwitchToMode "normal"; }
|
||||||
|
bind "tab" { ToggleTab; }
|
||||||
|
}
|
||||||
|
resize {
|
||||||
|
bind "left" { Resize "Increase left"; }
|
||||||
|
bind "down" { Resize "Increase down"; }
|
||||||
|
bind "up" { Resize "Increase up"; }
|
||||||
|
bind "right" { Resize "Increase right"; }
|
||||||
|
bind "+" { Resize "Increase"; }
|
||||||
|
bind "-" { Resize "Decrease"; }
|
||||||
|
bind "=" { Resize "Increase"; }
|
||||||
|
bind "H" { Resize "Decrease left"; }
|
||||||
|
bind "J" { Resize "Decrease down"; }
|
||||||
|
bind "K" { Resize "Decrease up"; }
|
||||||
|
bind "L" { Resize "Decrease right"; }
|
||||||
|
bind "h" { Resize "Increase left"; }
|
||||||
|
bind "j" { Resize "Increase down"; }
|
||||||
|
bind "k" { Resize "Increase up"; }
|
||||||
|
bind "l" { Resize "Increase right"; }
|
||||||
|
bind "Ctrl n" { SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
move {
|
||||||
|
bind "left" { MovePane "left"; }
|
||||||
|
bind "down" { MovePane "down"; }
|
||||||
|
bind "up" { MovePane "up"; }
|
||||||
|
bind "right" { MovePane "right"; }
|
||||||
|
bind "h" { MovePane "left"; }
|
||||||
|
bind "Ctrl h" { SwitchToMode "normal"; }
|
||||||
|
bind "j" { MovePane "down"; }
|
||||||
|
bind "k" { MovePane "up"; }
|
||||||
|
bind "l" { MovePane "right"; }
|
||||||
|
bind "n" { MovePane; }
|
||||||
|
bind "p" { MovePaneBackwards; }
|
||||||
|
bind "tab" { MovePane; }
|
||||||
|
}
|
||||||
|
scroll {
|
||||||
|
bind "e" { EditScrollback; SwitchToMode "normal"; }
|
||||||
|
bind "s" { SwitchToMode "entersearch"; SearchInput 0; }
|
||||||
|
}
|
||||||
|
search {
|
||||||
|
bind "c" { SearchToggleOption "CaseSensitivity"; }
|
||||||
|
bind "n" { Search "down"; }
|
||||||
|
bind "o" { SearchToggleOption "WholeWord"; }
|
||||||
|
bind "p" { Search "up"; }
|
||||||
|
bind "w" { SearchToggleOption "Wrap"; }
|
||||||
|
}
|
||||||
|
session {
|
||||||
|
bind "a" {
|
||||||
|
LaunchOrFocusPlugin "zellij:about" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "normal"
|
||||||
|
}
|
||||||
|
bind "c" {
|
||||||
|
LaunchOrFocusPlugin "configuration" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "normal"
|
||||||
|
}
|
||||||
|
bind "Ctrl o" { SwitchToMode "normal"; }
|
||||||
|
bind "p" {
|
||||||
|
LaunchOrFocusPlugin "plugin-manager" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "normal"
|
||||||
|
}
|
||||||
|
bind "s" {
|
||||||
|
LaunchOrFocusPlugin "zellij:share" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "normal"
|
||||||
|
}
|
||||||
|
bind "w" {
|
||||||
|
LaunchOrFocusPlugin "session-manager" {
|
||||||
|
floating true
|
||||||
|
move_to_focused_tab true
|
||||||
|
}
|
||||||
|
SwitchToMode "normal"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
shared_except "locked" {
|
||||||
|
bind "Alt left" { MoveFocusOrTab "left"; }
|
||||||
|
bind "Alt down" { MoveFocus "down"; }
|
||||||
|
bind "Alt up" { MoveFocus "up"; }
|
||||||
|
bind "Alt right" { MoveFocusOrTab "right"; }
|
||||||
|
bind "Alt +" { Resize "Increase"; }
|
||||||
|
bind "Alt -" { Resize "Decrease"; }
|
||||||
|
bind "Alt =" { Resize "Increase"; }
|
||||||
|
bind "Alt [" { PreviousSwapLayout; }
|
||||||
|
bind "Alt ]" { NextSwapLayout; }
|
||||||
|
bind "Alt f" { ToggleFloatingPanes; }
|
||||||
|
bind "Ctrl g" { SwitchToMode "locked"; }
|
||||||
|
bind "Alt h" { MoveFocusOrTab "left"; }
|
||||||
|
bind "Alt i" { MoveTab "left"; }
|
||||||
|
bind "Alt j" { MoveFocus "down"; }
|
||||||
|
bind "Alt k" { MoveFocus "up"; }
|
||||||
|
bind "Alt l" { MoveFocusOrTab "right"; }
|
||||||
|
bind "Alt n" { NewPane; }
|
||||||
|
bind "Alt o" { MoveTab "right"; }
|
||||||
|
bind "Alt p" { TogglePaneInGroup; }
|
||||||
|
bind "Alt Shift p" { ToggleGroupMarking; }
|
||||||
|
bind "Ctrl q" { Quit; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "move" {
|
||||||
|
bind "Ctrl h" { SwitchToMode "move"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "session" {
|
||||||
|
bind "Ctrl o" { SwitchToMode "session"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "scroll" "search" "tmux" {
|
||||||
|
bind "Ctrl b" { SwitchToMode "tmux"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "scroll" "search" {
|
||||||
|
bind "Ctrl s" { SwitchToMode "scroll"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "tab" {
|
||||||
|
bind "Ctrl t" { SwitchToMode "tab"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "pane" {
|
||||||
|
bind "Ctrl p" { SwitchToMode "pane"; }
|
||||||
|
}
|
||||||
|
shared_except "locked" "resize" {
|
||||||
|
bind "Ctrl n" { SwitchToMode "resize"; }
|
||||||
|
}
|
||||||
|
shared_except "normal" "locked" "entersearch" {
|
||||||
|
bind "enter" { SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
shared_except "normal" "locked" "entersearch" "renametab" "renamepane" {
|
||||||
|
bind "esc" { SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
shared_among "pane" "tmux" {
|
||||||
|
bind "x" { CloseFocus; SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
shared_among "scroll" "search" {
|
||||||
|
bind "PageDown" { PageScrollDown; }
|
||||||
|
bind "PageUp" { PageScrollUp; }
|
||||||
|
bind "left" { PageScrollUp; }
|
||||||
|
bind "down" { ScrollDown; }
|
||||||
|
bind "up" { ScrollUp; }
|
||||||
|
bind "right" { PageScrollDown; }
|
||||||
|
bind "Ctrl b" { PageScrollUp; }
|
||||||
|
bind "Ctrl c" { ScrollToBottom; SwitchToMode "normal"; }
|
||||||
|
bind "d" { HalfPageScrollDown; }
|
||||||
|
bind "Ctrl f" { PageScrollDown; }
|
||||||
|
bind "h" { PageScrollUp; }
|
||||||
|
bind "j" { ScrollDown; }
|
||||||
|
bind "k" { ScrollUp; }
|
||||||
|
bind "l" { PageScrollDown; }
|
||||||
|
bind "Ctrl s" { SwitchToMode "normal"; }
|
||||||
|
bind "u" { HalfPageScrollUp; }
|
||||||
|
}
|
||||||
|
entersearch {
|
||||||
|
bind "Ctrl c" { SwitchToMode "scroll"; }
|
||||||
|
bind "esc" { SwitchToMode "scroll"; }
|
||||||
|
bind "enter" { SwitchToMode "search"; }
|
||||||
|
}
|
||||||
|
renametab {
|
||||||
|
bind "esc" { UndoRenameTab; SwitchToMode "tab"; }
|
||||||
|
}
|
||||||
|
shared_among "renametab" "renamepane" {
|
||||||
|
bind "Ctrl c" { SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
renamepane {
|
||||||
|
bind "esc" { UndoRenamePane; SwitchToMode "pane"; }
|
||||||
|
}
|
||||||
|
shared_among "session" "tmux" {
|
||||||
|
bind "d" { Detach; }
|
||||||
|
}
|
||||||
|
tmux {
|
||||||
|
bind "left" { MoveFocus "left"; SwitchToMode "normal"; }
|
||||||
|
bind "down" { MoveFocus "down"; SwitchToMode "normal"; }
|
||||||
|
bind "up" { MoveFocus "up"; SwitchToMode "normal"; }
|
||||||
|
bind "right" { MoveFocus "right"; SwitchToMode "normal"; }
|
||||||
|
bind "space" { NextSwapLayout; }
|
||||||
|
bind "\"" { NewPane "down"; SwitchToMode "normal"; }
|
||||||
|
bind "%" { NewPane "right"; SwitchToMode "normal"; }
|
||||||
|
bind "," { SwitchToMode "renametab"; }
|
||||||
|
bind "[" { SwitchToMode "scroll"; }
|
||||||
|
bind "Ctrl b" { Write 2; SwitchToMode "normal"; }
|
||||||
|
bind "c" { NewTab; SwitchToMode "normal"; }
|
||||||
|
bind "h" { MoveFocus "left"; SwitchToMode "normal"; }
|
||||||
|
bind "j" { MoveFocus "down"; SwitchToMode "normal"; }
|
||||||
|
bind "k" { MoveFocus "up"; SwitchToMode "normal"; }
|
||||||
|
bind "l" { MoveFocus "right"; SwitchToMode "normal"; }
|
||||||
|
bind "n" { GoToNextTab; SwitchToMode "normal"; }
|
||||||
|
bind "o" { FocusNextPane; }
|
||||||
|
bind "p" { GoToPreviousTab; SwitchToMode "normal"; }
|
||||||
|
bind "z" { ToggleFocusFullscreen; SwitchToMode "normal"; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Plugin aliases - can be used to change the implementation of Zellij
|
||||||
|
// changing these requires a restart to take effect
|
||||||
|
plugins {
|
||||||
|
about location="zellij:about"
|
||||||
|
compact-bar location="zellij:compact-bar"
|
||||||
|
configuration location="zellij:configuration"
|
||||||
|
filepicker location="zellij:strider" {
|
||||||
|
cwd "/"
|
||||||
|
}
|
||||||
|
plugin-manager location="zellij:plugin-manager"
|
||||||
|
session-manager location="zellij:session-manager"
|
||||||
|
status-bar location="zellij:status-bar"
|
||||||
|
strider location="zellij:strider"
|
||||||
|
tab-bar location="zellij:tab-bar"
|
||||||
|
welcome-screen location="zellij:session-manager" {
|
||||||
|
welcome_screen true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Plugins to load in the background when a new session starts
|
||||||
|
// eg. "file:/path/to/my-plugin.wasm"
|
||||||
|
// eg. "https://example.com/my-plugin.wasm"
|
||||||
|
load_plugins {
|
||||||
|
}
|
||||||
|
web_client {
|
||||||
|
font "monospace"
|
||||||
|
}
|
||||||
|
|
||||||
|
// Use a simplified UI without special fonts (arrow glyphs)
|
||||||
|
// Options:
|
||||||
|
// - true
|
||||||
|
// - false (Default)
|
||||||
|
//
|
||||||
|
// simplified_ui true
|
||||||
|
|
||||||
|
// Choose the theme that is specified in the themes section.
|
||||||
|
// Default: default
|
||||||
|
//
|
||||||
|
// theme "dracula"
|
||||||
|
|
||||||
|
// Choose the base input mode of zellij.
|
||||||
|
// Default: normal
|
||||||
|
//
|
||||||
|
// default_mode "locked"
|
||||||
|
|
||||||
|
// Choose the path to the default shell that zellij will use for opening new panes
|
||||||
|
// Default: $SHELL
|
||||||
|
//
|
||||||
|
// default_shell "fish"
|
||||||
|
|
||||||
|
// Choose the path to override cwd that zellij will use for opening new panes
|
||||||
|
//
|
||||||
|
// default_cwd "/tmp"
|
||||||
|
|
||||||
|
// The name of the default layout to load on startup
|
||||||
|
// Default: "default"
|
||||||
|
//
|
||||||
|
// default_layout "compact"
|
||||||
|
|
||||||
|
// The folder in which Zellij will look for layouts
|
||||||
|
// (Requires restart)
|
||||||
|
//
|
||||||
|
// layout_dir "/tmp"
|
||||||
|
|
||||||
|
// The folder in which Zellij will look for themes
|
||||||
|
// (Requires restart)
|
||||||
|
//
|
||||||
|
// theme_dir "/tmp"
|
||||||
|
|
||||||
|
// Toggle enabling the mouse mode.
|
||||||
|
// On certain configurations, or terminals this could
|
||||||
|
// potentially interfere with copying text.
|
||||||
|
// Options:
|
||||||
|
// - true (default)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
// mouse_mode false
|
||||||
|
|
||||||
|
// Toggle having pane frames around the panes
|
||||||
|
// Options:
|
||||||
|
// - true (default, enabled)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
// pane_frames false
|
||||||
|
|
||||||
|
// When attaching to an existing session with other users,
|
||||||
|
// should the session be mirrored (true)
|
||||||
|
// or should each user have their own cursor (false)
|
||||||
|
// (Requires restart)
|
||||||
|
// Default: false
|
||||||
|
//
|
||||||
|
// mirror_session true
|
||||||
|
|
||||||
|
// Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
|
||||||
|
// eg. when terminal window with an active zellij session is closed
|
||||||
|
// (Requires restart)
|
||||||
|
// Options:
|
||||||
|
// - detach (Default)
|
||||||
|
// - quit
|
||||||
|
//
|
||||||
|
// on_force_close "quit"
|
||||||
|
|
||||||
|
// Configure the scroll back buffer size
|
||||||
|
// This is the number of lines zellij stores for each pane in the scroll back
|
||||||
|
// buffer. Excess number of lines are discarded in a FIFO fashion.
|
||||||
|
// (Requires restart)
|
||||||
|
// Valid values: positive integers
|
||||||
|
// Default value: 10000
|
||||||
|
//
|
||||||
|
// scroll_buffer_size 10000
|
||||||
|
|
||||||
|
// Provide a command to execute when copying text. The text will be piped to
|
||||||
|
// the stdin of the program to perform the copy. This can be used with
|
||||||
|
// terminal emulators which do not support the OSC 52 ANSI control sequence
|
||||||
|
// that will be used by default if this option is not set.
|
||||||
|
// Examples:
|
||||||
|
//
|
||||||
|
// copy_command "xclip -selection clipboard" // x11
|
||||||
|
// copy_command "wl-copy" // wayland
|
||||||
|
// copy_command "pbcopy" // osx
|
||||||
|
//
|
||||||
|
// copy_command "pbcopy"
|
||||||
|
|
||||||
|
// Choose the destination for copied text
|
||||||
|
// Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard.
|
||||||
|
// Does not apply when using copy_command.
|
||||||
|
// Options:
|
||||||
|
// - system (default)
|
||||||
|
// - primary
|
||||||
|
//
|
||||||
|
// copy_clipboard "primary"
|
||||||
|
|
||||||
|
// Enable automatic copying (and clearing) of selection when releasing mouse
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
// copy_on_select true
|
||||||
|
|
||||||
|
// Path to the default editor to use to edit pane scrollbuffer
|
||||||
|
// Default: $EDITOR or $VISUAL
|
||||||
|
// scrollback_editor "/usr/bin/vim"
|
||||||
|
|
||||||
|
// A fixed name to always give the Zellij session.
|
||||||
|
// Consider also setting `attach_to_session true,`
|
||||||
|
// otherwise this will error if such a session exists.
|
||||||
|
// Default: <RANDOM>
|
||||||
|
//
|
||||||
|
// session_name "My singleton session"
|
||||||
|
|
||||||
|
// When `session_name` is provided, attaches to that session
|
||||||
|
// if it is already running or creates it otherwise.
|
||||||
|
// Default: false
|
||||||
|
//
|
||||||
|
// attach_to_session true
|
||||||
|
|
||||||
|
// Toggle between having Zellij lay out panes according to a predefined set of layouts whenever possible
|
||||||
|
// Options:
|
||||||
|
// - true (default)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
// auto_layout false
|
||||||
|
|
||||||
|
// Whether sessions should be serialized to the cache folder (including their tabs/panes, cwds and running commands) so that they can later be resurrected
|
||||||
|
// Options:
|
||||||
|
// - true (default)
|
||||||
|
// - false
|
||||||
|
//
|
||||||
|
// session_serialization false
|
||||||
|
|
||||||
|
// Whether pane viewports are serialized along with the session, default is false
|
||||||
|
// Options:
|
||||||
|
// - true
|
||||||
|
// - false (default)
|
||||||
|
//
|
||||||
|
// serialize_pane_viewport false
|
||||||
|
|
||||||
|
// Scrollback lines to serialize along with the pane viewport when serializing sessions, 0
|
||||||
|
// defaults to the scrollback size. If this number is higher than the scrollback size, it will
|
||||||
|
// also default to the scrollback size. This does nothing if `serialize_pane_viewport` is not true.
|
||||||
|
//
|
||||||
|
// scrollback_lines_to_serialize 10000
|
||||||
|
|
||||||
|
// Enable or disable the rendering of styled and colored underlines (undercurl).
|
||||||
|
// May need to be disabled for certain unsupported terminals
|
||||||
|
// (Requires restart)
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
// styled_underlines false
|
||||||
|
|
||||||
|
// How often in seconds sessions are serialized
|
||||||
|
//
|
||||||
|
// serialization_interval 10000
|
||||||
|
|
||||||
|
// Enable or disable writing of session metadata to disk (if disabled, other sessions might not know
|
||||||
|
// metadata info on this session)
|
||||||
|
// (Requires restart)
|
||||||
|
// Default: false
|
||||||
|
//
|
||||||
|
// disable_session_metadata false
|
||||||
|
|
||||||
|
// Enable or disable support for the enhanced Kitty Keyboard Protocol (the host terminal must also support it)
|
||||||
|
// (Requires restart)
|
||||||
|
// Default: true (if the host terminal supports it)
|
||||||
|
//
|
||||||
|
// support_kitty_keyboard_protocol false
|
||||||
|
// Whether to make sure a local web server is running when a new Zellij session starts.
|
||||||
|
// This web server will allow creating new sessions and attaching to existing ones that have
|
||||||
|
// opted in to being shared in the browser.
|
||||||
|
// When enabled, navigate to http://127.0.0.1:8082
|
||||||
|
// (Requires restart)
|
||||||
|
//
|
||||||
|
// Note: a local web server can still be manually started from within a Zellij session or from the CLI.
|
||||||
|
// If this is not desired, one can use a version of Zellij compiled without
|
||||||
|
// `web_server_capability`
|
||||||
|
//
|
||||||
|
// Possible values:
|
||||||
|
// - true
|
||||||
|
// - false
|
||||||
|
// Default: false
|
||||||
|
//
|
||||||
|
// web_server false
|
||||||
|
// Whether to allow sessions started in the terminal to be shared through a local web server, assuming one is
|
||||||
|
// running (see the `web_server` option for more details).
|
||||||
|
// (Requires restart)
|
||||||
|
//
|
||||||
|
// Note: This is an administrative separation and not intended as a security measure.
|
||||||
|
//
|
||||||
|
// Possible values:
|
||||||
|
// - "on" (allow web sharing through the local web server if it
|
||||||
|
// is online)
|
||||||
|
// - "off" (do not allow web sharing unless sessions explicitly opt-in to it)
|
||||||
|
// - "disabled" (do not allow web sharing and do not permit sessions started in the terminal to opt-in to it)
|
||||||
|
// Default: "off"
|
||||||
|
//
|
||||||
|
// web_sharing "off"
|
||||||
|
// A path to a certificate file to be used when setting up the web client to serve the
|
||||||
|
// connection over HTTPs
|
||||||
|
//
|
||||||
|
// web_server_cert "/path/to/cert.pem"
|
||||||
|
// A path to a key file to be used when setting up the web client to serve the
|
||||||
|
// connection over HTTPs
|
||||||
|
//
|
||||||
|
// web_server_key "/path/to/key.pem"
|
||||||
|
/// Whether to enforce https connections to the web server when it is bound to localhost
|
||||||
|
/// (127.0.0.0/8)
|
||||||
|
///
|
||||||
|
/// Note: https is ALWAYS enforced when bound to non-local interfaces
|
||||||
|
///
|
||||||
|
/// Default: false
|
||||||
|
//
|
||||||
|
// enforce_https_for_localhost false
|
||||||
|
|
||||||
|
// Whether to stack panes when resizing beyond a certain size
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
// stacked_resize false
|
||||||
|
|
||||||
|
// Whether to show tips on startup
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
show_startup_tips false
|
||||||
|
|
||||||
|
// Whether to show release notes on first version run
|
||||||
|
// Default: true
|
||||||
|
//
|
||||||
|
// show_release_notes false
|
||||||
|
|
||||||
|
// Whether to enable mouse hover effects and pane grouping functionality
|
||||||
|
// default is true
|
||||||
|
// advanced_mouse_actions false
|
||||||
|
|
||||||
|
// The ip address the web server should listen on when it starts
|
||||||
|
// Default: "127.0.0.1"
|
||||||
|
// (Requires restart)
|
||||||
|
// web_server_ip "127.0.0.1"
|
||||||
|
|
||||||
|
// The port the web server should listen on when it starts
|
||||||
|
// Default: 8082
|
||||||
|
// (Requires restart)
|
||||||
|
// web_server_port 8082
|
||||||
|
|
||||||
|
// A command to run (will be wrapped with sh -c and provided the RESURRECT_COMMAND env variable)
|
||||||
|
// after Zellij attempts to discover a command inside a pane when resurrecting sessions, the STDOUT
|
||||||
|
// of this command will be used instead of the discovered RESURRECT_COMMAND
|
||||||
|
// can be useful for removing wrappers around commands
|
||||||
|
// Note: be sure to escape backslashes and similar characters properly
|
||||||
|
// post_command_discovery_hook "echo $RESURRECT_COMMAND | sed <your_regex_here>"
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
[window]
|
[window]
|
||||||
opacity = 0.8
|
#opacity = 0.8
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
normal = { family = "monospace", style = "Medium" }
|
normal = { family = "monospace", style = "Medium" }
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Main dunst configuration
|
# Main dunst configuration
|
||||||
|
|
||||||
[global]
|
[global]
|
||||||
monitor = 0
|
monitor = 2 # For the multi monitor setup
|
||||||
follow = none
|
follow = none
|
||||||
origin = top-right
|
origin = top-right
|
||||||
offset = 5 x 15
|
offset = 5 x 15
|
||||||
@@ -28,7 +28,6 @@
|
|||||||
alignment = left
|
alignment = left
|
||||||
vertical_alignment = center
|
vertical_alignment = center
|
||||||
|
|
||||||
|
|
||||||
ignore_newline = no
|
ignore_newline = no
|
||||||
stack_duplicates = true
|
stack_duplicates = true
|
||||||
hide_duplicate_count = false
|
hide_duplicate_count = false
|
||||||
@@ -38,4 +37,3 @@
|
|||||||
|
|
||||||
corner_radius = 5
|
corner_radius = 5
|
||||||
corners = bottom, top-left
|
corners = bottom, top-left
|
||||||
|
|
||||||
|
|||||||
@@ -5,26 +5,50 @@ monitor = HDMI-A-1, 1920x1080@60, 0x0, 1
|
|||||||
monitor = HDMI-A-2, 1920x1080@60, -1920x0, 1
|
monitor = HDMI-A-2, 1920x1080@60, -1920x0, 1
|
||||||
monitor = DP-1, 1920x1080@60, 1920x0, 1
|
monitor = DP-1, 1920x1080@60, 1920x0, 1
|
||||||
|
|
||||||
input:tablet {
|
device {
|
||||||
|
name = gaomon-gaomon-tablet # Big one
|
||||||
output = HDMI-A-1
|
output = HDMI-A-1
|
||||||
active_area_size = 170, 120
|
active_area_size = 170, 120
|
||||||
active_area_position = 35, 30
|
active_area_position = 35, 30
|
||||||
}
|
}
|
||||||
|
|
||||||
|
device {
|
||||||
|
name = gaomon-gaomon-tablet-pen # Small one
|
||||||
|
output = HDMI-A-1
|
||||||
|
active_area_size = 155, 60
|
||||||
|
active_area_position = 0, 0
|
||||||
|
}
|
||||||
|
|
||||||
#######################################################################################
|
#######################################################################################
|
||||||
|
|
||||||
$terminal = alacritty
|
$terminal = alacritty
|
||||||
$menu = tofi-drun --terminal=kitty | sh
|
$menu = tofi-drun --terminal="alacritty -e" | sh
|
||||||
|
|
||||||
#######################################################################################
|
#######################################################################################
|
||||||
|
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
exec-once = hyprsunset -t 3000
|
exec-once = hyprsunset -t 3000
|
||||||
exec-once = wl-clip-persist --clipboard regular
|
exec-once = wl-clip-persist --clipboard regular
|
||||||
exec-once = hyprpaper
|
#exec-once = hyprpaper
|
||||||
exec-once = nm-applet
|
exec-once = nm-applet
|
||||||
exec-once = ~/projects/scripts/shell/rnote_mapper.sh
|
exec-once = ~/projects/scripts/shell/start_kmonad.sh
|
||||||
|
exec-once = sleep 5 && nextcloud
|
||||||
|
# To save battery
|
||||||
|
#exec-once = sleep 5 && owncloud
|
||||||
|
|
||||||
|
# Prevent speaker damage
|
||||||
|
exec-once = sleep 5 && wpctl set-volume @DEFAULT_AUDIO_SINK@ 42%
|
||||||
|
|
||||||
|
#exec-once = ~/projects/scripts/shell/rnote_mapper.sh
|
||||||
|
exec-once = ~/projects/scripts/shell/toggle_grayscale.sh
|
||||||
|
exec-once = ~/projects/scripts/shell/computer.sh
|
||||||
|
|
||||||
|
# Mount the webdav folder configured by rclone
|
||||||
|
#exec-once = mkdir -p ~/Notecloud
|
||||||
|
#exec-once = rclone mount Strato: ~/Notecloud
|
||||||
|
|
||||||
|
# Set the right workspace otherwise it is set to ten
|
||||||
|
exec-once = sleep 0.1 && hyprctl dispatch workspace 1
|
||||||
|
|
||||||
# Check the hostname and enable animations only on a specific device
|
# Check the hostname and enable animations only on a specific device
|
||||||
#exec-once = sh -c 'if [ "$(hostname)" = "minoxy" ]; then hyprctl keyword animations enabled; fi'
|
#exec-once = sh -c 'if [ "$(hostname)" = "minoxy" ]; then hyprctl keyword animations enabled; fi'
|
||||||
@@ -40,10 +64,14 @@ workspace=4,monitor:HDMI-A-1
|
|||||||
workspace=5,monitor:HDMI-A-2
|
workspace=5,monitor:HDMI-A-2
|
||||||
workspace=6,monitor:HDMI-A-2
|
workspace=6,monitor:HDMI-A-2
|
||||||
workspace=7,monitor:HDMI-A-2
|
workspace=7,monitor:HDMI-A-2
|
||||||
|
workspace=11,monitor:HDMI-A-2
|
||||||
|
|
||||||
|
workspace=12,monitor:HDMI-A-2
|
||||||
|
|
||||||
workspace=8,monitor:DP-1
|
workspace=8,monitor:DP-1
|
||||||
workspace=9,monitor:DP-1
|
workspace=9,monitor:DP-1
|
||||||
workspace=0,monitor:DP-1
|
workspace=13,monitor:DP-1
|
||||||
|
workspace=14,monitor:DP-1
|
||||||
|
|
||||||
env = HYPRCURSOR_THEME,catppuccin-frappe-rosewater-cursors
|
env = HYPRCURSOR_THEME,catppuccin-frappe-rosewater-cursors
|
||||||
env = HYPRCURSOR_SIZE,18
|
env = HYPRCURSOR_SIZE,18
|
||||||
@@ -69,6 +97,7 @@ misc {
|
|||||||
|
|
||||||
input {
|
input {
|
||||||
kb_layout = us
|
kb_layout = us
|
||||||
|
kb_options = compose:ralt
|
||||||
follow_mouse = 1
|
follow_mouse = 1
|
||||||
touchpad {
|
touchpad {
|
||||||
natural_scroll = false
|
natural_scroll = false
|
||||||
@@ -84,6 +113,7 @@ bind = $mainMod, B, exec, firefox
|
|||||||
bind = $mainMod, M, exit,
|
bind = $mainMod, M, exit,
|
||||||
bind = $mainMod, F, togglefloating,
|
bind = $mainMod, F, togglefloating,
|
||||||
bind = $mainMod, P, exec, $menu
|
bind = $mainMod, P, exec, $menu
|
||||||
|
bind = $mainMod, E, exec, nemo
|
||||||
|
|
||||||
# Some keybindings for screenshot and colorpicking
|
# Some keybindings for screenshot and colorpicking
|
||||||
bind = , Print, exec, hyprshot -m region --clipboard-only
|
bind = , Print, exec, hyprshot -m region --clipboard-only
|
||||||
@@ -106,6 +136,10 @@ bind = $mainMod, 7, workspace, 7
|
|||||||
bind = $mainMod, 8, workspace, 8
|
bind = $mainMod, 8, workspace, 8
|
||||||
bind = $mainMod, 9, workspace, 9
|
bind = $mainMod, 9, workspace, 9
|
||||||
bind = $mainMod, 0, workspace, 10
|
bind = $mainMod, 0, workspace, 10
|
||||||
|
bind = $mainMod, A, workspace, 11
|
||||||
|
bind = $mainMod, S, workspace, 12
|
||||||
|
bind = $mainMod, D, workspace, 13
|
||||||
|
bind = $mainMod, G, workspace, 14
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||||
@@ -116,8 +150,16 @@ bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
|||||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||||
|
bind = $mainMod SHIFT, A, movetoworkspace, 11
|
||||||
|
bind = $mainMod SHIFT, S, movetoworkspace, 12
|
||||||
|
bind = $mainMod SHIFT, D, movetoworkspace, 13
|
||||||
|
bind = $mainMod SHIFT, G, movetoworkspace, 14
|
||||||
bind = $mainMod, F12, exec, ~/projects/scripts/unison_sync.sh
|
bind = $mainMod, F12, exec, ~/projects/scripts/unison_sync.sh
|
||||||
|
|
||||||
|
# Useful rotation for thinkpad
|
||||||
|
bind = $mainMod SHIFT, F7, exec, hyprctl keyword monitor eDP-1,preferred,auto,1,transform,2
|
||||||
|
bind = $mainMod, F7, exec, hyprctl keyword monitor eDP-1,preferred,auto,1,transform,0
|
||||||
|
|
||||||
# Resizeing with mouse buttons while pressed mod
|
# Resizeing with mouse buttons while pressed mod
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
@@ -137,6 +179,7 @@ bindt = $mainMod SHIFT, L, exec, hyprlock
|
|||||||
windowrulev2 = suppressevent maximize, class:.*
|
windowrulev2 = suppressevent maximize, class:.*
|
||||||
|
|
||||||
windowrulev2 = float, class:(clipse)
|
windowrulev2 = float, class:(clipse)
|
||||||
|
windowrulev2 = float, class:(Edit Item)
|
||||||
windowrulev2 = size 622 652, class:(clipse)
|
windowrulev2 = size 622 652, class:(clipse)
|
||||||
windowrulev2 = stayfocused, class:(clipse)
|
windowrulev2 = stayfocused, class:(clipse)
|
||||||
windowrulev2 = float, class:(org.kde.dolphin)
|
windowrulev2 = float, class:(org.kde.dolphin)
|
||||||
@@ -168,7 +211,7 @@ windowrulev2 = workspace 5, class:(steam)
|
|||||||
windowrulev2 = workspace 5, class:(blender)
|
windowrulev2 = workspace 5, class:(blender)
|
||||||
|
|
||||||
windowrulev2 = workspace 6, initialTitle:(LibreOffice)
|
windowrulev2 = workspace 6, initialTitle:(LibreOffice)
|
||||||
windowrulev2 = workspace 6, initialTitle:(GNU Image Manipulation Program)
|
#windowrulev2 = workspace 6, initialTitle:(GNU Image Manipulation Program)
|
||||||
windowrulev2 = workspace 6, class:(org.shotcut.Shotcut)
|
windowrulev2 = workspace 6, class:(org.shotcut.Shotcut)
|
||||||
|
|
||||||
# Social Apps
|
# Social Apps
|
||||||
@@ -196,28 +239,54 @@ windowrulev2 = workspace 10, class:(org.prismlauncher.PrismLauncher)
|
|||||||
#windowrule = float,^(sioyek)$ # set rounding to 10 for kitty
|
#windowrule = float,^(sioyek)$ # set rounding to 10 for kitty
|
||||||
windowrulev2 = size 900 500, title:(Select Document)
|
windowrulev2 = size 900 500, title:(Select Document)
|
||||||
windowrulev2 = size 900 500, title:(Open File)
|
windowrulev2 = size 900 500, title:(Open File)
|
||||||
|
windowrulev2 = float, class:(PrismLauncher)
|
||||||
|
windowrulev2 = workspace 9, class:(PrismLauncher)
|
||||||
|
windowrulev2 = workspace 4, class:(Minecraft*)
|
||||||
|
|
||||||
# Settings applications will float
|
# Settings applications will float
|
||||||
windowrulev2 = float, class:(qt6ct)
|
windowrulev2 = float, class:(qt6ct)
|
||||||
|
windowrulev2 = float, class:(nm-connection-editor)
|
||||||
|
windowrulev2 = float, title:(Save Document As)
|
||||||
|
windowrulev2 = float, title:(Print)
|
||||||
windowrulev2 = float, class:(simple-scan)
|
windowrulev2 = float, class:(simple-scan)
|
||||||
windowrulev2 = float, title:(Kvantum Manager)
|
windowrulev2 = float, title:(Kvantum Manager)
|
||||||
windowrulev2 = float, class:(qt5ct)
|
windowrulev2 = float, class:(qt5ct)
|
||||||
windowrulev2 = float, title:(Open File)
|
windowrulev2 = float, title:(Open File)
|
||||||
windowrulev2 = float, title:(Open Folder)
|
windowrulev2 = float, title:(Open Folder)
|
||||||
windowrulev2 = float, title:(Save As)
|
windowrulev2 = float, title:(Save As)
|
||||||
windowrulev2 = tile, class:(sioyek)
|
windowrulev2 = float, title:(Preferences)
|
||||||
|
|
||||||
|
windowrulev2 = float, title:(Add)
|
||||||
|
|
||||||
windowrulev2 = size 450 450, class:(Gnuplot)
|
windowrulev2 = size 450 450, class:(Gnuplot)
|
||||||
windowrulev2 = move 100 203100, class:(Gnuplot)
|
windowrulev2 = move 100 203, class:(Gnuplot)
|
||||||
|
|
||||||
windowrulev2 = float, class:(io.github.Qalculate.qalculate-qt)
|
# Overwrite mechanics
|
||||||
windowrulev2 = size 700 700, class:(Qalculate!)
|
windowrulev2 = float, class:(thunderbird)
|
||||||
|
windowrulev2 = tile, initialTitle:(Mozilla Thunderbird)
|
||||||
|
|
||||||
|
#windowrulev2 = tile, class:(sioyek)
|
||||||
windowrulev2 = float, title:(Select Document)
|
windowrulev2 = float, title:(Select Document)
|
||||||
|
windowrulev2 = float, class:(Nextcloud)
|
||||||
|
windowrulev2 = move 1250 28, class:(Nextcloud)
|
||||||
|
windowrulev2 = move 700 50, title:(Nextcloud Settings)
|
||||||
|
windowrulev2 = size 700 800, title:(Nextcloud Settings)
|
||||||
|
|
||||||
windowrulev2 = size 800 250, class:(org.pulseaudio.pavucontrol)
|
windowrulev2 = float, class:(ownCloud)
|
||||||
|
windowrulev2 = move 800 48, class:(ownCloud)
|
||||||
|
windowrulev2 = move 700 50, title:(Nextcloud Settings)
|
||||||
|
|
||||||
|
windowrulev2 = size 1200 900, title:(Add)
|
||||||
|
|
||||||
|
windowrulev2 = size 800 450, class:(org.pulseaudio.pavucontrol)
|
||||||
windowrulev2 = move 40 80, class:(org.pulseaudio.pavucontrol)
|
windowrulev2 = move 40 80, class:(org.pulseaudio.pavucontrol)
|
||||||
|
windowrulev2 = move 1300 80, class:(nm-connection-editor)
|
||||||
windowrulev2 = float, class:(org.pulseaudio.pavucontrol)
|
windowrulev2 = float, class:(org.pulseaudio.pavucontrol)
|
||||||
windowrulev2 = float, class:(cheese)
|
windowrulev2 = float, class:(cheese)
|
||||||
|
windowrulev2 = float, class:(nemo)
|
||||||
|
windowrulev2 = float, initialTitle:(Open)
|
||||||
|
windowrulev2 = size 1200 900, class:(nemo)
|
||||||
|
|
||||||
|
|
||||||
windowrulev2 = move 50 100, class:(xdragon)
|
windowrulev2 = move 50 100, class:(xdragon)
|
||||||
windowrulev2 = pin, class:(xdragon)
|
windowrulev2 = pin, class:(xdragon)
|
||||||
|
|||||||
45
gui/dot-config/hypr/hyprlock.conf
Normal file
45
gui/dot-config/hypr/hyprlock.conf
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
input-field {
|
||||||
|
size = 280, 55
|
||||||
|
outline_thickness = 2
|
||||||
|
dots_size = 0.2
|
||||||
|
dots_spacing = 0.2
|
||||||
|
dots_center = true
|
||||||
|
outer_color = rgba(10, 0, 0, 0)
|
||||||
|
inner_color = rgba(255, 255, 255, 0.1)
|
||||||
|
font_color = rgb(200, 200, 200)
|
||||||
|
fade_on_empty = false
|
||||||
|
font_family = SF Pro Display Bold
|
||||||
|
placeholder_text = <i><span foreground="##ffffff99">Enter Pass</span></i>
|
||||||
|
hide_input = false
|
||||||
|
position = 0, -210
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
# Date display
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo -e "$(LC_TIME=en_US.UTF-8 date +"%A, %B %d")"
|
||||||
|
color = rgba(216, 222, 233, 0.90)
|
||||||
|
font_size = 25
|
||||||
|
font_family = SF Pro Display Semibold
|
||||||
|
position = 0, 350
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# Time display
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"
|
||||||
|
color = rgba(216, 222, 233, 0.90)
|
||||||
|
font_size = 120
|
||||||
|
font_family = SF Pro Display Bold
|
||||||
|
position = 0, 230
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# Set to just black background as wanted
|
||||||
|
background {
|
||||||
|
contrast = 0.5
|
||||||
|
}
|
||||||
18
gui/dot-config/hypr/shaders/grayscale-custom.glsl
Normal file
18
gui/dot-config/hypr/shaders/grayscale-custom.glsl
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#version 300 es
|
||||||
|
|
||||||
|
precision highp float;
|
||||||
|
|
||||||
|
in vec2 v_texcoord;
|
||||||
|
uniform sampler2D tex;
|
||||||
|
out vec4 fragColor;
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec4 pixColor = texture(tex, v_texcoord);
|
||||||
|
float gray = 0.0;
|
||||||
|
|
||||||
|
// Get gray with luminosity and hdr
|
||||||
|
// https://en.wikipedia.org/wiki/Grayscale#Luma_coding_in_video_systems
|
||||||
|
gray = dot(pixColor.rgb, vec3(0.2627, 0.6780, 0.0593));
|
||||||
|
|
||||||
|
fragColor = vec4(vec3(gray), pixColor.a);
|
||||||
|
}
|
||||||
@@ -2,7 +2,7 @@ include ./theme.conf
|
|||||||
|
|
||||||
font_size 11.5
|
font_size 11.5
|
||||||
enable_audio_bell yes
|
enable_audio_bell yes
|
||||||
background_opacity 0.80
|
#background_opacity 0.80
|
||||||
default_pointer_shape arrow
|
default_pointer_shape arrow
|
||||||
mouse_hide_wait 1
|
mouse_hide_wait 1
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ font = NotoFont
|
|||||||
font-size = 14
|
font-size = 14
|
||||||
|
|
||||||
outline-width = 0
|
outline-width = 0
|
||||||
border-width = 1
|
border-width = 2
|
||||||
padding-left = 4%
|
padding-left = 4%
|
||||||
padding-top = 2%
|
padding-top = 2%
|
||||||
|
|
||||||
@@ -10,17 +10,16 @@ background-color = #111
|
|||||||
text-color = #f9fbff
|
text-color = #f9fbff
|
||||||
selection-color = #933
|
selection-color = #933
|
||||||
prompt-text = "Act: "
|
prompt-text = "Act: "
|
||||||
|
placeholder-text = "Now"
|
||||||
|
|
||||||
width = 20%
|
width = 30%
|
||||||
height = 40%
|
height = 30%
|
||||||
anchor = bottom-right
|
|
||||||
margin-top = 100
|
anchor = top
|
||||||
margin-bottom = 100
|
margin-top = 250
|
||||||
input-background = #1234
|
input-background = #1234
|
||||||
margin-left = 100
|
|
||||||
margin-right = 100
|
|
||||||
|
|
||||||
hide-cursor = false
|
hide-cursor = false
|
||||||
corner-radius = 10
|
corner-radius = 7
|
||||||
border-color = #F9a672
|
border-color = #F9a672
|
||||||
background-color = #1B1D1Eaa
|
background-color = #1B1D1Eaa
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
[{
|
||||||
"height": 0,
|
|
||||||
"position": "top",
|
"position": "top",
|
||||||
|
"output": ["HDMI-A-1", "eDP-1"],
|
||||||
"modules-left": ["hyprland/workspaces", "hyprland/window"],
|
"modules-left": ["hyprland/workspaces", "hyprland/window"],
|
||||||
"modules-center": ["custom/webdav","clock", "custom/status"],
|
"modules-center": ["custom/webdav","clock", "custom/status"],
|
||||||
"modules-right": ["tray", "pulseaudio", "backlight", "cpu", "memory", "battery"],
|
"modules-right": ["tray", "pulseaudio", "backlight", "cpu", "memory", "battery"],
|
||||||
@@ -44,4 +44,14 @@
|
|||||||
"icon-size": 21,
|
"icon-size": 21,
|
||||||
"spacing": 5
|
"spacing": 5
|
||||||
},
|
},
|
||||||
}
|
}, {
|
||||||
|
"width": 0,
|
||||||
|
"position": "right",
|
||||||
|
"output": "HDMI-A-2",
|
||||||
|
"modules-left": [ "hyprland/workspaces"],
|
||||||
|
}, {
|
||||||
|
"width": 0,
|
||||||
|
"position": "left",
|
||||||
|
"output": "DP-1",
|
||||||
|
"modules-left": [ "hyprland/workspaces"],
|
||||||
|
}]
|
||||||
|
|||||||
@@ -6,3 +6,6 @@ else
|
|||||||
PS1='\u@\h:\w\$ '
|
PS1='\u@\h:\w\$ '
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Added by GitLab Knowledge Graph installer
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
@@ -2,20 +2,35 @@
|
|||||||
# Common config across different shells #
|
# Common config across different shells #
|
||||||
#########################################
|
#########################################
|
||||||
|
|
||||||
export EDITOR='nvim'
|
export EDITOR='hx'
|
||||||
export HTTP_HOME="duckduckgo.com"
|
export HTTP_HOME="duckduckgo.com"
|
||||||
export RANGER_LOAD_DEFAULT_RC=false
|
export RANGER_LOAD_DEFAULT_RC=false
|
||||||
export PATH=$HOME/programs_local/:$HOME/.cargo/bin:~/projects/scripts:$HOME/.local/bin:/usr/local/bin:$PATH
|
export PATH=$HOME/programs_local/:$HOME/.cargo/bin:~/projects/scripts:/usr/local/bin:$PATH
|
||||||
export PATH=$HOME/programs_local/:~/projects/scripts:$PATH
|
export PATH=$HOME/programs_local/:~/projects/scripts:~/projects/scripts/other:$PATH
|
||||||
export MANPAGER="nvim +Man!"
|
export MANPAGER="nvim +Man!"
|
||||||
export GOPATH=$HOME/.go
|
export GOPATH=$HOME/.go
|
||||||
export PATH=$HOME/.go/bin:$PATH
|
export PATH=$HOME/.go/bin:$PATH
|
||||||
export ANDROID_HOME=/home/jonas/Android
|
export ANDROID_HOME=/home/jonas/Android
|
||||||
|
export NAP_CONFIG="~/.config/nap/config.yaml"
|
||||||
|
|
||||||
export loc="$HOME/files_local/"
|
export loc="$HOME/files_local/"
|
||||||
|
|
||||||
|
# Currently not working
|
||||||
|
alias gita="GIT_PAGER=cat git cat-file --batch-all-objects --batch-check \
|
||||||
|
| awk '$2==\"blob\"{print $1}' \
|
||||||
|
| xargs -n1 -I{} sh -c '
|
||||||
|
echo; echo \"==================== {} ====================\";
|
||||||
|
git cat-file -p {} > /tmp/blob.bin;
|
||||||
|
case "$(file -b /tmp/blob.bin)" in
|
||||||
|
*text*) sed -n \"1,200p\" /tmp/blob.bin ;;
|
||||||
|
*) strings /tmp/blob.bin | sed -n \"1,200p\" ;;
|
||||||
|
esac
|
||||||
|
'"
|
||||||
|
|
||||||
alias oati="~/projects/scripts/oathi.sh"
|
alias oati="~/projects/scripts/oathi.sh"
|
||||||
|
alias imu="immich upload -r ."
|
||||||
alias chch="~/projects/scripts/check_git.sh"
|
alias chch="~/projects/scripts/check_git.sh"
|
||||||
|
alias rp="rsync --info=progress2 -a --checksum"
|
||||||
alias aut="~/projects/scripts/autostart-server.sh"
|
alias aut="~/projects/scripts/autostart-server.sh"
|
||||||
alias tt="~/projects/scripts/find_gits.sh"
|
alias tt="~/projects/scripts/find_gits.sh"
|
||||||
alias on="nvim ~/projects/planner/quick.md"
|
alias on="nvim ~/projects/planner/quick.md"
|
||||||
@@ -24,11 +39,14 @@ alias um="umount /mnt/webdav"
|
|||||||
alias mm="systemctl start mnt-webdav.mount"
|
alias mm="systemctl start mnt-webdav.mount"
|
||||||
alias wi="wiki-tui"
|
alias wi="wiki-tui"
|
||||||
alias a="alpine"
|
alias a="alpine"
|
||||||
|
alias h="hx"
|
||||||
|
alias l="lazygit"
|
||||||
alias ff="~/projects/scripts/hyprfix.sh" # Fix the touchpad not working on the laptop with a simple script
|
alias ff="~/projects/scripts/hyprfix.sh" # Fix the touchpad not working on the laptop with a simple script
|
||||||
alias sp="spotify_player"
|
alias sp="spotify_player"
|
||||||
alias ne="newsboat"
|
alias ne="newsboat"
|
||||||
|
alias j="zellij -l compact options --simplified-ui true"
|
||||||
alias po="castero"
|
alias po="castero"
|
||||||
alias h="zsh"
|
alias h="~/projects/scripts/shell/helper.sh"
|
||||||
alias tw="torify w3m duckduckgo.com"
|
alias tw="torify w3m duckduckgo.com"
|
||||||
alias rmbak="mkdir -p ~/.local/share/Trash/files && find . -name '.bak.*' -exec mv '{}' ~/.local/share/Trash/files \;"
|
alias rmbak="mkdir -p ~/.local/share/Trash/files && find . -name '.bak.*' -exec mv '{}' ~/.local/share/Trash/files \;"
|
||||||
alias f="~/projects/scripts/search.sh"
|
alias f="~/projects/scripts/search.sh"
|
||||||
@@ -38,7 +56,7 @@ alias lg="lazygit"
|
|||||||
alias m="make"
|
alias m="make"
|
||||||
alias mn="make nix"
|
alias mn="make nix"
|
||||||
alias syn="~/projects/scripts/run_unison.sh"
|
alias syn="~/projects/scripts/run_unison.sh"
|
||||||
alias s="~/projects/scripts/run_unison.sh"
|
alias s="sync && source ~/.zshrc"
|
||||||
alias rmt="rm /tmp/all_git_projects"
|
alias rmt="rm /tmp/all_git_projects"
|
||||||
alias fu="chch && fla && shd"
|
alias fu="chch && fla && shd"
|
||||||
alias fla="sudo nixos-rebuild switch --flake ~/nixos#"
|
alias fla="sudo nixos-rebuild switch --flake ~/nixos#"
|
||||||
@@ -54,7 +72,7 @@ alias t="todo.sh"
|
|||||||
alias tl="todo.sh list"
|
alias tl="todo.sh list"
|
||||||
alias td="todo.sh do"
|
alias td="todo.sh do"
|
||||||
alias de="sudo loadkeys de"
|
alias de="sudo loadkeys de"
|
||||||
alias us="sudo loadkeys us"
|
alias us="~/projects/scripts/shell/uni_setup.sh > /dev/zero 2>&1"
|
||||||
alias b="btop"
|
alias b="btop"
|
||||||
alias c="cat"
|
alias c="cat"
|
||||||
alias chch="~/projects/scripts/check_git.sh"
|
alias chch="~/projects/scripts/check_git.sh"
|
||||||
@@ -63,7 +81,11 @@ alias gui="Hyprland && clear"
|
|||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
alias tofiu='rm ~/.cache/tofi-drun'
|
alias tofiu='rm ~/.cache/tofi-drun'
|
||||||
alias ll='exa -la '
|
alias ll='exa -la '
|
||||||
alias shd="shutdown now"
|
alias shd="systemctl poweroff"
|
||||||
|
alias nt="nvim ~/Nextcloud/Notes/in.txt"
|
||||||
|
|
||||||
|
alias upda="~/projects/scripts/shell/up.sh"
|
||||||
|
|
||||||
alias ttt='timer -f 10m'
|
alias ttt='timer -f 10m'
|
||||||
alias zshconfig="mate ~/.zshrc"
|
alias zshconfig="mate ~/.zshrc"
|
||||||
alias giter="git add . && git commit -a -m 'auto commit' && git push"
|
alias giter="git add . && git commit -a -m 'auto commit' && git push"
|
||||||
@@ -72,3 +94,23 @@ alias oiiiii="bash ~/management/office/sync.sh in"
|
|||||||
alias ou="bash ~/management/office/sync.sh out"
|
alias ou="bash ~/management/office/sync.sh out"
|
||||||
alias aiiiii="bash ~/projects/scripts/sync_all.sh in"
|
alias aiiiii="bash ~/projects/scripts/sync_all.sh in"
|
||||||
alias au="bash ~/projects/scripts/sync_all.sh out"
|
alias au="bash ~/projects/scripts/sync_all.sh out"
|
||||||
|
|
||||||
|
alias ia="ip a"
|
||||||
|
alias sn="nohup 'nextcloud' > /dev/zero &"
|
||||||
|
alias pdf="~/projects/scripts/shell/traverse_pdf.sh"
|
||||||
|
alias ud="~/projects/scripts/shell/traverse_pdf.sh ~/projects/university ~/Nextcloud/University"
|
||||||
|
alias rnt="~/projects/scripts/shell/traverse_rnote.sh ~/Nextcloud/University ~/Nextcloud/HandNotes"
|
||||||
|
alias typ="~/projects/scripts/shell/traverse_typst.sh ~/projects/university"
|
||||||
|
|
||||||
|
alias mt="mkdir -p ~/Notecloud && rclone mount Strato: ~/Notecloud"
|
||||||
|
alias tp="~/projects/scripts/shell/open_sess.sh"
|
||||||
|
|
||||||
|
# From gpt
|
||||||
|
alias nv='tmux new-session -d -s university -n uni "cd ~/projects/university && nvim -c '\''lua require(\"custom.uni\").select_course_directory()'\''" && tmux new-window -t university:2 -n typstar "cd ~/projects/typstar; exec $SHELL" && tmux select-window -t university:1 && tmux attach -t university'
|
||||||
|
alias gre='grep -C 7 '
|
||||||
|
|
||||||
|
alias f='nvim -c "lua vim.defer_fn(function() require(\"utils.functions\").fzf_wrapped(\"find\") end, 100)"'
|
||||||
|
alias g='nvim -c "lua vim.defer_fn(function() require(\"utils.functions\").fzf_wrapped(\"grep\") end, 100)"'
|
||||||
|
alias kn="killall .nextcloud-wrapped"
|
||||||
|
alias vim="nvim"
|
||||||
|
alias kh="kmonad ~/dotfiles/home/dot-kmonad/hyper.kbd"
|
||||||
|
|||||||
@@ -22,6 +22,9 @@
|
|||||||
email = "jonashahn1@gmx.net"
|
email = "jonashahn1@gmx.net"
|
||||||
name = "Jonas Hahn"
|
name = "Jonas Hahn"
|
||||||
|
|
||||||
|
[diff]
|
||||||
|
tool = "vimdiff"
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
|
|
||||||
68
home/dot-kmonad/hyper.kbd
Normal file
68
home/dot-kmonad/hyper.kbd
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
(defcfg
|
||||||
|
input (device-file "/dev/input/by-id/usb-HyperX_Alloy_Elite_RGB_HyperX_Alloy_Elite_RGB-event-kbd")
|
||||||
|
|
||||||
|
output (uinput-sink "Jonas kmonad modified output")
|
||||||
|
cmp-seq ralt
|
||||||
|
cmp-seq-delay 5
|
||||||
|
key-seq-delay 5
|
||||||
|
|
||||||
|
fallthrough true
|
||||||
|
allow-cmd true
|
||||||
|
implicit-around around
|
||||||
|
)
|
||||||
|
|
||||||
|
(defsrc
|
||||||
|
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause
|
||||||
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup nlck kp/ kp* kp-
|
||||||
|
tab q w e r t y u i o p [ ] ret del end pgdn kp7 kp8 kp9 kp+
|
||||||
|
caps a s d f g h j k l ; ' \ kp4 kp5 kp6
|
||||||
|
lsft 102d z x c v b n m , . / rsft up kp1 kp2 kp3 kprt
|
||||||
|
lctl lmet lalt spc ralt rmet cmp rctl left down rght kp0 kp.
|
||||||
|
)
|
||||||
|
|
||||||
|
(defalias
|
||||||
|
caps (tap-hold-next 200 esc lctl)
|
||||||
|
|
||||||
|
symbols (layer-toggle symbols)
|
||||||
|
|
||||||
|
neo (layer-switch neo)
|
||||||
|
specials (layer-toggle specials)
|
||||||
|
default (layer-switch default)
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer default
|
||||||
|
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq XX XX
|
||||||
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc XX XX XX XX XX XX XX
|
||||||
|
tab q w e r t y u i o p [ ] ret XX XX XX XX XX XX XX
|
||||||
|
@caps a s d f g h j k l ; @symbols @symbols XX XX XX
|
||||||
|
rsft @specials z x c v b n m , . / rsft up XX XX XX XX
|
||||||
|
@neo lalt lmet spc lalt XX XX XX left down rght XX XX
|
||||||
|
)
|
||||||
|
|
||||||
|
;; Inspired from neo, graphite and enthium
|
||||||
|
(deflayer neo
|
||||||
|
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq XX XX
|
||||||
|
XX 1 2 3 4 5 6 7 8 9 0 XX XX bspc XX XX XX XX XX XX XX
|
||||||
|
tab b l d w z _ f o u j XX XX ret XX XX XX XX XX XX XX
|
||||||
|
@caps n r t s g y h a e i @symbols @symbols XX XX XX
|
||||||
|
lsft @specials q x m c v k p _ _ _ rsft up XX XX XX XX
|
||||||
|
@default lalt lmet spc lalt XX XX XX left down rght XX XX
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer symbols
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
- \ / [ ] ^ ! < > @ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
= ' " { } * ? \( \) _ _ _ _ _ _ _
|
||||||
|
_ _ # $ | ~ ` + % _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ & \_ _ _ _ _ _ _ _ _ _
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer specials
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ pgdn up pgup _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ left down rght _ _ ä ö ü ß _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
)
|
||||||
77
home/dot-kmonad/thinkpad.kbd
Normal file
77
home/dot-kmonad/thinkpad.kbd
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
(defcfg
|
||||||
|
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
|
||||||
|
|
||||||
|
output (uinput-sink "Jonas kmonad modified output")
|
||||||
|
cmp-seq ralt
|
||||||
|
cmp-seq-delay 5
|
||||||
|
key-seq-delay 5
|
||||||
|
|
||||||
|
fallthrough true
|
||||||
|
allow-cmd true
|
||||||
|
implicit-around around
|
||||||
|
)
|
||||||
|
|
||||||
|
(defsrc
|
||||||
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
|
tab q w e r t y u i o p [ ] ret
|
||||||
|
caps a s d f g h j k l ; ' \
|
||||||
|
lsft lsgt z x c v b n m , . / rsft
|
||||||
|
lctl lmet lalt spc ralt rmet cmp rctl
|
||||||
|
)
|
||||||
|
|
||||||
|
(defalias
|
||||||
|
symbols (layer-toggle symbols)
|
||||||
|
specials (layer-toggle specials)
|
||||||
|
numbers (layer-toggle numbers)
|
||||||
|
|
||||||
|
graphite (layer-switch graphite)
|
||||||
|
default (layer-switch default)
|
||||||
|
|
||||||
|
mod1 @symbols
|
||||||
|
mod2 @specials
|
||||||
|
|
||||||
|
caps (tap-hold-next 200 esc lctl)
|
||||||
|
tab (tap-hold-next 200 tab @mod2)
|
||||||
|
|
||||||
|
middle ret
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer default
|
||||||
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
|
@tab q w e r t y u i o p [ ] ret
|
||||||
|
@caps a s d f g h j k l ; @mod1 \
|
||||||
|
rsft @mod1 z x c v b n m , . / rsft
|
||||||
|
@graphite lalt lmet spc @mod2 XX XX XX
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer graphite
|
||||||
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
|
@tab b l d w z @middle f o u j [ ] ret
|
||||||
|
@caps n r t s g y h a e i @mod1 \
|
||||||
|
rsft @mod1 q x m c v k p , . / rsft
|
||||||
|
@default lalt lmet spc @mod2 XX XX XX
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer symbols
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
` \ [ ] / ^ _ # < > $ _ _ _
|
||||||
|
= ' " { } ! ? \( \) @ & _ _
|
||||||
|
_ _ ~ - | \_ _ % + * _ _ _
|
||||||
|
_ _ _ _ _ _ _ _
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer specials
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ ö ü _ _ _ _
|
||||||
|
_ _ _ _ ß _ _ _ ä _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer numbers
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ 6 7 8 9 0 _ _
|
||||||
|
_ _ _ _ _ _ _ 1 2 3 4 5 _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _
|
||||||
|
)
|
||||||
@@ -8,6 +8,11 @@ Host amazon
|
|||||||
User ec2-user
|
User ec2-user
|
||||||
IdentityFile ~/.ssh/id_amazon
|
IdentityFile ~/.ssh/id_amazon
|
||||||
|
|
||||||
|
Host harch
|
||||||
|
Hostname 192.168.178.20
|
||||||
|
User jonas
|
||||||
|
IdentityFile ~/.ssh/id_amazon
|
||||||
|
|
||||||
|
|
||||||
Host gitlab.gwdg.de
|
Host gitlab.gwdg.de
|
||||||
HostName gitlab.gwdg.de
|
HostName gitlab.gwdg.de
|
||||||
@@ -28,6 +33,22 @@ Host physik
|
|||||||
User j.hahn02
|
User j.hahn02
|
||||||
IdentityFile ~/.ssh/id_university
|
IdentityFile ~/.ssh/id_university
|
||||||
|
|
||||||
|
Host theo_bitzz
|
||||||
|
HostName bitzz.de
|
||||||
|
User theo
|
||||||
|
IdentityFile ~/.ssh/id_theo
|
||||||
|
|
||||||
Host informatik
|
Host informatik
|
||||||
HostName shell.informatik.uni-goettingen.de
|
HostName shell.informatik.uni-goettingen.de
|
||||||
User j.hahn02
|
User j.hahn02
|
||||||
|
|
||||||
|
Host dock
|
||||||
|
HostName paper.ascyii.de
|
||||||
|
Port 24
|
||||||
|
User admin
|
||||||
|
|
||||||
|
Host git.ascyii.de
|
||||||
|
HostName git.ascyii.de
|
||||||
|
Port 222
|
||||||
|
User admin
|
||||||
|
IdentityFile ~/.ssh/id_gitea
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ bind-key u new-window -d -n fzf-switcher "bash -c '~/projects/scripts/find_gits.
|
|||||||
bind-key s choose-tree -ZsK '#{?#{e|<:#{line},9},#{e|+:1,#{line}},#{?#{e|<:#{line},35},M-#{a:#{e|+:97,#{e|-:#{line},9}}},}}'
|
bind-key s choose-tree -ZsK '#{?#{e|<:#{line},9},#{e|+:1,#{line}},#{?#{e|<:#{line},35},M-#{a:#{e|+:97,#{e|-:#{line},9}}},}}'
|
||||||
#bind-key -n M-9 run-shell "tmux last-window; tmux select-window -t 9; tmux send-keys '!!' Enter; tmux last-window"
|
#bind-key -n M-9 run-shell "tmux last-window; tmux select-window -t 9; tmux send-keys '!!' Enter; tmux last-window"
|
||||||
|
|
||||||
|
bind-key & kill-window
|
||||||
|
bind-key x kill-pane
|
||||||
|
|
||||||
############# Cosmetics
|
############# Cosmetics
|
||||||
set-option -g status-bg black
|
set-option -g status-bg black
|
||||||
set-option -g status-fg white
|
set-option -g status-fg white
|
||||||
@@ -1,8 +1,13 @@
|
|||||||
source $HOME/.common_shell
|
source $HOME/.common_shell
|
||||||
|
|
||||||
|
export TERM="alacritty"
|
||||||
|
|
||||||
bindkey '^R' history-incremental-search-backward
|
bindkey '^R' history-incremental-search-backward
|
||||||
bindkey -v
|
bindkey -v
|
||||||
|
|
||||||
|
alias cat="bat"
|
||||||
|
alias ls="exa"
|
||||||
|
|
||||||
function rgnvim() {
|
function rgnvim() {
|
||||||
rg --vimgrep "$@" \
|
rg --vimgrep "$@" \
|
||||||
| fzf --delimiter : --nth 1,2,3,4 \
|
| fzf --delimiter : --nth 1,2,3,4 \
|
||||||
@@ -72,3 +77,10 @@ fi
|
|||||||
if [ -f "/etc/NIXOS" ]; then
|
if [ -f "/etc/NIXOS" ]; then
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# opencode
|
||||||
|
export PATH=/home/jonas/.opencode/bin:$PATH
|
||||||
|
|
||||||
|
# Added by GitLab Knowledge Graph installer
|
||||||
|
# Wird auch von uv genutzt
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
Reference in New Issue
Block a user