From a799c63b906a63d6968b434f58249ead11310ee0 Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Fri, 31 Oct 2025 16:17:49 +0100 Subject: [PATCH] endos-related tweaks --- custom-mothership/sway/local_config | 2 ++ custom-spro5/sway/config.d/99_input | 1 + endos.py | 3 ++- sway/config.d/10_input | 2 -- sway/config.d/10_theme | 12 ++++++------ 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/custom-mothership/sway/local_config b/custom-mothership/sway/local_config index 370a45e..fc76aed 100644 --- a/custom-mothership/sway/local_config +++ b/custom-mothership/sway/local_config @@ -1,3 +1,5 @@ +input type:tablet_tool map_to_region 2560 0 2560 1440 + output DP-1 resolution 5120x1440 # switch to workspace diff --git a/custom-spro5/sway/config.d/99_input b/custom-spro5/sway/config.d/99_input index ad2c42e..f85e8d6 100644 --- a/custom-spro5/sway/config.d/99_input +++ b/custom-spro5/sway/config.d/99_input @@ -1,3 +1,4 @@ input type:touchpad { pointer_accel 0.4 } +bindswitch tablet:on busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b true diff --git a/endos.py b/endos.py index 86aed56..8a67999 100755 --- a/endos.py +++ b/endos.py @@ -41,11 +41,12 @@ installmap = dict( "git-delta", "starship", "zoxide", + "bat", ), tmux=("tmux", "urlscan"), nvim=("neovim", "ripgrep"), utils=("uv", "bat", "ncdu", "unzip", "jq"), - gittools=("tig", "diff-so-fancy", "git-secret", "git-delta", "git-lfs", "lazygit"), + gittools=("tig", "diff-so-fancy", "git-secret", "git-delta", "git-lfs", "lazygit", "bat"), pdftools=("sioyek", "zathura", "zathura-pdf-mupdf", "zathura-djvu", "zathura-ps"), media=("vlc", "mpv", "protobuf", "yt-dlp", "quodlibet", "qimgv"), filebrowsers=("pcmanfm", "yazi", "ranger", "zoxide", "eza"), diff --git a/sway/config.d/10_input b/sway/config.d/10_input index bcf2115..6147fd5 100644 --- a/sway/config.d/10_input +++ b/sway/config.d/10_input @@ -9,8 +9,6 @@ input type:keyboard { xkb_layout "us" xkb_variant "altgr-weur" xkb_options "caps:escape" - repeat_delay 400 - repeat_rate 30 } input type:mouse { diff --git a/sway/config.d/10_theme b/sway/config.d/10_theme index 4c205e4..0e49ecc 100644 --- a/sway/config.d/10_theme +++ b/sway/config.d/10_theme @@ -22,12 +22,12 @@ for_window [shell="xdg_shell"] title_format "%title (%app_id)" for_window [shell="x_wayland"] title_format "%class - %title" # class border bground text indicator child_border -client.focused #6272A4 #6272A4 #F8F8F2 #6272A4 #6272A4 -client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A -client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36 -client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555 -client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36 -client.background #F8F8F2 +client.focused #556064 #F9CE5C #000000 #FDF6E3 #FDF6E3 +client.focused_inactive #CB4B16 #2F3D44 #1ABC9C #454948 #454948 +client.unfocused #556064 #2F3D44 #1ABC9C #454948 #454948 +client.urgent #CB4B16 #FDF6E3 #1ABC9C #268BD2 #268BD2 +client.placeholder #000000 #0C0C0C #ffffff #000000 #000000 +client.background #2B2C2B # # Status Bar: