diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-07 22:59:24 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-07 22:59:24 +0100 |
| commit | efb2439ab82052f6eeb4728d5df774cccb121a8a (patch) | |
| tree | c8bd0dadbc6a3f2744922b248bd3e76520ad982b | |
| parent | f4309c69498ae23959de904d38d23f6f8d667c09 (diff) | |
| download | dotfiles-efb2439ab82052f6eeb4728d5df774cccb121a8a.tar.gz dotfiles-efb2439ab82052f6eeb4728d5df774cccb121a8a.tar.bz2 dotfiles-efb2439ab82052f6eeb4728d5df774cccb121a8a.zip | |
carbon x1 Arch linux config
| -rw-r--r-- | .pluggins.vim | 2 | ||||
| -rw-r--r-- | .vimrc | 3 | ||||
| -rw-r--r-- | .xinitrc | 2 | ||||
| -rwxr-xr-x | .zprofile | 3 | ||||
| -rw-r--r-- | .zsh_aliases | 2 | ||||
| -rwxr-xr-x | install.sh | 3 | ||||
| -rw-r--r-- | xmonad.hs | 14 |
7 files changed, 14 insertions, 15 deletions
diff --git a/.pluggins.vim b/.pluggins.vim index c3951a5..796473a 100644 --- a/.pluggins.vim +++ b/.pluggins.vim @@ -1,6 +1,6 @@ " plugins call plug#begin() - Plug 'joshdick/onedark.vim' " theme + Plug 'dracula/vim' " theme Plug 'ctrlpvim/ctrlp.vim' " Ctrl-P similar to vsc Plug 'tpope/vim-eunuch' " basic unix command in vim Plug 'tomtom/tcomment_vim' " mininal commenter @@ -61,8 +61,7 @@ set wildignore=*/tmp/*,*.o,*.so,*.swp,*.zip,*/node_modules/*,*/vendor/*,.bundle/ let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard'] " colorscheme -let g:onedark_terminal_italics=1 -colorscheme onedark +colorscheme dracula let g:lightline = {} let g:lightline.colorscheme = 'one' " lightline theme to onedark diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..c3213b0 --- /dev/null +++ b/.xinitrc @@ -0,0 +1,2 @@ +redshift -c /home/charles/.config/redshift.conf & +exec xmonad diff --git a/.zprofile b/.zprofile new file mode 100755 index 0000000..7cebc9e --- /dev/null +++ b/.zprofile @@ -0,0 +1,3 @@ +if [[ "$(tty)" = "/dev/tty1" ]]; then + startx +fi diff --git a/.zsh_aliases b/.zsh_aliases index 6644105..37e213d 100644 --- a/.zsh_aliases +++ b/.zsh_aliases @@ -65,4 +65,4 @@ alias zshrc="vim $DOTFILES/.zshrc && source $DOTFILES/.zshrc" alias zshaliasrc="vim $DOTFILES/.zsh_aliases && source $DOTFILES/.zshrc" alias vimrc="vim $DOTFILES/.vimrc" alias vimplugrc="vim $DOTFILES/.pluggins.vim" -alias xmonadrc="vim $DOTFILES/xmonad.hs && cp $DOTFILES/xmonad.hs $HOME/.xmonad/xmonad.hs" +alias xmonadrc="vim $DOTFILES/xmonad.hs" @@ -21,6 +21,9 @@ ln -sf $DOTDIR/.gitconfig $HOME/.gitconfig [ ! -d $HOME/.config ] && mkdir $HOME/.config ln -sf $DOTDIR/redshift.conf $HOME/.config/redshift.conf +ln -sf $DOTDIR/.xinitrc $HOME/.xinitrc +ln -sf $DOTDIR/.zprofile $HOME/.zprofile + ################ # dependencies # ################ @@ -6,7 +6,7 @@ import XMonad.Util.SpawnOnce import XMonad.Util.EZConfig(additionalKeysP) myModMask = mod4Mask -myTerminal = "konsole" +myTerminal = "st" myTextEditor = "vim" myBorderWidth = 2 @@ -14,22 +14,14 @@ main = do xmonad $ desktopConfig { modMask = myModMask , terminal = myTerminal - , startupHook = myStartupHook , borderWidth = myBorderWidth , normalBorderColor = "#292d3e" , focusedBorderColor = "#bbc5ff" } `additionalKeysP` myKeys -myStartupHook = do - spawnOnce "redshift -c /home/charles/.config/redshift.conf &" - spawnOnce "xinput disable 'ETPS/2 Elantech Touchpad' &" - myKeys = [ ("<XF86AudioRaiseVolume>", spawn "pulseaudio-ctl up") , ("<XF86AudioLowerVolume>", spawn "pulseaudio-ctl down") , ("<XF86AudioMute>", spawn "pulseaudio-ctl mute") + , ("<XF86MonBrightnessUp>", spawn "xbacklight -inc 5") + , ("<XF86MonBrightnessDown>", spawn "xbacklight -dec 5") ] - -- , ("<XF86AudioPlay>", spawn "playerctl play-pause") - -- , ("<XF86AudioPrev>", spawn "playerctl previous") - -- , ("<XF86AudioNext>", spawn "playerctl next") - -- , ("<XF86MonBrightnessUp>", spawn "lux -a 5%") - -- , ("<XF86MonBrightnessDown>", spawn "lux -s 5%") |
