i3wm for window generator and Planet Coaster bindings

This commit is contained in:
Christian Colglazier 2020-07-05 19:24:22 -04:00
parent dd1b7376c1
commit f93e7739ba
2 changed files with 22 additions and 0 deletions

View File

@ -16,4 +16,18 @@ bind G12 KEY_D
bind G3 KEY_Q
bind G5 KEY_E
# Pause
bind G22 KEY_P
# Path Length
bind M3 KEY_MINUS
bind MR KEY_EQUAL
# Path Width
bind M1 KEY_LEFTBRACE
bind M2 KEY_RIGHTBRACE
# History
bind G1 KEY_LEFTCTRL+KEY_Z
bing G2 KEY_LEFTCTRL+KEY_Y
rgb 0 120 181

View File

@ -0,0 +1,8 @@
#! /bin/bash
# A script to make creating i3wm window actions easier.
info=$(xprop)
title=$(echo "$info" | grep "WM_NAME(STRING)" | cut -d "\"" -f2 | cut -d "\"" -f1)
class=$(echo "$info" | grep "WM_CLASS(STRING)" | cut -d "\"" -f2 | cut -d "\"" -f1)
echo for_window [class=\"$class\" title=\"$title\"]