Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UserConfig
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jiří Kalvoda
UserConfig
Commits
e6550a4e
Commit
e6550a4e
authored
2 years ago
by
Jiří Kalvoda
Browse files
Options
Downloads
Patches
Plain Diff
I3 mapping
parent
54692278
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
i3/master.tex
+31
-7
31 additions, 7 deletions
i3/master.tex
with
31 additions
and
7 deletions
i3/master.tex
+
31
−
7
View file @
e6550a4e
...
@@ -19,11 +19,14 @@
...
@@ -19,11 +19,14 @@
\BindKey
{
\Key
{
\Super
}{
#
1
}{
#
2
}}{
\GoMasterWorkspace
{
#
3
}}
\BindKey
{
\Key
{
\Super
}{
#
1
}{
#
2
}}{
\GoMasterWorkspace
{
#
3
}}
\BindKey
{
\Key
{
\Shift\Super
}{
#
1
}{
#
2
}}{
\ContMasterWorkspace
{
#
3
}}
\BindKey
{
\Key
{
\Shift\Super
}{
#
1
}{
#
2
}}{
\ContMasterWorkspace
{
#
3
}}
\BindKey
{
\Key
{
\Ctrl\Super
}{
#
1
}{
#
2
}}{
\ContGoMasterWorkspace
{
#
3
}}
\BindKey
{
\Key
{
\Ctrl\Super
}{
#
1
}{
#
2
}}{
\ContGoMasterWorkspace
{
#
3
}}
\BindKey
{
\Key
{
\Alt\Super
}{
#
1
}{
#
2
}}{
\Cmd
{
i
3
-
woman swap
-
with
-
workspace
-
m #
3
-
s alloc
-
n
}}
\BindKey
{
\Key
{
\Alt\Shift\Super
}{
#
1
}{
#
2
}}{
\Cmd
{
i
3
-
woman swap
-
master
-
with
-
workspace
-
m #
3
-
s alloc
-
n
}}
}
}
\def\WorkspaceSlaveAll
#
1
#
2
#
3
{
\def\WorkspaceSlaveAll
#
1
#
2
#
3
{
\BindKey
{
\Key
{
\Super
}{
#
1
}{
#
2
}}{
\GoSlaveWorkspace
{
#
3
}}
\BindKey
{
\Key
{
\Super
}{
#
1
}{
#
2
}}{
\GoSlaveWorkspace
{
#
3
}}
\BindKey
{
\Key
{
\Shift\Super
}{
#
1
}{
#
2
}}{
\ContSlaveWorkspace
{
#
3
}}
\BindKey
{
\Key
{
\Shift\Super
}{
#
1
}{
#
2
}}{
\ContSlaveWorkspace
{
#
3
}}
\BindKey
{
\Key
{
\Ctrl\Super
}{
#
1
}{
#
2
}}{
\ContGoSlaveWorkspace
{
#
3
}}
\BindKey
{
\Key
{
\Ctrl\Super
}{
#
1
}{
#
2
}}{
\ContGoSlaveWorkspace
{
#
3
}}
\BindKey
{
\Key
{
\Alt\Super
}{
#
1
}{
#
2
}}{
\Cmd
{
i
3
-
woman swap
-
with
-
workspace
-
s #
3
-
n
}}
}
}
\def\BindArrUp
#
1
#
2
{
\def\BindArrUp
#
1
#
2
{
...
@@ -84,7 +87,8 @@
...
@@ -84,7 +87,8 @@
\IiiiLine
{
%
\IiiiLine
{
%
bar
\{
%
bar
\{
%
status
_
command "~
/
.config
/
i
3
/
status.out
2
>~
/
.status.log"
%
% status_command "~/.config/i3/status.out 2>~/.status.log"%
status
_
command "~
/
bin
/
i
3
csstatus i
3
-
c .config
/
i
3
/
i
3
csstatus.conf
-
i
2
>~
/
.i
3
csstatus.log"
%
\}
%
\}
%
}
}
...
@@ -93,7 +97,10 @@ bar \{%
...
@@ -93,7 +97,10 @@ bar \{%
\IiiiLine
{
floating
_
modifier
$
mod
}
%$
\IiiiLine
{
floating
_
modifier
$
mod
}
%$
%%%%%%%%%%%%%% Standard workspaces %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%% Standard workspaces %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\IiiiLine
{
exec
_
always i3-workspace-daemon
}
\IiiiLine
{
exec
_
always "i3-woman exit; i3-woman-daemon --gui"
}
\IiiiLine
{
for
_
window [title="
^
i3-woman
$
"
]
move to workspace
0
}
\IiiiLine
{
for
_
window
[
title
=
"
^
i
3
-
woman
-
daemon
-
tmp
-
window
$
"] move to workspace tmp
}
\for
{
I
}{
0
}{
13
}{
\countJ\countI
\for
{
I
}{
0
}{
13
}{
\countJ\countI
\WorkspaceSlaveAll
{
1
}{
\the\countI
}{
\the\countJ
}
\WorkspaceSlaveAll
{
1
}{
\the\countI
}{
\the\countJ
}
}
}
...
@@ -105,8 +112,25 @@ bar \{%
...
@@ -105,8 +112,25 @@ bar \{%
\for
{
Iter
}
\in
{{
Left
}{
Right
}{
Up
}{
Down
}}{
\for
{
Iter
}
\in
{{
Left
}{
Right
}{
Up
}{
Down
}}{
\csname
BindArr
\Iter\endcsname
{
\Super
}{
\FocusWind
{
\Iter
}}
\csname
BindArr
\Iter\endcsname
{
\Super
}{
\FocusWind
{
\Iter
}}
\csname
BindArr
\Iter\endcsname
{
\Shift\Super
}{
\MoveCont
{
\Iter
}}
\csname
BindArr
\Iter\endcsname
{
\Shift\Super
}{
\MoveCont
{
\Iter
}}
\csname
BindArr
\Iter\endcsname
{
\Ctrl\Super
}{
\MoveWorkspace
{
\Iter
}}
}
}
\BindKey
{
\Key
{
\Super
}{
4
}{
10
}}{
\MoveWorkspace
{
next
}}
\BindKey
{
\Key
{
\Super
}{
4
}{
9
}}{
\Cmd
{
i3-woman goto-workspace -s alloc -n
}}
\BindKey
{
\Key
{
\Shift\Super
}{
4
}{
9
}}{
\Cmd
{
i3-woman goto-workspace -m alloc -n
}}
\BindKey
{
\Key
{
\Ctrl\Super
}{
4
}{
9
}}{
\Cmd
{
i3-woman goto-with-container-to -s alloc -n
}}
\BindKey
{
\Key
{
\Ctrl\Shift\Super
}{
4
}{
9
}}{
\Cmd
{
i3-woman goto-with-container-to -m alloc -n
}}
\BindKey
{
\Key
{
\Super
}{
4
}{
11
}}{
\Cmd
{
i3-woman gui
}}
% \IiiiLine{for_window [title="i3-workspace-daemon"] move container to workspace 0}
\BindArrDown
{
\Ctrl\Super
}{
\Cmd
{
i3-woman goto-workspace -m next-skip -n
}}
\BindArrUp
{
\Ctrl\Super
}{
\Cmd
{
i3-woman goto-workspace -m prev-skip -n
}}
\BindArrLeft
{
\Ctrl\Super
}{
\Cmd
{
i3-woman goto-workspace -s prev-skip -n
}}
\BindArrRight
{
\Ctrl\Super
}{
\Cmd
{
i3-woman goto-workspace -s next-skip -n
}}
\BindArrDown
{
\Ctrl\Shift\Super
}{
\Cmd
{
i3-woman goto-workspace -m next -n
}}
\BindArrUp
{
\Ctrl\Shift\Super
}{
\Cmd
{
i3-woman goto-workspace -m prev -n
}}
\BindArrLeft
{
\Ctrl\Shift\Super
}{
\Cmd
{
i3-woman goto-workspace -s prev-limit -n
}}
\BindArrRight
{
\Ctrl\Shift\Super
}{
\Cmd
{
i3-woman goto-workspace -s next-limit -n
}}
\BindKey
{
\Key
{
\Super
}{
4
}{
5
}}{
\SplitContV
}
\BindKey
{
\Key
{
\Super
}{
4
}{
5
}}{
\SplitContV
}
\BindKey
{
\Key
{
\Super
}{
3
}{
5
}}{
\SplitContH
}
\BindKey
{
\Key
{
\Super
}{
3
}{
5
}}{
\SplitContH
}
...
@@ -213,10 +237,10 @@ bar \{%
...
@@ -213,10 +237,10 @@ bar \{%
% TV
% TV
\BindKey
{
\Key
{
\Super
}{
4
}{
11
}}{
\Cmd
{
vlc http:
//
192
.
168
.
1
.
191
:
9981
/
playlist
/
channels
}}
%
\BindKey{\Key{\Super}{4}{11}}{\Cmd{vlc http://192.168.1.191:9981/playlist/channels}}
\BindKey
{
\Key
{
\Shift\Super
}{
4
}{
11
}}{
\Cmd
{
vlc http:
//
192
.
168
.
1
.
191
:
9981
/
stream
/
mux
/
53
d
6
b
078
f
24454
f
7
f
0
ac
0
dd
323
f
69569
http:
//
192
.
168
.
1
.
191
:
9981
/
stream
/
mux
/
df
4
d
0
d
285682018251
b
68
a
9
b
81
e
0293
a http:
//
192
.
168
.
1
.
191
:
9981
/
stream
/
mux
/
47
b
53
b
11
fb
6
dcabc
260
b
7784
de
9
eb
45
f
}}
%
\BindKey{\Key{\Shift\Super}{4}{11}}{\Cmd{vlc http://192.168.1.191:9981/stream/mux/53d6b078f24454f7f0ac0dd323f69569 http://192.168.1.191:9981/stream/mux/df4d0d285682018251b68a9b81e0293a http://192.168.1.191:9981/stream/mux/47b53b11fb6dcabc260b7784de9eb45f}}
\BindKey
{
\Key
{
\Ctrl\Super
}{
4
}{
11
}}{
\Cmd
{
vlc http:
//
localhost:
9981
/
playlist
/
channels
}}
%
\BindKey{\Key{\Ctrl\Super}{4}{11}}{\Cmd{vlc http://localhost:9981/playlist/channels}}
\BindKey
{
\Key
{
\Ctrl\Shift\Super
}{
4
}{
11
}}{
\Cmd
{
vlc http:
//
localhost:
9981
/
stream
/
mux
/
53
d
6
b
078
f
24454
f
7
f
0
ac
0
dd
323
f
69569
http:
//
localhost:
9981
/
stream
/
mux
/
df
4
d
0
d
285682018251
b
68
a
9
b
81
e
0293
a http:
//
localhost:
9981
/
stream
/
mux
/
47
b
53
b
11
fb
6
dcabc
260
b
7784
de
9
eb
45
f
}}
%
\BindKey{\Key{\Ctrl\Shift\Super}{4}{11}}{\Cmd{vlc http://localhost:9981/stream/mux/53d6b078f24454f7f0ac0dd323f69569 http://localhost:9981/stream/mux/df4d0d285682018251b68a9b81e0293a http://localhost:9981/stream/mux/47b53b11fb6dcabc260b7784de9eb45f}}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment