mirror of
https://github.com/elkowar/dots-of-war.git
synced 2025-04-16 21:22:15 +00:00
äf
This commit is contained in:
parent
6a704a2e5d
commit
98fc347874
7 changed files with 361 additions and 316 deletions
|
@ -1,9 +1,22 @@
|
|||
profile {
|
||||
output "Philips Consumer Electronics Company PHL 345B1C 0x00008E7C" mode 3440x1440@99.982 position 2560,0
|
||||
output "Fujitsu Siemens Computers GmbH P27-8 TE Pro YVBH008792" mode 2560x1440 position 0,0
|
||||
output eDP-1 mode 1920x1200 position 2560,1440
|
||||
output "Sharp Corporation 0x1515 Unknown" mode 1920x1200 position 2560,1440
|
||||
}
|
||||
|
||||
# profile {
|
||||
# output "DP-5" mode 3440x1440@99.982 position 2560,0
|
||||
# output "DP-6" mode 2560x1440 position 0,0
|
||||
# output eDP-1 mode 1920x1200 position 2560,1440
|
||||
# }
|
||||
|
||||
profile {
|
||||
output eDP-1 mode 1920x1200 position 0,0
|
||||
}
|
||||
|
||||
profile {
|
||||
output "HP Inc. HP E27u G4 CN4114303X" mode 2560x1440@59.951 position 0,0
|
||||
#output "HP Inc. HP Z27k G3 CN414018RC" mode 3840x2160@30 position 2560,0 scale 1.5
|
||||
output "HP Inc. HP Z27k G3 CN414018RC" mode 2560x1440@59.951 position 2560,0 scale 1
|
||||
output eDP-1 mode 1920x1200@59.950 position 2560,1440
|
||||
}
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
// vim:set ft=kdl shiftwidth=4 commentstring=//%s:
|
||||
debug {
|
||||
keep-laptop-panel-on-when-lid-is-closed
|
||||
}
|
||||
|
||||
input {
|
||||
keyboard {
|
||||
xkb {
|
||||
|
@ -66,7 +70,7 @@ output "Philips Consumer Electronics Company PHL 345B1C 0x00008E7C" {
|
|||
//<yolk> mode "1920x1080@60"
|
||||
//<yolk> scale 1.0
|
||||
//<yolk> transform "normal"
|
||||
//<yolk> position x=0 y=1440
|
||||
//<yolk> position x=2560 y=1440
|
||||
//<yolk> }
|
||||
// {% end %}
|
||||
|
||||
|
@ -106,9 +110,9 @@ layout {
|
|||
|
||||
|
||||
// {% if device.laptop %}
|
||||
//<yolk> spawn-at-startup "bash" "-c" "swayidle -w timeout 601 'niri msg action power-off-monitors' timeout 600 'hyprlock' before-sleep 'hyprlock' timeout 3600 'systemctl suspend' timeout 60000 'systemctl hibernate'"
|
||||
//<yolk> spawn-at-startup "bash" "-c" "swayidle -w timeout 601 'niri msg action power-off-monitors' timeout 1200 'hyprlock' before-sleep 'hyprlock' timeout 3600 'systemctl suspend'"
|
||||
//<yolk> spawn-at-startup "waybar"
|
||||
//<yolk> spawn-at-startup "kanshi"
|
||||
//<yolk> // spawn-at-startup "kanshi"
|
||||
// {% end %}
|
||||
|
||||
// {% if device.desktop %}
|
||||
|
@ -124,7 +128,8 @@ spawn-at-startup "clipse -listen"
|
|||
spawn-at-startup "wl-clip-persist" "--clipboard" "regular"
|
||||
spawn-at-startup "kdeconnect-indicator"
|
||||
//
|
||||
spawn-at-startup "bash" "-c" "swaybg -m fill -i ~/.config/wallpapers/elk_gasstation_dark.jpg"
|
||||
spawn-at-startup "bash" "-c" "swaybg -m fill -i ~/.config/wallpapers/elk_gasstation_lights.jpg"
|
||||
// spawn-at-startup "bash" "-c" "swaybg -m fill -i ~/.config/wallpapers/elk_gasstation_dark.jpg"
|
||||
spawn-at-startup "~/.config/niri/clipsync watch with-notifications"
|
||||
spawn-at-startup
|
||||
//
|
||||
|
@ -149,7 +154,7 @@ animations {
|
|||
float cur = niri_clamped_progress;
|
||||
if (coords_geo.x > cur) { return vec4(0.0); }
|
||||
vec3 coord = vec3(map(coords_geo.x,0.0, cur, 0.0, 1.0 ), coords_geo.y, coords_geo.z);
|
||||
return texture2d(niri_tex, (niri_geo_to_tex * coord).st);
|
||||
return texture2D(niri_tex, (niri_geo_to_tex * coord).st);
|
||||
}
|
||||
"
|
||||
}
|
||||
|
@ -171,8 +176,8 @@ animations {
|
|||
|
||||
gestures {
|
||||
dnd-edge-view-scroll {
|
||||
trigger-width 200
|
||||
max-speed 3500
|
||||
trigger-width 20
|
||||
max-speed 2000
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
"power-profiles-daemon",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"keyboard-state",
|
||||
// "keyboard-state",
|
||||
"battery",
|
||||
//"battery#bat2",
|
||||
"tray",
|
||||
|
@ -281,6 +281,5 @@
|
|||
"format": "",
|
||||
"on-click": "niri msg output eDP-1 scale 1.0",
|
||||
"on-click-right": "niri msg output eDP-1 scale 1.25"
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,23 +4,16 @@
|
|||
"bindings": {
|
||||
// unbind closing the tab with this
|
||||
"ctrl-w": null,
|
||||
"ctrl-w ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||
"ctrl-w ctrl-j": ["workspace::ActivatePaneInDirection", "Down"],
|
||||
"ctrl-w ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
|
||||
"ctrl-w ctrl-l": ["workspace::ActivatePaneInDirection", "Right"],
|
||||
"ctrl-w ctrl-h": "workspace::ActivatePaneLeft",
|
||||
"ctrl-w ctrl-j": "workspace::ActivatePaneDown",
|
||||
"ctrl-w ctrl-k": "workspace::ActivatePaneUp",
|
||||
"ctrl-w ctrl-l": "workspace::ActivatePaneRight",
|
||||
"ctrl-shift-t": "pane::ReopenClosedItem",
|
||||
"ctrl-o": "pane::GoBack",
|
||||
"ctrl-i": "pane::GoForward"
|
||||
// "shift-escape": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "EmptyPane",
|
||||
"bindings": {
|
||||
":": "command_palette::Toggle",
|
||||
"space p": "file_finder::Toggle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "os == macos && Editor && VimControl && !VimWaiting && !menu",
|
||||
"bindings": {
|
||||
|
@ -40,7 +33,17 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"context": "MarkdownPreview || EmptyPane || Diagnostics || Editor && VimControl && !VimWaiting && !menu",
|
||||
"context": "EmptyPane || Diagnostics && !vim_mode && !VimWaiting && !menu",
|
||||
"bindings": {
|
||||
"space b c": "pane::CloseActiveItem",
|
||||
"space p": "file_finder::Toggle",
|
||||
"space o": "pane::DeploySearch",
|
||||
"space h": "pane::ActivatePrevItem",
|
||||
"space l": "pane::ActivateNextItem"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "MarkdownPreview || EmptyPane || (Editor && VimControl && !VimWaiting && !menu)",
|
||||
"bindings": {
|
||||
"z space": "editor::FoldAll",
|
||||
"z backspace": "editor::FoldFunctionBodies",
|
||||
|
@ -93,8 +96,8 @@
|
|||
{
|
||||
"context": "Editor && vim_mode == normal && !VimWaiting && !menu",
|
||||
"bindings": {
|
||||
"backspace": ["vim::PushOperator", { "Sneak": {} }],
|
||||
"return": ["vim::PushOperator", { "SneakBackward": {} }]
|
||||
"backspace": ["vim::PushSneak", {}],
|
||||
"return": ["vim::PushSneakBackward", {}]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -14,13 +14,6 @@
|
|||
// "shift-escape": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "EmptyPane",
|
||||
"bindings": {
|
||||
":": "command_palette::Toggle",
|
||||
"space p": "file_finder::Toggle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "os == macos && Editor && VimControl && !VimWaiting && !menu",
|
||||
"bindings": {
|
||||
|
@ -40,7 +33,17 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"context": "MarkdownPreview || EmptyPane || Diagnostics || Editor && VimControl && !VimWaiting && !menu",
|
||||
"context": "EmptyPane || Diagnostics && !vim_mode && !VimWaiting && !menu",
|
||||
"bindings": {
|
||||
"space b c": "pane::CloseActiveItem",
|
||||
"space p": "file_finder::Toggle",
|
||||
"space o": "pane::DeploySearch",
|
||||
"space h": "pane::ActivatePrevItem",
|
||||
"space l": "pane::ActivateNextItem"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "MarkdownPreview || EmptyPane || (Editor && VimControl && !VimWaiting && !menu)",
|
||||
"bindings": {
|
||||
"z space": "editor::FoldAll",
|
||||
"z backspace": "editor::FoldFunctionBodies",
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
{
|
||||
"git_panel": {
|
||||
"status_style": "label_color"
|
||||
},
|
||||
"edit_predictions": {
|
||||
"disabled_globs": [],
|
||||
"mode": "eager"
|
||||
},
|
||||
"features": {
|
||||
"inline_completion_provider": "zed"
|
||||
"edit_prediction_provider": "zed"
|
||||
},
|
||||
"icon_theme": "Material Icon Theme",
|
||||
"telemetry": {
|
||||
|
@ -16,17 +23,17 @@
|
|||
"assistant": {
|
||||
"default_model": {
|
||||
"provider": "copilot_chat",
|
||||
"model": "claude-3-5-sonnet"
|
||||
"model": "claude-3-7-sonnet"
|
||||
},
|
||||
"enable_experimental_live_diffs": true,
|
||||
"version": "2"
|
||||
},
|
||||
"theme": "Gruvbox Dark Hard",
|
||||
"buffer_font_size": 14.0,
|
||||
"buffer_font_family": "Input",
|
||||
// "buffer_font_family": "Input",
|
||||
// "buffer_font_family": "Input",
|
||||
// "buffer_font_family": "FiraCode Nerd Font",
|
||||
// "buffer_font_family": "JetBrainsMono Nerd Font Mono",
|
||||
"buffer_font_family": "JetBrains Mono",
|
||||
// "buffer_line_height": { "custom": 1.55 },
|
||||
// "ui_font_family": "Noto Sans",
|
||||
// "buffer_font_family": "Zed Mono",
|
||||
|
@ -79,7 +86,18 @@
|
|||
},
|
||||
"lsp": {
|
||||
"rust-analyzer": {
|
||||
"cargo": {
|
||||
"features": "all"
|
||||
},
|
||||
"initialization_options": {
|
||||
// "diagnostics": {
|
||||
// "experimental": {
|
||||
// "enable": true
|
||||
// }
|
||||
// },
|
||||
// "cargo": {
|
||||
// "features": "all"
|
||||
// },
|
||||
"typing": {
|
||||
// Temporary workaround around round rust-analzyer wrongly inserting `|` twice
|
||||
"excludeChars": "|<"
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{
|
||||
"edit_predictions": {
|
||||
"disabled_globs": [],
|
||||
"mode": "eager_preview"
|
||||
},
|
||||
"features": {
|
||||
"inline_completion_provider": "zed"
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue