I have always tweaked my keyboard with xmodmap; including having both super
and hyper keys. This lent itself well to i3. I mapped super to the left
windows key and hyper to the right windows key. Then, I used super+[0-9]
for the left screen and hyper+[0-9] for the right screen. I also had
shift+super+[0-9] setup to switch to both left and right with the same
number. Unfortunately, I no longer have that config file. It was at my
previous job.
Here is an excerpt from my .Xmodmap:
! Left win key -> Hyper_R -> Mod3
keycode 133 = Hyper_R NoSymbol Hyper_R NoSymbol Hyper_R
keycode 188 = Hyper_R NoSymbol Hyper_R NoSymbol Hyper_R
! Right win key -> Super_L -> Mod4
keycode 134 = Super_L NoSymbol Super_L NoSymbol Super_L
clear mod3
clear mod4
add Mod3 = Hyper_L Hyper_R
add Mod4 = Super_L Super_R
Note: I had two keyboards, they had different keycodes for the left win
key. I have also had to change these occasionally after kernel updates.
Using multiple mod keys, I used $Alt, $Hyper and $Super in my config:
set $Alt Mod1
set $Hyper Mod3
set $Super Mod4
I don't still have the system I did setup like that, so here is an example
of using the two modifiers:
bindsym $Hyper+Menu exec --no-startup-id exe=`ls ~/.i3/bin | dmenu
$dmenuopts -p "i3> "` && eval exec ~/.i3/bin/$exe
bindsym $Super+Menu exec exe=`dmenu $dmenuopts -p "i3: "` && eval exec
i3-msg $exe
On Tue, Jan 22, 2019 at 12:20 PM John Long <dmarc-noreply@xxxxxxxxxxxxx>
wrote:
On Tue, 22 Jan 2019 11:13:57 -0800
Benjamin Kaiser <benjaminjkaiser@xxxxxxxxx> wrote:
I had a similar frustration when I first ran into i3, but then I
worked out how to get a decent amount of customization going and
mapped left and right keys to +1/-1 and up down keys to +10/-10, as
well as adding Mod+T to go to a direct workspace.
I wrote a blog post on it here (with more info and links to the
config): https://blog.kaiserapps.com/my_killer_i_3_setup/
Thanks! I will have a look.
/jl