Configs for my home desktop computer

This commit is contained in:
id101010
2017-01-28 14:21:02 +01:00
parent fd1b2a2c9d
commit 1fed155d4a
9 changed files with 74 additions and 124 deletions

View File

@@ -1,19 +1,9 @@
#######################################
# _____ ____ #
# |_ _||___ \ #
# | | __) |__ __ _ __ ___ #
# | | |__ < \ \ /\ / /| '_ ` _ \ #
# _| |_ ___) | \ V V / | | | | | | #
# |_____||____/ \_/\_/ |_| |_| |_| #
# #
#######################################
#############################################
# General configurations #
#############################################
# font
set $font "pango:Droid Sans Mono for Powerline 10"
set $font "pango:RobotoMono 12"
font $font
# floating modifier
@@ -22,19 +12,16 @@ font $font
set $mod mod4
floating_modifier $mod
# remove window decorations
#new_window pixel
# focus follows mouse
focus_follows_mouse yes
#gaps
gaps inner 13
gaps outer 5
#
##border
###border
new_window pixel 3
# focus follows mouse
focus_follows_mouse yes
#############################################
# Script Section #
@@ -44,25 +31,22 @@ new_window pixel 3
# "xev" and "showkeys" can be usefull to determine the keycodes.
#
# sound softkeys management
bindsym XF86AudioRaiseVolume exec ~/.i3/util/volnotid.sh up
bindsym XF86AudioLowerVolume exec ~/.i3/util/volnotid.sh down
bindsym XF86AudioMute exec ~/.i3/util/volnotid.sh mute
# Sound softkeys management
bindsym Print exec ~/.i3/util/volnotid.sh down
bindsym Scroll_Lock exec ~/.i3/util/volnotid.sh up
bindsym Pause exec ~/.i3/util/volnotid.sh mute
# display brightness management
# Display brightness management
bindsym XF86MonBrightnessUp exec "xbacklight +10"
bindsym XF86MonBrightnessDown exec "xbacklight -10"
# webcam
bindym XF86WebCam exec /bin/cheese
# lenovo Key wifi-menu
# Lenovo Key wifi-menu
bindsym XF86Launch1 exec urxvt -e sh -c "sudo wifi-menu wlp3s0"
# jauth two factor authenticator
bindsym $mod+F1 exec /opt/JAuth/authenticator.sh google
bindsym $mod+F2 exec /opt/JAuth/authenticator.sh facebook
bindsym $mod+F3 exec /opt/JAuth/authenticator.sh dropbox
bindsym $mod+F1 exec ~/.i3/util/authenticator.sh google
bindsym $mod+F2 exec ~/.i3/util/authenticator.sh facebook
bindsym $mod+F3 exec ~/.i3/util/authenticator.sh dropbox
# start dmenu-launcher
bindsym $mod+d exec ~/.i3/util/i3dmenu-wrapper.sh
@@ -188,8 +172,8 @@ mode "resize" {
}
#############################################
# Colors #
#############################################
## Colors #
##############################################
# Darkbrown colorscheme
set $DARKBROWN #402e2e
@@ -198,10 +182,10 @@ set $DARKGREY #1f1f1f
set $DARKRED #9b0e0e
# Solarized colorscheme
set $BACKGROUND #002b36
set $BACKGROUND #20444d
set $FOREGROUND #93a1a1
set $LIGHTGREY #dc322f
set $GREEN #859900
set $GREEN #b0cc54
set $BROWN #b58900
set $BLUE #268bd2
set $VIOLET #6c71c4
@@ -218,11 +202,13 @@ client.background #ffffff
#client.urgent $DARKBROWN $DARKBROWN $LIGHTBROWN $LIGHTBROWN $DARKBROWN
# Solarized colorscheme
# name #border #background #text #indicator #child_border
client.focused $MAGENTA $BACKGROUND $GREEN $GREEN $MAGENTA
client.unfocused $BACKGROUND $BACKGROUND $GREEN $GREEN $BACKGROUND
client.focused_inactive $BACKGROUND $BACKGROUND $GREEN $GREEN $BACKGROUND
client.urgent $BACKGROUND $BACKGROUND $BACKGROUND $GREEN $BACKGROUND
# name #border #background #text #indicator #child_border
client.focused $MAGENTA $BACKGROUND $GREEN $GREEN $MAGENTA
client.unfocused $BACKGROUND $BACKGROUND $GREEN $GREEN $BACKGROUND
client.focused_inactive $BACKGROUND $BACKGROUND $GREEN $GREEN $BACKGROUND
client.urgent $BACKGROUND $BACKGROUND $BACKGROUND $GREEN $BACKGROUND
#############################################
# i3-bar #
@@ -233,22 +219,9 @@ bar {
font $font
i3bar_command /usr/bin/i3bar
status_command i3status -c ~/.i3/i3status.conf
separator_symbol ".::"
# Darkbrown colorscheme
# colors {
# statusline $LIGHTBROWN
# background $DARKGREY
# separator $DARKRED
#
# # name #border #bg #text
# focused_workspace $LIGHTBROWN $DARKBROWN $LIGHTBROWN
# active_workspace $DARKBROWN $DARKBROWN $LIGHTBROWN
# inactive_workspace $DARKBROWN $DARKBROWN $LIGHTBROWN
# urgent_workspace $DARKBROWN $DARKBROWN $LIGHTBROWN
# }
# Solarized colorscheme
separator_symbol "  "
# Solarized colorscheme
colors {
statusline $GREEN
background $BACKGROUND
@@ -259,7 +232,7 @@ bar {
active_workspace $BACKGROUND $BACKGROUND $GREEN
inactive_workspace $BACKGROUND $BACKGROUND $GREEN
urgent_workspace $BACKGROUND $BACKGROUND $GREEN
}
}
}
#############################################
@@ -277,7 +250,6 @@ for_window [class="teamspeak3"] floating enable
for_window [class="rhythmbox"] floating enable
for_window [class="LibreOffice"] floating enable
for_window [class="JAuth"] floating enable
for_window [class="plecs"] floating enable
# 0px Border
for_window [class="chrome"] border none
@@ -290,36 +262,33 @@ for_window [class="URxvt" ] border 1pixel
# auto start with i3 #
#############################################
# terminal daemon
exec --no-startup-id urxvtd -f
# less eye pain
exec --no-startup-id redshift-gtk
exec --no-startup-id compton -cCGb
exec --no-startup-id compton --config ~/.compton.conf
# no beep!
# fucking no beep!
exec --no-startup-id xset b off
# set dpi for my monitor
#exec --no-startup-id xrandr --dpi 81
exec --no-startup-id xrandr --dpi 81
# set mouse accel
#exec --no-startup-id xset m 1/4 1
exec --no-startup-id xset m 1/4 1
# volnoti volume changer
exec --no-startup-id volnoti
# numlock on by default
#exec --no-startup-id numlockx on
exec --no-startup-id numlockx on
# wallpapers
exec --no-startup-id ~/.i3/util/wallpapers.sh
exec --no-startup-id nitrogen --restore
# archlinux update notifier
exec --no-startup-id aarchup
# telegram
exec telegram-desktop
# dropbox daemon
exec dropbox start
# telegram
exec /bin/telegram-desktop