From 28cb337231deedef1fe6b563d6d064847466e956 Mon Sep 17 00:00:00 2001 From: Anton Bilous Date: Wed, 19 Nov 2025 13:01:08 +0200 Subject: [PATCH] ! --- .../functions/fish_user_key_bindings.fish | 23 +++++++++++-------- .config/git/config | 2 ++ .config/helix/languages.toml | 4 +++- .config/hypr/binds.conf | 9 +++++--- .config/hypr/rules.conf | 2 ++ .config/mpv/mpv.conf | 1 + .config/waybar/config.jsonc | 4 +++- 7 files changed, 31 insertions(+), 14 deletions(-) diff --git a/.config/fish/functions/fish_user_key_bindings.fish b/.config/fish/functions/fish_user_key_bindings.fish index aaf8801..bd80f33 100644 --- a/.config/fish/functions/fish_user_key_bindings.fish +++ b/.config/fish/functions/fish_user_key_bindings.fish @@ -8,20 +8,25 @@ function fish_user_key_bindings # Unused: alt-g, alt-z, insert ctrl-r - bind alt-t transpose-words - bind -M insert alt-t transpose-words - bind -M visual alt-t transpose-words + bind alt-t transpose-words + bind -M insert alt-t transpose-words + bind -M visual alt-t transpose-words # bind ctrl-t transpose-chars # bind -M insert ctrl-t transpose-chars # bind -M visual ctrl-t transpose-chars - bind ctrl-z 'fish_commandline_append " &; disown"' - bind -M insert ctrl-z 'fish_commandline_append " &; disown"' - bind -M visual ctrl-z 'fish_commandline_append " &; disown"' + bind ctrl-z 'fish_commandline_append " &; disown"' + bind -M insert ctrl-z 'fish_commandline_append " &; disown"' + bind -M visual ctrl-z 'fish_commandline_append " &; disown"' - bind ctrl-g lazygit - bind -M insert ctrl-g lazygit - bind -M visual ctrl-g lazygit + bind ctrl-g lazygit + bind -M insert ctrl-g lazygit + bind -M visual ctrl-g lazygit + + bind -M insert alt-. history-token-search-backward + bind -M visual alt-. history-token-search-backward + bind -M insert alt-comma history-token-search-forward + bind -M visual alt-comma history-token-search-forward # bind -M insert ctrl-d exit end diff --git a/.config/git/config b/.config/git/config index 3405bf7..fcf9ae2 100644 --- a/.config/git/config +++ b/.config/git/config @@ -10,6 +10,8 @@ ; objectformat = sha256 [diff] tool = nvimdiff +[pull] + rebase = true [merge] conflictStyle = zdiff3 [interactive] diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index dde3e2e..9637882 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -61,11 +61,13 @@ name = "typst" auto-format = true language-servers = ["tinymist"] +[language-server.tinymist] +command = "tinymist" + [language-server.tinymist.config] formatterPrintWidth = 100 # can't stand 120 formatterMode = "typstyle" # or typstfmt exportPdf = "never" # onSave, default: never -semanticTokens = "enable" [[language]] diff --git a/.config/hypr/binds.conf b/.config/hypr/binds.conf index 7c0bb6d..5bcd26c 100644 --- a/.config/hypr/binds.conf +++ b/.config/hypr/binds.conf @@ -82,8 +82,8 @@ binde = CTRL, F11, exec, brightnessctl s 1%- binde = CTRL, F12, exec, brightnessctl s 1%+ binde = SHIFT, F11, exec, brightnessctl s 15%- binde = SHIFT, F12, exec, brightnessctl s 15%+ -bindle = $mod ALT, F11, exec, ddcutil setvcp 10 - 5 -bindle = $mod ALT, F12, exec, ddcutil setvcp 10 + 5 +bindle = $mod ALT, F11, exec, ddcutil -b 10 --noverify --skip-ddc-checks setvcp 10 - 5 +bindle = $mod ALT, F12, exec, ddcutil -b 10 --noverify --skip-ddc-checks setvcp 10 + 5 bindle =, XF86MonBrightnessUP, exec, brightnessctl s 5%+ bindle =, XF86MonBrightnessDown, exec, brightnessctl s 5%- @@ -110,11 +110,14 @@ bind =, Print, exec, wl-copy -c; grim -g "$($slurp_cmd ff0000 && sleep 0.1)" -t bind = CTRL, Print, exec, grim -g "$($slurp_cmd 00ffff && sleep 3)" -t png -l 6 - | wl-copy -t image/png # instant fullscreen not saved bind = SHIFT, Print, exec, grim -o $(hyprctl activeworkspace | grep -Po '(?<=\d\) on monitor ).*?(?=:)') -t png -l 6 - | wl-copy -t image/png + # delayed fullscreen not saved bind = SHIFT CTRL, Print, exec, sleep 3; grim -o $(hyprctl monitors | grep -Po '(?<=Monitor ).*?(?= \(ID \d*\):)') -t png -l 6 - | wl-copy -t image/png # instant region saved -bind = $mod, Print, exec, grim -g "$($slurp_cmd 00ff00 && sleep 0.1)" -t png -l 6 - | tee $SCREENSHOT_DIR/$(date +'%-d.%m.%y-%H:%M:%S').png | wl-copy -t image/png +# bind = $mod, Print, exec, grim -g "$($slurp_cmd 00ff00 && sleep 0.1)" -t png -l 6 - | tee $SCREENSHOT_DIR/$(date +'%-d.%m.%y-%H:%M:%S').png | wl-copy -t image/png +# instant fullscreen saved +bind = $mod, Print, exec, grim -o $(hyprctl activeworkspace | grep -Po '(?<=\d\) on monitor ).*?(?=:)') -t png -l 6 - | tee $SCREENSHOT_DIR/$(date +'%-d.%m.%y-%H:%M:%S').png | wl-copy -t image/png #TODO learn sed to screenshot active window # bind = ALT, Print, exec, hyprpicker -rz &!; slurp; grim -g "$($slurp_cmd ffffff && sleep 0.1)" -t png -l 6 - | wl-copy -t image/png; kill $! diff --git a/.config/hypr/rules.conf b/.config/hypr/rules.conf index bc78c7a..0f7bc77 100644 --- a/.config/hypr/rules.conf +++ b/.config/hypr/rules.conf @@ -6,6 +6,8 @@ workspace = 3, monitor:DP-6 workspace = 4, monitor:DP-6 workspace = 5, monitor:DP-6 workspace = 6, monitor:eDP-1 +workspace = 7, monitor:eDP-1 +workspace = 8, monitor:eDP-1 windowrule = monitor 1, class:Liftoff.* windowrule = workspace 10, class:Liftoff.* diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 93aca21..662beca 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -12,6 +12,7 @@ ytdl-format=bestvideo[height<=?1080][vcodec!=?av01]+bestaudio/best screenshot-format=png screenshot-png-compression=7 +osd-duration=2000 profile=high-quality diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 45175a9..db866e5 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -2,7 +2,9 @@ "name": "main", "layer": "top", "position": "bottom", - //"output": ["HDMI-A-1"], + // "output": [ + // "DP-6" + // ], "height": 24, //"width": 1280, "modules-left": [