mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-31 23:09:56 +02:00
Initial i3 configuration
This is derived from my Awesome configuration. Still a lot to do from a WM perspective. The organization is a bit different and I am giving it up on the per-display systemd units as it does not really work due to the fact we only have one user DBus and one environment.
This commit is contained in:
parent
d3af9e4890
commit
d85a504c53
95 changed files with 383 additions and 3116 deletions
16
dotfiles/xkb/default.xkb
Normal file
16
dotfiles/xkb/default.xkb
Normal file
|
@ -0,0 +1,16 @@
|
|||
# -*- conf -*-
|
||||
|
||||
# Default configuration with:
|
||||
# - compose → rwin, ralt or menu
|
||||
# - capslock as ctrl
|
||||
# - pause key becomes xscreensaver
|
||||
xkb_keymap {
|
||||
xkb_keycodes { include "evdev+aliases(qwerty)" };
|
||||
xkb_types { include "complete" };
|
||||
xkb_compat { include "complete" };
|
||||
xkb_symbols { include "pc+us+inet(evdev)"
|
||||
include "compose(rwin)+compose(menu)+compose(ralt)"
|
||||
include "ctrl(nocaps)"
|
||||
include "vbe(pause)" };
|
||||
xkb_geometry { include "pc(pc105)" };
|
||||
};
|
17
dotfiles/xkb/symbols/vbe
Normal file
17
dotfiles/xkb/symbols/vbe
Normal file
|
@ -0,0 +1,17 @@
|
|||
partial
|
||||
xkb_symbols "pause" {
|
||||
key <PAUS> {
|
||||
[ XF86ScreenSaver, XF86ScreenSaver ]
|
||||
};
|
||||
};
|
||||
|
||||
partial modifier_keys alphanumeric_keys
|
||||
xkb_symbols "x1gen2" {
|
||||
key <LCTL> { [ Escape, Escape ] };
|
||||
key <HOME> { [ Control_L, Control_L ] };
|
||||
key <END> { [ Control_L, Control_L ] };
|
||||
modifier_map Control { Control_L, <HOME>, <END> };
|
||||
|
||||
key <TLDE> { [ Insert, Insert ] };
|
||||
key <ESC> { [ grave, asciitilde, dead_grave, dead_tilde ] };
|
||||
};
|
10
dotfiles/xkb/thinkpad-extra.xkb
Normal file
10
dotfiles/xkb/thinkpad-extra.xkb
Normal file
|
@ -0,0 +1,10 @@
|
|||
# -*- conf -*-
|
||||
|
||||
# Configuration for thinkpad extra buttons
|
||||
xkb_keymap {
|
||||
xkb_keycodes { include "evdev+aliases(qwerty)" };
|
||||
xkb_types { include "complete" };
|
||||
xkb_compat { include "complete" };
|
||||
xkb_symbols { include "pc+us+inet(evdev)" };
|
||||
xkb_geometry { include "pc(pc105)" };
|
||||
};
|
21
dotfiles/xkb/x1gen2.xkb
Normal file
21
dotfiles/xkb/x1gen2.xkb
Normal file
|
@ -0,0 +1,21 @@
|
|||
# -*- conf -*-
|
||||
|
||||
# Configuration for a Lenovo X1 Carbon Gen 2 keyboard
|
||||
#
|
||||
# This keyboard is a mess. Really. Here is what we do about it:
|
||||
#
|
||||
# - transform Home and End as a Control_L key
|
||||
# - transform Backquote (between left alt and left ctrl) into Insert
|
||||
# - transform Escape to Backquote. Let's say we don't need escape.
|
||||
#
|
||||
# Escape can be replaced with C-[. See:
|
||||
# http://vim.wikia.com/wiki/Avoid_the_escape_key
|
||||
xkb_keymap {
|
||||
xkb_keycodes { include "evdev+aliases(qwerty)" };
|
||||
xkb_types { include "complete" };
|
||||
xkb_compat { include "complete" };
|
||||
xkb_symbols { include "pc+us+inet(evdev)"
|
||||
include "compose(ralt)+ctrl(nocaps)"
|
||||
include "vbe(x1gen2)" };
|
||||
xkb_geometry { include "pc(pc105)" };
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue