diff options
| -rw-r--r-- | .config/xinitrc | 6 | ||||
| -rw-r--r-- | .config/xprofile | 3 | ||||
| -rw-r--r-- | .local/bin/.gitignore | 2 | ||||
| -rwxr-xr-x | .local/bin/remaps | 3 | ||||
| l--------- | .xprofile | 1 |
5 files changed, 13 insertions, 2 deletions
diff --git a/.config/xinitrc b/.config/xinitrc index cbdfffd..c5f12cb 100644 --- a/.config/xinitrc +++ b/.config/xinitrc @@ -1,4 +1,10 @@ #!/bin/sh +# xinitrc runs when you run starx + +# Source xprofile as that contains commands that need run whenever we startx. +# Commands are kept in xprofile as that will run automatically if a display manager is used when logging in. +. ~/.xprofile + exec ~/.local/bin/dwm diff --git a/.config/xprofile b/.config/xprofile new file mode 100644 index 0000000..18bcf24 --- /dev/null +++ b/.config/xprofile @@ -0,0 +1,3 @@ +#!/bin/sh + +remaps & # Sets correct keyboard layout and remaps some keys to make life easier in dwm. diff --git a/.local/bin/.gitignore b/.local/bin/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/.local/bin/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/.local/bin/remaps b/.local/bin/remaps new file mode 100755 index 0000000..0e81ee9 --- /dev/null +++ b/.local/bin/remaps @@ -0,0 +1,3 @@ +#!/bin/sh + +setxkbmap -layout gb diff --git a/.xprofile b/.xprofile new file mode 120000 index 0000000..c000896 --- /dev/null +++ b/.xprofile @@ -0,0 +1 @@ +.config/xprofile
\ No newline at end of file |
