gruvbox colors, arch install.txt to markdown etc.

This commit is contained in:
Harri Lahtinen 2020-01-14 01:23:12 +02:00
parent b711acc8ed
commit 43b20a1610
10 changed files with 117 additions and 77 deletions

View File

@ -51,11 +51,11 @@ bindsym $mod+Shift+c sticky toggle
######### COLORS ########## ######### COLORS ##########
# BORDER BACKGROUND TEXT INDICATOR CHILD_BORDER # BORDER BACKGROUND TEXT INDICATOR CHILD_BORDER
client.focused #88C0D0 #EBCB8B #2E3440 #88C0D0 #5E81AC client.focused #fb4934 #83a598 #282828 #fb4934 #fabd2f
client.unfocused #5E81AC #88C0D0 #E5E9F0 #5E81AC #2E3440 client.unfocused #fabd2f #fb4934 #d5c4a1 #fabd2f #282828
client.focused_inactive #2E3440 #4C566A #E5E9F0 #5E81AC #2E3440 client.focused_inactive #282828 #665c54 #d5c4a1 #fabd2f #282828
client.urgent #BF616A #BF616A #2E3440 #BF616A #BF616A client.urgent #b8bb26 #b8bb26 #282828 #b8bb26 #b8bb26
client.background #4C566A client.background #665c54
###---Starting External Scripts---### ###---Starting External Scripts---###
@ -197,7 +197,7 @@ bindsym $mod+s gaps inner current plus 5
bindsym $mod+Shift+s gaps inner current minus 5 bindsym $mod+Shift+s gaps inner current minus 5
#bindsym $mod+d exec rofi -config ~/.config/rofi/config -show drun #bindsym $mod+d exec rofi -config ~/.config/rofi/config -show drun
bindsym $mod+d exec dmenu_run -fn 'Ubuntu Mono derivative Powerline-18' -h '35' -nb '#A3BE8C' -sf '#2E3440' -sb '#BF616A' -nf '#8FBCBB' bindsym $mod+d exec dmenu_run -fn 'Ubuntu Mono derivative Powerline-18' -h '35' -nb '#d3869b' -sf '#282828' -sb '#b8bb26' -nf '#fbf1c7'
bindsym Mod1+d exec ~/.config/Scripts/rofi-bangs.sh bindsym Mod1+d exec ~/.config/Scripts/rofi-bangs.sh
bindsym $mod+Shift+d gaps inner current set 0; gaps outer current set 0 bindsym $mod+Shift+d gaps inner current set 0; gaps outer current set 0

View File

@ -10,7 +10,7 @@
" Colorscheme " Colorscheme
colorscheme nord colorscheme gruvbox
augroup specify_filetype augroup specify_filetype
autocmd! autocmd!

View File

@ -98,7 +98,7 @@ let g:NERDTreeIndicatorMapCustom = {
"Airline " "Airline "
"""""""""""" """"""""""""
"main settings "main settings
let g:airline_theme='nord' let g:airline_theme='gruvbox'
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1
let g:airline_symbols = {} let g:airline_symbols = {}
let g:airline_skip_empty_sections = 1 let g:airline_skip_empty_sections = 1

View File

@ -89,4 +89,5 @@ Plug 'deviantfero/wpgtk.vim'
Plug 'itchyny/landscape.vim' Plug 'itchyny/landscape.vim'
Plug 'nanotech/jellybeans.vim' Plug 'nanotech/jellybeans.vim'
Plug 'cocopon/iceberg.vim' Plug 'cocopon/iceberg.vim'
Plug 'morhetz/gruvbox'
call plug#end() call plug#end()

View File

@ -117,20 +117,21 @@ shadow-ignore-shaped = true;
#active-opacity = 1; #active-opacity = 1;
#frame-opacity = 1; #frame-opacity = 1;
#inactive-opacity-override = false; #inactive-opacity-override = false;
#alpha-step = 0.06; alpha-step = 0.06;
blur-kern = "7x7box"; blur-kern = "7x7box";
blur-method = "dual_kawase"; blur-method = "dual_kawase";
blur-strength = 12; blur-strength = 12;
opacity-rule = [ opacity-rule = [
"99:class_g = 'i3-frame'",
"90:class_g = 'St' && focused", "90:class_g = 'St' && focused",
"60:class_g = 'St' && !focused", "60:class_g = 'St' && !focused",
"90:class_g = 'Alacritty' && focused", "90:class_g = 'Alacritty' && focused",
"60:class_g = 'Alacritty' && !focused", "60:class_g = 'Alacritty' && !focused",
"99:class_g = 'mpv'", "99:class_g = 'mpv'",
"60:class_g = 'kitty' && focused", "60:class_g = 'kitty' && focused",
"90:class_g = 'kitty' && !focused", "99:class_g = 'kitty' && !focused",
"0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'", "0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_HIDDEN'", "0:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_HIDDEN'", "0:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_HIDDEN'",

View File

@ -5,21 +5,21 @@
; ;
[colors] [colors]
background = #00000000 background = #00000000
background-alt = #88C0D0 background-alt = #fb4934
foreground = #5E81AC foreground = #fabd2f
foreground-alt = #D08770 foreground-alt = #8ec07c
highlight = #E5E9F0 highlight = #d5c4a1
error = #BF616A error = #b8bb26
red = #BF616A red = #b8bb26
yellow = #EBCB8B yellow = #83a598
green = #A3BE8C green = #d3869b
darkblue = #5E81AC darkblue = #fabd2f
alert = #FF0000 alert = #FF0000
lightblue = #8FBCBB lightblue = #fbf1c7
orange = #D08770 orange = #8ec07c
blue = #88C0D0 blue = #fb4934
black = #2E3440 black = #282828
grey = #4C566A grey = #665c54
[bar/top] [bar/top]
monitor = ${env:MONITOR:eDP-1} monitor = ${env:MONITOR:eDP-1}
@ -141,7 +141,7 @@ interval = 5
;format-foreground = #E5E9F0 ;format-foreground = #E5E9F0
;format-backgound = #5E81AC ;format-backgound = #5E81AC
label = " %output%" label = " %output%"
label-foreground = ${colors.highlight} label-foreground = ${colors.black}
label-background = ${colors.darkblue} label-background = ${colors.darkblue}
[module/pavolume] [module/pavolume]
@ -177,10 +177,10 @@ exec = ~/.config/Scripts/backlight.sh
scroll-up = exec light -A 5 scroll-up = exec light -A 5
scroll-down = exec light -U 5 scroll-down = exec light -U 5
format-prefix = "  " format-prefix = "  "
format-prefix-foreground = ${colors.highlight} format-prefix-foreground = ${colors.black}
format-prefix-background = ${colors.darkblue} format-prefix-background = ${colors.darkblue}
label = "%output%% " label = "%output%% "
label-foreground = ${colors.highlight} label-foreground = ${colors.black}
label-background = ${colors.darkblue} label-background = ${colors.darkblue}
[module/popup-calendar] [module/popup-calendar]

View File

@ -141,7 +141,7 @@ interval = 5
;format-foreground = #E5E9F0 ;format-foreground = #E5E9F0
;format-backgound = #5E81AC ;format-backgound = #5E81AC
label = " %output%" label = " %output%"
label-foreground = ${{colors.highlight}} label-foreground = ${{colors.black}}
label-background = ${{colors.darkblue}} label-background = ${{colors.darkblue}}
[module/pavolume] [module/pavolume]
@ -177,10 +177,10 @@ exec = ~/.config/Scripts/backlight.sh
scroll-up = exec light -A 5 scroll-up = exec light -A 5
scroll-down = exec light -U 5 scroll-down = exec light -U 5
format-prefix = "  " format-prefix = "  "
format-prefix-foreground = ${{colors.highlight}} format-prefix-foreground = ${{colors.black}}
format-prefix-background = ${{colors.darkblue}} format-prefix-background = ${{colors.darkblue}}
label = "%output%% " label = "%output%% "
label-foreground = ${{colors.highlight}} label-foreground = ${{colors.black}}
label-background = ${{colors.darkblue}} label-background = ${{colors.darkblue}}
[module/popup-calendar] [module/popup-calendar]

View File

@ -1,141 +1,180 @@
# Install ARCH Linux with UEFI # Install ARCH Linux with UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. # The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/ # Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive # Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration. # Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set finnish keymap ### Installation Steps
#### Set finnish keymap
loadkeys fi loadkeys fi
# This assumes a wifi only system... #### This assumes a wifi only system...
wifi-menu wifi-menu
# Create partitions #### Create partitions
cgdisk /dev/sda cgdisk /dev/sda
1 512MB EFI partition # Hex code ef00 ;sda1 1 512MB EFI partition # Hex code ef00 ;sda1
2 100% size partiton # (to be encrypted) Hex code 8300 ;sda2 2 100% size partiton # (to be encrypted) Hex code 8300 ;sda2
# Create EFI partition #### Create EFI partition
mkfs.vfat -F32 /dev/sda1 mkfs.vfat -F32 /dev/sda1
# Create filesystem on root partition #### Create filesystem on root partition
mkfs.ext4 /dev/sda2 mkfs.ext4 /dev/sda2
# Create swapfile #### Create swapfile
fallocate -l 4G /swapfile fallocate -l 4G /swapfile
chmod 600 /swapfile chmod 600 /swapfile
mkswap /swapfile mkswap /swapfile
swapon /swapfile swapon /swapfile
# Mount the new system #### Mount the new system
mount /dev/sda2 /mnt # /mnt is the installed system mount /dev/sda2 /mnt # /mnt is the installed system
mkdir /mnt/boot mkdir /mnt/boot
mount /dev/sda1 /mnt/boot mount /dev/sda1 /mnt/boot
# Install the system also includes stuff needed for starting wifi when first booting into the newly installed system #### Install the system also includes stuff needed for starting wifi when first booting into the newly installed system
# Unless nvim and zsh are desired these can be removed from the command. Dialog is needed by wifi-menu
pacstrap /mnt base base-devel linux linux-firmware zsh nvim git sudo networkmanager dialog wifi-menu wpa_supplicant wireless_tools gnome-keyring #### Unless nvim and zsh are desired these can be removed from the command. Dialog is needed by wifi-menu
pacstrap /mnt base base-devel linux linux-firmware mkinitcpio e2fsprogs man zsh nvim git sudo
networkmanager dialog wifi-menu wpa_supplicant wireless_tools gnome-keyring
#### 'install' fstab
# 'install' fstab
genfstab -pU /mnt >> /mnt/etc/fstab genfstab -pU /mnt >> /mnt/etc/fstab
# Make /tmp a ramdisk (add the following line to /mnt/etc/fstab) #### Make /tmp a ramdisk (add the following line to /mnt/etc/fstab)
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
#### Add swapfile to fstab
# Add swapfile to fstab
/swapfile none swap defaults 0 0 /swapfile none swap defaults 0 0
# Change relatime on all non-boot partitions to noatime (reduces wear if using an SSD) #### Change relatime on all non-boot partitions to noatime (reduces wear if using an SSD)
#### Enter the new system
# Enter the new system
arch-chroot /mnt /bin/bash arch-chroot /mnt /bin/bash
# Setup system clock #### Setup system clock
ln -s /usr/share/zoneinfo/Europe/Helsinki /etc/localtime ln -s /usr/share/zoneinfo/Europe/Helsinki /etc/localtime
hwclock --systohc --utc hwclock --systohc --utc
# Set the hostname #### Set the hostname
echo MYHOSTNAME > /etc/hostname echo MYHOSTNAME > /etc/hostname
# Generate locale #### Generate locale
#Uncomment wanted locales in /etc/locale.gen
#### Uncomment wanted locales in /etc/locale.gen
vim /etc/locale.gen vim /etc/locale.gen
locale-gen locale-gen
localectl set-locale LANG=en_IE.UTF-8 localectl set-locale LANG=en_IE.UTF-8
#To avoid problems with gnome-terminal set locale system wide #To avoid problems with gnome-terminal set locale system wide
#Do NOT set LC_ALL=C. It overrides all the locale vars and messes up special characters #Do N-OT set LC_ALL=C. It overrides all the locale vars and messes up special characters
#Pay attention to the UTF-8. Capital letters ! #Pay attention to the UTF-8. Capital letters !
echo LANG=en_IE.UTF-8 >> /etc/locale.conf echo LANG=en_IE.UTF-8 >> /etc/locale.conf
echo LC_ALL= >> /etc/locale.conf echo LC_ALL= >> /etc/locale.conf
#### Set password for root
# Set password for root
passwd passwd
# Add real user remove -s flag if you don't whish to use zsh #### Add real user remove -s flag if you don't whish to use zsh
useradd -m -g users -G audio,video,network,rfkill,input,wheel,storage,power -s /bin/zsh MYUSERNAME useradd -m -g users -G audio,video,network,rfkill,input,wheel,storage,power -s /bin/zsh MYUSERNAME
passwd MYUSERNAME passwd MYUSERNAME
# Configure mkinitcpio with modules needed for the initrd image #### Configure mkinitcpio with modules needed for the initrd image
vim /etc/mkinitcpio.conf
nvim /etc/mkinitcpio.conf
#### Regenerate initrd image
# Regenerate initrd image
mkinitcpio -p linux mkinitcpio -p linux
# Setup systembootd (grub will not work on nvme at this moment), install Intel microcode #### Setup systembootd (grub will not work on nvme at this moment), install Intel microcode
pacman -S intel-ucode pacman -S intel-ucode
bootctl install bootctl install
# Create loader.conf #### Create loader.conf
echo 'default Arch' >> /boot/loader/loader.conf echo 'default Arch' >> /boot/loader/loader.conf
echo 'timeout 10' >> /boot/loader/loader.conf echo 'timeout 10' >> /boot/loader/loader.conf
# Create arch.conf (or XYZ.conf for default XYZ in loader.conf) #### Create arch.conf (or XYZ.conf for default XYZ in loader.conf)
vim /boot/loader/entries/Arch.conf
nvim /boot/loader/entries/Arch.conf
#### Add the following content to Arch.conf
#### <UUID> from /dev/sda2. It can be found with the 'blkid' command
# Add the following content to Arch.conf
# <UUID> from /dev/sda2. It can be found with the 'blkid' command
title Arch Linux title Arch Linux
linux /vmlinuz-linux linux /vmlinuz-linux
initrd /initramfs-linux.img initrd /initramfs-linux.img
options root=PARTUUID=xxxx-xxxxx-xxx-xxx rw options root=PARTUUID=xxxx-xxxxx-xxx-xxx rw
blkid >> /boot/loader/entries/Arch.conf blkid >> /boot/loader/entries/Arch.conf
# Exit new system and go into the cd shell #### Exit new system and go into the cd shell
exit exit
# Unmount all partitions #### Unmount all partitions
umount -R /mnt umount -R /mnt
swapoff -a swapoff -a
# Reboot into the new system, don't forget to remove the cd/usb #### Reboot into the new system, don't forget to remove the cd/usb
reboot reboot
# On a new system you might want to check keymap and fix it? #### On a new system you might want to check keymap and fix it?
localectl set-keymap --no-convert fi localectl set-keymap --no-convert fi
localectl set-x11-keymap fi localectl set-x11-keymap fi
# Install yay #### Install yay
git clone https://aur.archlinux.org/yay.git -> cd yay -> makepkg -si git clone https://aur.archlinux.org/yay.git -> cd yay -> makepkg -si
# Mirrors #### Mirrors
pacman -S reflector pacman -S reflector
cp etc/pacman.d/mirrorlist etc/pacman.d/mirrorlist.bak cp etc/pacman.d/mirrorlist etc/pacman.d/mirrorlist.bak
reflector --latest 200 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist reflector --latest 200 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# Install X-server and graphics drivers #### Install X-server and graphics drivers
pacman -S xorg-server xorg-xinit
pacman -S xf86-video-intel pacman -S xorg-server xorg-apps xorg-xinit xterm
pacman -S xf86-input-synaptics
sudo pacman -Syyu sudo pacman -Syyu
# After scripts have completed install plug and vundle for neovim #### After scripts have completed install plug and vundle for neovim
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
git clone https://github.com/VundleVim/Vundle.vim.git ~/.config/nvim/bundle/Vundle.vim git clone https://github.com/VundleVim/Vundle.vim.git ~/.config/nvim/bundle/Vundle.vim
# and tmux plugin manager
#### and tmux plugin manager
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

View File

@ -21,7 +21,6 @@ coreutils
crda crda
cryptsetup cryptsetup
device-mapper device-mapper
dhcpcd
dialog dialog
diffutils diffutils
e2fsprogs e2fsprogs

View File

@ -15,6 +15,7 @@ fasd-git
freerdp-git freerdp-git
google-chrome google-chrome
googler googler
gtk-theme-arc-gruvbox-git
i3-gaps-next-git i3-gaps-next-git
i3-resurrect-git i3-resurrect-git
i8kutils i8kutils
@ -35,7 +36,6 @@ polybar-git
powerline-fonts-git powerline-fonts-git
python-ueberzug python-ueberzug
ranger-git ranger-git
remmina-git
st-luke-git st-luke-git
systemd-boot-pacman-hook systemd-boot-pacman-hook
tlp-git tlp-git