summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-11-18 20:31:03 -0500
committerLuke Smith <luke@lukesmith.xyz>2018-11-18 20:31:03 -0500
commit7fdc2fac93797877abd2639ff6bd6e67730391e7 (patch)
tree18cb6d12f026e708f3afeaee42480e02d2d175cd
parent04fdc3366b1086ba250e190fd33a1cc887d2f178 (diff)
downloadeibhear-7fdc2fac93797877abd2639ff6bd6e67730391e7.tar.gz
eibhear-7fdc2fac93797877abd2639ff6bd6e67730391e7.tar.zst
eibhear-7fdc2fac93797877abd2639ff6bd6e67730391e7.zip
winresize for floating windows
-rw-r--r--.config/i3/config2
-rwxr-xr-x.scripts/i3cmds/winresize2
2 files changed, 3 insertions, 1 deletions
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)"