aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2023-02-20 16:38:47 +0100
committerCamil Staps2023-02-20 16:38:47 +0100
commit1af87a25e12444771e80c9cdba62698fda1cb118 (patch)
tree6b92222793df00df252c4db6e9a5ac4c2869d5c3
parentAdd shortcuts to set night mode to day/night (extremes); change shortcuts for... (diff)
Add shortcut for floating python3 calculator
-rw-r--r--i3/.i3/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/i3/.i3/config b/i3/.i3/config
index a1d2355..f436964 100644
--- a/i3/.i3/config
+++ b/i3/.i3/config
@@ -24,6 +24,8 @@ bindsym $mod+Shift+Q kill
bindsym $mod+Return exec urxvt
bindsym $mod+Shift+v exec urxvt -e vim
bindsym $mod+Shift+m exec urxvt -e cmus
+for_window [class="URxvt" instance="floating"] floating toggle resize set 600 400
+bindsym XF86Calculator exec urxvt -name floating -e python3
# Special keys
bindsym Print exec scrot -z '/tmp/%Y-%m-%d-%H%M%S_$wx$h.png'