mirror of
https://github.com/elkowar/dots-of-war.git
synced 2025-04-18 22:02:17 +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 {
|
profile {
|
||||||
output "Philips Consumer Electronics Company PHL 345B1C 0x00008E7C" mode 3440x1440@99.982 position 2560,0
|
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 "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 {
|
profile {
|
||||||
output eDP-1 mode 1920x1200 position 0,0
|
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:
|
// vim:set ft=kdl shiftwidth=4 commentstring=//%s:
|
||||||
|
debug {
|
||||||
|
keep-laptop-panel-on-when-lid-is-closed
|
||||||
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
keyboard {
|
keyboard {
|
||||||
xkb {
|
xkb {
|
||||||
|
@ -66,7 +70,7 @@ output "Philips Consumer Electronics Company PHL 345B1C 0x00008E7C" {
|
||||||
//<yolk> mode "1920x1080@60"
|
//<yolk> mode "1920x1080@60"
|
||||||
//<yolk> scale 1.0
|
//<yolk> scale 1.0
|
||||||
//<yolk> transform "normal"
|
//<yolk> transform "normal"
|
||||||
//<yolk> position x=0 y=1440
|
//<yolk> position x=2560 y=1440
|
||||||
//<yolk> }
|
//<yolk> }
|
||||||
// {% end %}
|
// {% end %}
|
||||||
|
|
||||||
|
@ -106,9 +110,9 @@ layout {
|
||||||
|
|
||||||
|
|
||||||
// {% if device.laptop %}
|
// {% 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 "waybar"
|
||||||
//<yolk> spawn-at-startup "kanshi"
|
//<yolk> // spawn-at-startup "kanshi"
|
||||||
// {% end %}
|
// {% end %}
|
||||||
|
|
||||||
// {% if device.desktop %}
|
// {% if device.desktop %}
|
||||||
|
@ -124,7 +128,8 @@ spawn-at-startup "clipse -listen"
|
||||||
spawn-at-startup "wl-clip-persist" "--clipboard" "regular"
|
spawn-at-startup "wl-clip-persist" "--clipboard" "regular"
|
||||||
spawn-at-startup "kdeconnect-indicator"
|
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 "~/.config/niri/clipsync watch with-notifications"
|
||||||
spawn-at-startup
|
spawn-at-startup
|
||||||
//
|
//
|
||||||
|
@ -149,7 +154,7 @@ animations {
|
||||||
float cur = niri_clamped_progress;
|
float cur = niri_clamped_progress;
|
||||||
if (coords_geo.x > cur) { return vec4(0.0); }
|
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);
|
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 {
|
gestures {
|
||||||
dnd-edge-view-scroll {
|
dnd-edge-view-scroll {
|
||||||
trigger-width 200
|
trigger-width 20
|
||||||
max-speed 3500
|
max-speed 2000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
"power-profiles-daemon",
|
"power-profiles-daemon",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"backlight",
|
"backlight",
|
||||||
"keyboard-state",
|
// "keyboard-state",
|
||||||
"battery",
|
"battery",
|
||||||
//"battery#bat2",
|
//"battery#bat2",
|
||||||
"tray",
|
"tray",
|
||||||
|
@ -281,6 +281,5 @@
|
||||||
"format": "",
|
"format": "",
|
||||||
"on-click": "niri msg output eDP-1 scale 1.0",
|
"on-click": "niri msg output eDP-1 scale 1.0",
|
||||||
"on-click-right": "niri msg output eDP-1 scale 1.25"
|
"on-click-right": "niri msg output eDP-1 scale 1.25"
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,23 +4,16 @@
|
||||||
"bindings": {
|
"bindings": {
|
||||||
// unbind closing the tab with this
|
// unbind closing the tab with this
|
||||||
"ctrl-w": null,
|
"ctrl-w": null,
|
||||||
"ctrl-w ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
"ctrl-w ctrl-h": "workspace::ActivatePaneLeft",
|
||||||
"ctrl-w ctrl-j": ["workspace::ActivatePaneInDirection", "Down"],
|
"ctrl-w ctrl-j": "workspace::ActivatePaneDown",
|
||||||
"ctrl-w ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
|
"ctrl-w ctrl-k": "workspace::ActivatePaneUp",
|
||||||
"ctrl-w ctrl-l": ["workspace::ActivatePaneInDirection", "Right"],
|
"ctrl-w ctrl-l": "workspace::ActivatePaneRight",
|
||||||
"ctrl-shift-t": "pane::ReopenClosedItem",
|
"ctrl-shift-t": "pane::ReopenClosedItem",
|
||||||
"ctrl-o": "pane::GoBack",
|
"ctrl-o": "pane::GoBack",
|
||||||
"ctrl-i": "pane::GoForward"
|
"ctrl-i": "pane::GoForward"
|
||||||
// "shift-escape": null
|
// "shift-escape": null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"context": "EmptyPane",
|
|
||||||
"bindings": {
|
|
||||||
":": "command_palette::Toggle",
|
|
||||||
"space p": "file_finder::Toggle"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"context": "os == macos && Editor && VimControl && !VimWaiting && !menu",
|
"context": "os == macos && Editor && VimControl && !VimWaiting && !menu",
|
||||||
"bindings": {
|
"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": {
|
"bindings": {
|
||||||
"z space": "editor::FoldAll",
|
"z space": "editor::FoldAll",
|
||||||
"z backspace": "editor::FoldFunctionBodies",
|
"z backspace": "editor::FoldFunctionBodies",
|
||||||
|
@ -93,8 +96,8 @@
|
||||||
{
|
{
|
||||||
"context": "Editor && vim_mode == normal && !VimWaiting && !menu",
|
"context": "Editor && vim_mode == normal && !VimWaiting && !menu",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"backspace": ["vim::PushOperator", { "Sneak": {} }],
|
"backspace": ["vim::PushSneak", {}],
|
||||||
"return": ["vim::PushOperator", { "SneakBackward": {} }]
|
"return": ["vim::PushSneakBackward", {}]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,13 +14,6 @@
|
||||||
// "shift-escape": null
|
// "shift-escape": null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"context": "EmptyPane",
|
|
||||||
"bindings": {
|
|
||||||
":": "command_palette::Toggle",
|
|
||||||
"space p": "file_finder::Toggle"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"context": "os == macos && Editor && VimControl && !VimWaiting && !menu",
|
"context": "os == macos && Editor && VimControl && !VimWaiting && !menu",
|
||||||
"bindings": {
|
"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": {
|
"bindings": {
|
||||||
"z space": "editor::FoldAll",
|
"z space": "editor::FoldAll",
|
||||||
"z backspace": "editor::FoldFunctionBodies",
|
"z backspace": "editor::FoldFunctionBodies",
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
{
|
{
|
||||||
|
"git_panel": {
|
||||||
|
"status_style": "label_color"
|
||||||
|
},
|
||||||
|
"edit_predictions": {
|
||||||
|
"disabled_globs": [],
|
||||||
|
"mode": "eager"
|
||||||
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"inline_completion_provider": "zed"
|
"edit_prediction_provider": "zed"
|
||||||
},
|
},
|
||||||
"icon_theme": "Material Icon Theme",
|
"icon_theme": "Material Icon Theme",
|
||||||
"telemetry": {
|
"telemetry": {
|
||||||
|
@ -16,17 +23,17 @@
|
||||||
"assistant": {
|
"assistant": {
|
||||||
"default_model": {
|
"default_model": {
|
||||||
"provider": "copilot_chat",
|
"provider": "copilot_chat",
|
||||||
"model": "claude-3-5-sonnet"
|
"model": "claude-3-7-sonnet"
|
||||||
},
|
},
|
||||||
"enable_experimental_live_diffs": true,
|
"enable_experimental_live_diffs": true,
|
||||||
"version": "2"
|
"version": "2"
|
||||||
},
|
},
|
||||||
"theme": "Gruvbox Dark Hard",
|
"theme": "Gruvbox Dark Hard",
|
||||||
"buffer_font_size": 14.0,
|
"buffer_font_size": 14.0,
|
||||||
"buffer_font_family": "Input",
|
// "buffer_font_family": "Input",
|
||||||
// "buffer_font_family": "Input",
|
// "buffer_font_family": "Input",
|
||||||
// "buffer_font_family": "FiraCode Nerd Font",
|
// "buffer_font_family": "FiraCode Nerd Font",
|
||||||
// "buffer_font_family": "JetBrainsMono Nerd Font Mono",
|
"buffer_font_family": "JetBrains Mono",
|
||||||
// "buffer_line_height": { "custom": 1.55 },
|
// "buffer_line_height": { "custom": 1.55 },
|
||||||
// "ui_font_family": "Noto Sans",
|
// "ui_font_family": "Noto Sans",
|
||||||
// "buffer_font_family": "Zed Mono",
|
// "buffer_font_family": "Zed Mono",
|
||||||
|
@ -79,7 +86,18 @@
|
||||||
},
|
},
|
||||||
"lsp": {
|
"lsp": {
|
||||||
"rust-analyzer": {
|
"rust-analyzer": {
|
||||||
|
"cargo": {
|
||||||
|
"features": "all"
|
||||||
|
},
|
||||||
"initialization_options": {
|
"initialization_options": {
|
||||||
|
// "diagnostics": {
|
||||||
|
// "experimental": {
|
||||||
|
// "enable": true
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
// "cargo": {
|
||||||
|
// "features": "all"
|
||||||
|
// },
|
||||||
"typing": {
|
"typing": {
|
||||||
// Temporary workaround around round rust-analzyer wrongly inserting `|` twice
|
// Temporary workaround around round rust-analzyer wrongly inserting `|` twice
|
||||||
"excludeChars": "|<"
|
"excludeChars": "|<"
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{
|
{
|
||||||
|
"edit_predictions": {
|
||||||
|
"disabled_globs": [],
|
||||||
|
"mode": "eager_preview"
|
||||||
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"inline_completion_provider": "zed"
|
"inline_completion_provider": "zed"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue