fix app launcher sizing

This commit is contained in:
Tyler Starr 2023-11-22 23:54:15 -08:00
parent 536993fc88
commit 6166b94348
2 changed files with 16 additions and 6 deletions

View File

@ -11,7 +11,7 @@ launchapp=$(IFS=':'; \
--height="50%" \
--preview-window="down:wrap:3")
if [[ "${launchapp}" ]]; then
setsid -f "${launchapp}" >/dev/null &
setsid -f "${launchapp}" &> /dev/null &
sleep .1
fi
}

View File

@ -7,8 +7,8 @@
set $HOME /home/{{ .user }}
set $DISP_SEC DP-2
set $DISP_PRI HDMI-A-1
set $DISP_PRI DP-2
set $DISP_SEC HDMI-A-1
set $BOR_WIDTH 3
set $GAP_INNER 3
@ -91,8 +91,13 @@ gaps left 0
for_window [title="Steam - News"] floating enable
for_window [title="Friends List"] floating enable
for_window [title=".*mpv$"] sticky toggle
for_window [title=".*mpv$"] floating enable
for_window [title=".*mpv$"] {
floating enable
sticky toggle
resize set width 24ppt
resize set height 14ppt
move position 30ppt 30ppt
}
# Float w3m image previews from newsboat
for_window [title="ImageMagick"] floating enable
@ -103,7 +108,12 @@ for_window [title="ImageMagick"] floating enable
for_window [class="steam"] move container to workspace $tag1
for_window [class="discord"] move container to workspace $tag8
for_window [class="obsidian"] move container to workspace $tag4
for_window [title="launcher"] floating enable
for_window [title="launcher"] {
floating enable
resize set width 40ppt
resize set height 40ppt
move position 30ppt 30ppt
}
#-------------------------------------------------------------------------------
#----- KEY BINDINGS