aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2024-02-07 18:01:10 +0200
committersrdusr <trevorgray@srdusr.com>2024-02-07 18:01:10 +0200
commit5a62af6127bd9d4bf21219b47d4e542b72f2cd6b (patch)
tree6e3402857e3de343ce1e89a5f965499bd28470fc /.config
parentdf2b36977870021388036470358c64acc640dd16 (diff)
downloaddotfiles-5a62af6127bd9d4bf21219b47d4e542b72f2cd6b.tar.gz
dotfiles-5a62af6127bd9d4bf21219b47d4e542b72f2cd6b.zip
Changed monocle mode for floating to be more agnostic (different displays)
Diffstat (limited to '.config')
-rwxr-xr-x.config/sxhkd/sxhkdrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
index fe8ba33..6ceb1e6 100755
--- a/.config/sxhkd/sxhkdrc
+++ b/.config/sxhkd/sxhkdrc
@@ -128,7 +128,7 @@ super + g
# Floating into monocle layout
super + shift + m
- bspc node -t pseudo_tiled; bspc node -t floating && wtp 10 40 1342 716 "$(pfw)"
+ bspc node -t pseudo_tiled; bspc node -t floating && wtp 5 40 $(($(bspc query -T -m | jq '.rectangle.width') * 98.9 / 100)) $(($(($(bspc query -T -m | jq '.rectangle.height') - $(bspc config top_padding))) * 97 / 100)) "$(pfw)"
# Set the window state
super + {t,shift + t,s}