From 2b333958937327eb0b402ff5cb86dfbd8d5ea226 Mon Sep 17 00:00:00 2001 From: DustVoice Date: Sat, 28 Dec 2019 00:14:00 +0100 Subject: [PATCH] Change toggle key again due to i3 related issues --- .gitignore | 1 + .nvidia-xinitrc | 7 +++++++ .xinitrc | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .nvidia-xinitrc diff --git a/.gitignore b/.gitignore index 9acb67e..e714f9f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ !/.bashrc !/.gitconfig !/.inputrc +!/.nvidia-xinitrc !/.password-store !/.xinitrc !/.Xmodmap.example diff --git a/.nvidia-xinitrc b/.nvidia-xinitrc new file mode 100644 index 0000000..26c1e32 --- /dev/null +++ b/.nvidia-xinitrc @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ $# -gt 0 ]; then + $* +else + i3 +fi diff --git a/.xinitrc b/.xinitrc index 2651fdd..00526a1 100644 --- a/.xinitrc +++ b/.xinitrc @@ -7,7 +7,7 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then unset f fi -setxkbmap "us,us" ",intl" "grp:alt_shift_toggle" +setxkbmap "us,us" ",intl" "grp:shifts_toggle" [ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap exec i3