i3 colors, picom etc.

This commit is contained in:
Harri Lahtinen 2020-04-10 19:11:50 +03:00
parent 535065a9ad
commit c47e4c3d21
6 changed files with 32 additions and 18 deletions

View File

@ -32,3 +32,10 @@ st.bold_font: 1
st.borderpx: 10
! This option is can be preedit style. Available values: `root` `overthespot` ( Default taken `root`)
st.imstyle: root
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb

View File

@ -23,13 +23,25 @@ bindsym Mod1+e layout toggle split
#Sticky window
bindsym $mod+Shift+c sticky toggle
set_from_resource $fg i3wm.color7 #f0f0f0
set_from_resource $bg i3wm.color2 #f0f0f0
# class border backgr. text indicator child_border
client.focused $bg $bg $fg $bg $bg
client.focused_inactive $bg $bg $fg $bg $bg
client.unfocused $bg $bg $fg $bg $bg
client.urgent $bg $bg $fg $bg $bg
client.placeholder $bg $bg $fg $bg $bg
client.background $bg
######### COLORS ##########
# BORDER BACKGROUND TEXT INDICATOR CHILD_BORDER
client.focused #88C0D0 #EBCB8B #2E3440 #88C0D0 #5E81AC
client.unfocused #5E81AC #88C0D0 #E5E9F0 #5E81AC #2E3440
client.focused_inactive #2E3440 #4C566A #E5E9F0 #5E81AC #2E3440
client.urgent #BF616A #BF616A #2E3440 #BF616A #BF616A
client.background #4C566A
#client.focused #88C0D0 #EBCB8B #2E3440 #88C0D0 #5E81AC
#client.unfocused #5E81AC #88C0D0 #E5E9F0 #5E81AC #2E3440
#client.focused_inactive #2E3440 #4C566A #E5E9F0 #5E81AC #2E3440
#client.urgent #BF616A #BF616A #2E3440 #BF616A #BF616A
#client.background #4C566A
###---Starting External Scripts---###
@ -51,7 +63,7 @@ exec --no-startup-id ~/.config/wpg/wp_init.sh
#Clipster
exec --no-startup-id clipster -d
#Picom
exec --no-startup-id picom -bc --config /home/hate/.config/picom.conf
exec --no-startup-id sleep 5 && picom -bc --experimental-backends --dbus --config /home/hate/.config/picom.conf
#Gnome privileges
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
#Launch Polybar where appropriate:
@ -101,7 +113,7 @@ bindsym $mod+Shift+e scratchpad show
#Composite manager:
bindsym $mod+b exec --no-startup-id pkill picom
bindsym $mod+Ctrl+b exec --no-startup-id picom -bc --config /home/hate/.config/picom.conf
bindsym $mod+Ctrl+b exec --no-startup-id picom -bc --experimental-backends --dbus --config /home/hate/.config/picom.conf
###---Basic Bindings---###
@ -339,8 +351,8 @@ bindsym XF86WebCam exec mpv /dev/video0
bindsym XF86Mail exec $term -e neomutt
bindsym XF86Messenger exec $term -e weechat
bindsym XF86Search exec $BROWSER https://duckduckgo.com
bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5
bindsym XF86MonBrightnessDown exec light -S "$(light -G | awk '{ print int($1 / 1.4) }')"
bindsym XF86MonBrightnessUp exec light -S "$(light -G | awk '{ print int(($1 + .72) * 1.4) }')"
bindsym XF86AudioMedia exec $music
bindsym XF86Display exec --no-startup-id arandr
bindsym XF86KbdBrightnessDown exec --no-startup-id python3.6 ~/.i3/kb-lights.py -

View File

@ -17,7 +17,7 @@ font_family UbuntuMono Nerd Font
#bold_italic_font UbuntuMono Nerd Font Complete Mono Bold Italic
# Font size (in pts)
font_size 11.0
font_size 12.0
box_drawing_scale 0.001, 1, 1.5, 2
# The foreground color

View File

@ -2,9 +2,8 @@
ZDOTDIR=$HOME
# display
export DEFAULT_USER="hate"
export VDPAU_DRIVER="va_gl"
export LIBVA_DRIVER_NAME="iHD"
export VAAPI_MPEG4_ENABLED=true
#export VAAPI_MPEG4_ENABLED=true
# Common apps
export ZSH=/home/hate/.oh-my-zsh

3
.zshrc
View File

@ -2,7 +2,7 @@
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# ██
@ -22,6 +22,7 @@ if [ -r $HOME/.zaliases ] ; then
fi
ZSH_THEME="powerlevel10k/powerlevel10k"
#ZSH_THEME="bubblified"
# Auto completion
autoload -Uz compinit

View File

@ -2,7 +2,6 @@ alsa-utils
android-file-transfer
arandr
archlinuxcn-keyring
asciidoc
atool
autoconf
autofs
@ -27,8 +26,6 @@ device-mapper
dhcpcd
dialog
diffutils
docbook-xml
docbook-xsl
downgrade
e2fsprogs
exfat-utils
@ -89,7 +86,6 @@ make
man-db
man-pages
mdadm
meson
mlocate
mopidy
mpc
@ -106,7 +102,6 @@ networkmanager
networkmanager-openvpn
newsboat
nfs-utils
ninja
noto-fonts
noto-fonts-emoji
openvpn