|
||
---|---|---|
.gitignore | ||
README.md | ||
i3_selectwindow.config_sample | ||
i3_selectwindow.sh |
README.md
i3_selectwindow.sh
Allows the user to jump directly to a window even if its on a different workspace or physical screen with a sample keybinding in the .i3/config
For example: bindsym Mod1+Tab exec '/home/myuser/git/i3_selectwindow/i3_selectwindow.sh'
Reqirements
It uses sed, grep, i3-msg, jq, dmenu and bashisms. So please make sure that you have them installed. For example with apt for debian
Configuration
The colours of the dmenu can be configured in the file i3_selectwindow.config and its the only purpose of that file. It is stored in the same directory as the script is. You can also rename the i3_selectwindow.config_sample to i3_selectwindow.config and perform an your color changes. This one is excluded from git that you do not get anoyed by changes in there.
cat i3_selectwindow.config_sample
dmsb="#1C1C1C"
dmsf="#000000"
dmnb="#000000"
dmnf="#FBFBFB"
Usage
As its triggered by a keybinding you dont need to run it from the termianl. But if yes, just run the script, there are no parameters and you will get only one output if you select something:
./i3_selectwindow.sh
[{"success":true}]
.gitignore
cat .gitignore
*~
.*.sw?
.sw?
\#*\#
DEADJOE
/i3_selectwindow.config