This commit is contained in:
2025-11-19 13:01:08 +02:00
parent 6fdca49fca
commit 28cb337231
7 changed files with 31 additions and 14 deletions
@@ -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
+2
View File
@@ -10,6 +10,8 @@
; objectformat = sha256
[diff]
tool = nvimdiff
[pull]
rebase = true
[merge]
conflictStyle = zdiff3
[interactive]
+3 -1
View File
@@ -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]]
+6 -3
View File
@@ -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 $!
+2
View File
@@ -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.*
+1
View File
@@ -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
+3 -1
View File
@@ -2,7 +2,9 @@
"name": "main",
"layer": "top",
"position": "bottom",
//"output": ["HDMI-A-1"],
// "output": [
// "DP-6"
// ],
"height": 24,
//"width": 1280,
"modules-left": [