working on screens and power stuff

This commit is contained in:
Matt Nish-Lapidus 2025-02-16 16:24:34 -05:00
parent 6d3a143ce2
commit 2002da4dcf
14 changed files with 237 additions and 150 deletions

View file

@ -0,0 +1,5 @@
#!/usr/bin/env fish
function dim-all-monitors
brillo -e -O && brillo -e -u 150000 -S 15
end

View file

@ -2,7 +2,7 @@
name = "desk-clam"
exec = ["notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\""]
[[profile.output]]
search = ["n=eDP-1"]
search = "eDP-1"
enable = false
[[profile.output]]
@ -10,6 +10,7 @@ exec = ["notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\""
enable = true
mode = "3840x2160@59.997Hz"
position = "0,0"
scale = 1
[[profile]]
@ -21,13 +22,14 @@ exec = ["notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\""
mode = "2560x1600@240Hz"
position = "3840,0"
adaptive_sync = true
scale = 1
[[profile.output]]
enable = true
search = ["m=BenQ PD2725U", "s=N2N00414019", "v=PNP(BNQ)"]
mode = "3840x2160@59.997Hz"
position = "0,0"
scale = 1
[[profile]]
name = "laptop"
@ -38,7 +40,7 @@ exec = ["notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\""
mode = "2560x1600@240Hz"
position = "0,0"
adaptive_sync = true
scale = 1
# [[profile]]
# name = "laptop-mirror"

View file

@ -87,6 +87,8 @@ config.enable_kitty_keyboard = true
config.unzoom_on_switch_pane = true
config.leader = { key = 'Space', mods = 'SHIFT', timeout_milliseconds = 1000 }
config.keys = {
{
key = 'Enter',
@ -123,7 +125,7 @@ config.keys = {
},
{
key = 'E',
mods = 'CTRL',
mods = 'CTRL|SHIFT',
action = act.EmitEvent 'trigger-emacs-with-scrollback',
},
{
@ -146,6 +148,17 @@ config.keys = {
{ key='l', mods='CTRL|META', action=wezterm.action{ActivatePaneDirection="Right"} },
{ key='j', mods='CTRL|META', action=wezterm.action{ActivatePaneDirection="Up"} },
{ key='k', mods='CTRL|META', action=wezterm.action{ActivatePaneDirection="Down"} },
{
key = "s",
mods = "CTRL|SHIFT",
action = workspace_switcher.switch_workspace(),
},
{
key = "s",
mods = "CTRL|META",
action = workspace_switcher.switch_to_prev_workspace(),
}
}
tabline.setup({