diff options
| author | Akshay Nair <phenax5@gmail.com> | 2020-12-20 20:56:53 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2020-12-20 20:56:53 +0530 |
| commit | 6f32887a0ea07ea8d5a792c525ff66284cfac5e6 (patch) | |
| tree | daae583af282fc2421bdb16f6288bc763fc0f2a6 /external/xconfig | |
| parent | 4e5ca7125a9709dc39709743e06522ec39656ebc (diff) | |
| download | nixos-config-6f32887a0ea07ea8d5a792c525ff66284cfac5e6.tar.gz nixos-config-6f32887a0ea07ea8d5a792c525ff66284cfac5e6.zip | |
Fixes autostart and x init stuff
Diffstat (limited to 'external/xconfig')
| -rw-r--r-- | external/xconfig/Xmodmap | 8 | ||||
| -rw-r--r-- | external/xconfig/Xresources | 57 | ||||
| -rwxr-xr-x | external/xconfig/init.sh | 26 |
3 files changed, 91 insertions, 0 deletions
diff --git a/external/xconfig/Xmodmap b/external/xconfig/Xmodmap new file mode 100644 index 0000000..8516782 --- /dev/null +++ b/external/xconfig/Xmodmap @@ -0,0 +1,8 @@ +clear Lock + +keycode 66 = Escape NoSymbol Escape +! keycode 66 = Hyper_L + +remove mod4 = Hyper_L +add mod3 = Hyper_L + diff --git a/external/xconfig/Xresources b/external/xconfig/Xresources new file mode 100644 index 0000000..ab3701b --- /dev/null +++ b/external/xconfig/Xresources @@ -0,0 +1,57 @@ + + +#define bg #0f0c19 +#define fg #d8dee9 +#define acc #4e3aA3 +! #383F6B +! #5587BA + +! Special +*.foreground: fg +*.background: bg +*.cursorColor: fg +*.accent: acc + +! Colors +*.color0: #15121f +*.color8: #555555 + +*.color1: #e06c75 +*.color9: #bf616a + +*.color2: #98C379 +*.color10: #a3be8c + +*.color3: #E5C07B +*.color11: #f7b731 + +*.color4: #60a3bc +*.color12: #5e81ac + +*.color5: #4e3aA3 +*.color13: #4e3aA3 + +*.color6: #56B6C2 +*.color14: #0fb9b1 + +*.color7: #ABB2BF +*.color15: #ebdbb2 + +dmenu.background: bg +dmenu.foreground: fg +dmenu.selbackground: acc +dmenu.selforeground: fg + +dmenu.highlightbg: bg +dmenu.highlightfg: acc +dmenu.highlightselbg: acc +dmenu.highlightselfg: bg + +dwm.normbordercolor: bg +dwm.normbgcolor: bg +dwm.normfgcolor: fg + +dwm.selbordercolor: acc +dwm.selbgcolor: acc +dwm.selfgcolor: fg + diff --git a/external/xconfig/init.sh b/external/xconfig/init.sh new file mode 100755 index 0000000..d51f6df --- /dev/null +++ b/external/xconfig/init.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env sh + +NIX_X="$HOME/nixos/external/xconfig"; + +# Xresources (theme) +xrdb -merge $NIX_X/Xresources; + +# Xmodmap (keymapping) +xmodmap $NIX_X/Xmodmap; + +# No screen saver +xset s off; +xset -dpms; +xset s noblank; + +# Typing rate +xset r rate 350 30; + +# Display settings +# ~/scripts/commands/:day + +# Sound +#~/scripts/sound.sh mic-vol full; +#~/scripts/sound.sh mute-mic; +#~/scripts/sound.sh mute; + |
