From 7fdc2fac93797877abd2639ff6bd6e67730391e7 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 18 Nov 2018 20:31:03 -0500 Subject: [PATCH] winresize for floating windows --- .config/i3/config | 2 +- .scripts/i3cmds/winresize | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 .scripts/i3cmds/winresize diff --git a/.config/i3/config b/.config/i3/config index c418e3d..c842ce0 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -142,7 +142,7 @@ bindsym $mod+e exec $term -e neomutt bindsym $mod+Shift+e exec --no-startup-id tutorialvids 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+Shift+t gaps inner current set 15; gaps outer current set 15 diff --git a/.scripts/i3cmds/winresize b/.scripts/i3cmds/winresize new file mode 100755 index 0000000..df4b75c --- /dev/null +++ b/.scripts/i3cmds/winresize @@ -0,0 +1,2 @@ +#!/bin/sh +echo | dmenu -p "Give width and height:" | xargs xdotool windowsize "$(xdotool getwindowfocus)"