From 6dc96f89e921714da33197b0214c2cf4c773f4b1 Mon Sep 17 00:00:00 2001 From: aleidk Date: Sat, 7 Feb 2026 11:04:59 -0300 Subject: [PATCH] add thinkpadd settings --- .dotter/thinkpad.toml | 7 +++++ bootstrap/pkgs_arch.txt | 2 -- configs/fish/fish_variables | 1 + configs/niri/thinkpad.kdl | 42 ++++++++++++++++++++++++++++++ configs/niri/work-laptop/local.kdl | 8 ------ 5 files changed, 50 insertions(+), 10 deletions(-) create mode 100644 .dotter/thinkpad.toml create mode 100644 configs/niri/thinkpad.kdl diff --git a/.dotter/thinkpad.toml b/.dotter/thinkpad.toml new file mode 100644 index 0000000..86c8b82 --- /dev/null +++ b/.dotter/thinkpad.toml @@ -0,0 +1,7 @@ +includes = [ ] +packages = [ "default", "niri", "dev" ] + +[files] + "configs/niri/thinkpad.kdl" = "~/.config/niri/include/local.kdl" + +[variables] diff --git a/bootstrap/pkgs_arch.txt b/bootstrap/pkgs_arch.txt index 33498bd..67346ce 100644 --- a/bootstrap/pkgs_arch.txt +++ b/bootstrap/pkgs_arch.txt @@ -1,10 +1,8 @@ age -arch-update atuin base base-devel bat -bluetui bluez bluez-utils brave-bin diff --git a/configs/fish/fish_variables b/configs/fish/fish_variables index 956b451..7b39656 100644 --- a/configs/fish/fish_variables +++ b/configs/fish/fish_variables @@ -55,6 +55,7 @@ SETUVAR pure_separate_prompt_on_error:false SETUVAR pure_shorten_prompt_current_directory_length:0 SETUVAR pure_shorten_window_title_current_directory_length:0 SETUVAR pure_show_jobs:false +SETUVAR pure_show_numbered_git_indicator:false SETUVAR pure_show_prefix_root_prompt:false SETUVAR pure_show_subsecond_command_duration:false SETUVAR pure_show_system_time:false diff --git a/configs/niri/thinkpad.kdl b/configs/niri/thinkpad.kdl new file mode 100644 index 0000000..21c1b3a --- /dev/null +++ b/configs/niri/thinkpad.kdl @@ -0,0 +1,42 @@ +window-rule { + match app-id="firefox" + open-on-workspace "1" + open-focused true + default-column-width { + proportion 0.5 + } +} +window-rule { + match app-id="brave-browser" + open-on-workspace "2" + open-focused false + default-column-width { + proportion 0.5 + } +} +output "LG Electronics LG ULTRAWIDE 406NTRL99958" { + scale 1 + mode "3440x1440@49.953" + focus-at-startup +} +output "eDP-1" { + mode "1920x1080@60.000" + scale 1 + layout { + default-column-width { + proportion 1.0 + } + } +} +output "PNP(GWD) ARZOPA 000000000000" { + mode "1920x1080@60.000" + position x=0 y=0 + scale 1 + layout { + default-column-width { + proportion 1.0 + } + } +} + + diff --git a/configs/niri/work-laptop/local.kdl b/configs/niri/work-laptop/local.kdl index fdb8b9d..585dbc1 100644 --- a/configs/niri/work-laptop/local.kdl +++ b/configs/niri/work-laptop/local.kdl @@ -1,5 +1,3 @@ -spawn-at-startup "brave" -spawn-at-startup "firefox" window-rule { match app-id="firefox" open-on-workspace "1" @@ -16,12 +14,6 @@ window-rule { proportion 0.5 } } -output "HDMI-A-1" { - scale 1 - mode "3440x1440" - focus-at-startup - position x=1920 y=0 -} output "eDP-1" { mode "1920x1080@60.000" position x=0 y=0