From 9c1b83cadd3d3ebe77ae52c893e2146b807b1d85 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Tue, 9 Feb 2021 02:12:26 +0100 Subject: [PATCH] Change i3 keymap --- i3/conf/client/x380yoga/assignments | 16 ++++++++++++++++ i3/conf/client/x380yoga/bar | 7 +++++++ i3/conf/client/x380yoga/header | 22 ++++++++++++++++++++++ i3/conf/common/footer | 3 ++- 4 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 i3/conf/client/x380yoga/assignments create mode 100644 i3/conf/client/x380yoga/bar create mode 100644 i3/conf/client/x380yoga/header diff --git a/i3/conf/client/x380yoga/assignments b/i3/conf/client/x380yoga/assignments new file mode 100644 index 0000000..1fd743e --- /dev/null +++ b/i3/conf/client/x380yoga/assignments @@ -0,0 +1,16 @@ +# {{{ WORKSPACES }}} + + # Browser + workspace $ws1 gaps outer 0 + workspace $ws1 gaps inner 0 + assign [class="Firefox"] $ws1 + + # Terminal + assign [class="URxvt" instance="urxvt"] $ws2 + + # Mail + workspace $ws5 gaps outer 0 + workspace $ws5 gaps inner 0 + assign [instance="mail"] $ws5 + # KeepassXC + assign [class="keepassxc"] $ws10 diff --git a/i3/conf/client/x380yoga/bar b/i3/conf/client/x380yoga/bar new file mode 100644 index 0000000..9b84e27 --- /dev/null +++ b/i3/conf/client/x380yoga/bar @@ -0,0 +1,7 @@ +# set $CLIENT_BUMBLEBEE -m disk nic sensors battery caffeine amixer brightness datetime -p battery.device=BAT0 brightness.device_path=/sys/class/backlight/intel_backlight/actual_brightness disk.format={left} nic.states=^down sensors.path=/sys/class/thermal/thermal_zone2/temp -t gruvbox-powerline + +# {{{ STATUS BAR }}} +# bar { +# position top +# status_command bumblebee-status $CLIENT_BUMBLEBEE +# } diff --git a/i3/conf/client/x380yoga/header b/i3/conf/client/x380yoga/header new file mode 100644 index 0000000..bd09522 --- /dev/null +++ b/i3/conf/client/x380yoga/header @@ -0,0 +1,22 @@ +# {{{ VARIABLES }}} + + set $mod Mod4 + set $TERMINAL urxvt + + # gaps + set $gap_outer 15 + set $gap_inner 10 + + set $ws1 "1 " + # Terminal + set $ws2 "2 " + # Work + set $ws3 "3 " + set $ws4 "4" + # Mail + set $ws5 "5 " + set $ws6 "6" + set $ws7 "7" + set $ws8 "8" + set $ws9 "9" + set $ws10 "10" diff --git a/i3/conf/common/footer b/i3/conf/common/footer index c72d795..2fc0930 100644 --- a/i3/conf/common/footer +++ b/i3/conf/common/footer @@ -1,5 +1,6 @@ # {{{ KEYBOARD MAP }}} - exec_always setxkbmap de -option 'compose:ralt,lv3:caps_switch' -option nodeadkeys + # exec_always setxkbmap de -option 'compose:ralt,lv3:caps_switch' -option nodeadkeys + exec_always setxkbmap de # {{{ AUTOSTART }}} exec ~/.config/autorun.sh