winresize for floating windows

This commit is contained in:
Luke Smith 2018-11-18 20:31:03 -05:00
parent 04fdc3366b
commit 7fdc2fac93
2 changed files with 3 additions and 1 deletions

View file

@ -142,7 +142,7 @@ bindsym $mod+e exec $term -e neomutt
bindsym $mod+Shift+e exec --no-startup-id tutorialvids bindsym $mod+Shift+e exec --no-startup-id tutorialvids
bindsym $mod+r exec $term -e ranger bindsym $mod+r exec $term -e ranger
bindsym $mod+Shift+r exec $term -e sudo ranger / bindsym $mod+Shift+r exec --no-startup-id winresize
bindsym $mod+t split toggle bindsym $mod+t split toggle
bindsym $mod+Shift+t gaps inner current set 15; gaps outer current set 15 bindsym $mod+Shift+t gaps inner current set 15; gaps outer current set 15

2
.scripts/i3cmds/winresize Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
echo | dmenu -p "Give width and height:" | xargs xdotool windowsize "$(xdotool getwindowfocus)"