Compare commits
1 Commits
rcm_develo
...
home_deskt
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1fed155d4a |
107
i3wm/config
107
i3wm/config
@@ -1,19 +1,9 @@
|
|||||||
#######################################
|
|
||||||
# _____ ____ #
|
|
||||||
# |_ _||___ \ #
|
|
||||||
# | | __) |__ __ _ __ ___ #
|
|
||||||
# | | |__ < \ \ /\ / /| '_ ` _ \ #
|
|
||||||
# _| |_ ___) | \ V V / | | | | | | #
|
|
||||||
# |_____||____/ \_/\_/ |_| |_| |_| #
|
|
||||||
# #
|
|
||||||
#######################################
|
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
# General configurations #
|
# General configurations #
|
||||||
#############################################
|
#############################################
|
||||||
|
|
||||||
# font
|
# font
|
||||||
set $font "pango:Droid Sans Mono for Powerline 10"
|
set $font "pango:RobotoMono 12"
|
||||||
font $font
|
font $font
|
||||||
|
|
||||||
# floating modifier
|
# floating modifier
|
||||||
@@ -22,19 +12,16 @@ font $font
|
|||||||
set $mod mod4
|
set $mod mod4
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
# remove window decorations
|
|
||||||
#new_window pixel
|
|
||||||
|
|
||||||
# focus follows mouse
|
|
||||||
focus_follows_mouse yes
|
|
||||||
|
|
||||||
#gaps
|
#gaps
|
||||||
gaps inner 13
|
gaps inner 13
|
||||||
gaps outer 5
|
gaps outer 5
|
||||||
#
|
|
||||||
##border
|
###border
|
||||||
new_window pixel 3
|
new_window pixel 3
|
||||||
|
|
||||||
|
# focus follows mouse
|
||||||
|
focus_follows_mouse yes
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
# Script Section #
|
# Script Section #
|
||||||
@@ -44,25 +31,22 @@ new_window pixel 3
|
|||||||
# "xev" and "showkeys" can be usefull to determine the keycodes.
|
# "xev" and "showkeys" can be usefull to determine the keycodes.
|
||||||
#
|
#
|
||||||
|
|
||||||
# sound softkeys management
|
# Sound softkeys management
|
||||||
bindsym XF86AudioRaiseVolume exec ~/.i3/util/volnotid.sh up
|
bindsym Print exec ~/.i3/util/volnotid.sh down
|
||||||
bindsym XF86AudioLowerVolume exec ~/.i3/util/volnotid.sh down
|
bindsym Scroll_Lock exec ~/.i3/util/volnotid.sh up
|
||||||
bindsym XF86AudioMute exec ~/.i3/util/volnotid.sh mute
|
bindsym Pause exec ~/.i3/util/volnotid.sh mute
|
||||||
|
|
||||||
# display brightness management
|
# Display brightness management
|
||||||
bindsym XF86MonBrightnessUp exec "xbacklight +10"
|
bindsym XF86MonBrightnessUp exec "xbacklight +10"
|
||||||
bindsym XF86MonBrightnessDown exec "xbacklight -10"
|
bindsym XF86MonBrightnessDown exec "xbacklight -10"
|
||||||
|
|
||||||
# webcam
|
# Lenovo Key wifi-menu
|
||||||
bindym XF86WebCam exec /bin/cheese
|
|
||||||
|
|
||||||
# lenovo Key wifi-menu
|
|
||||||
bindsym XF86Launch1 exec urxvt -e sh -c "sudo wifi-menu wlp3s0"
|
bindsym XF86Launch1 exec urxvt -e sh -c "sudo wifi-menu wlp3s0"
|
||||||
|
|
||||||
# jauth two factor authenticator
|
# jauth two factor authenticator
|
||||||
bindsym $mod+F1 exec /opt/JAuth/authenticator.sh google
|
bindsym $mod+F1 exec ~/.i3/util/authenticator.sh google
|
||||||
bindsym $mod+F2 exec /opt/JAuth/authenticator.sh facebook
|
bindsym $mod+F2 exec ~/.i3/util/authenticator.sh facebook
|
||||||
bindsym $mod+F3 exec /opt/JAuth/authenticator.sh dropbox
|
bindsym $mod+F3 exec ~/.i3/util/authenticator.sh dropbox
|
||||||
|
|
||||||
# start dmenu-launcher
|
# start dmenu-launcher
|
||||||
bindsym $mod+d exec ~/.i3/util/i3dmenu-wrapper.sh
|
bindsym $mod+d exec ~/.i3/util/i3dmenu-wrapper.sh
|
||||||
@@ -188,8 +172,8 @@ mode "resize" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
# Colors #
|
## Colors #
|
||||||
#############################################
|
##############################################
|
||||||
|
|
||||||
# Darkbrown colorscheme
|
# Darkbrown colorscheme
|
||||||
set $DARKBROWN #402e2e
|
set $DARKBROWN #402e2e
|
||||||
@@ -198,10 +182,10 @@ set $DARKGREY #1f1f1f
|
|||||||
set $DARKRED #9b0e0e
|
set $DARKRED #9b0e0e
|
||||||
|
|
||||||
# Solarized colorscheme
|
# Solarized colorscheme
|
||||||
set $BACKGROUND #002b36
|
set $BACKGROUND #20444d
|
||||||
set $FOREGROUND #93a1a1
|
set $FOREGROUND #93a1a1
|
||||||
set $LIGHTGREY #dc322f
|
set $LIGHTGREY #dc322f
|
||||||
set $GREEN #859900
|
set $GREEN #b0cc54
|
||||||
set $BROWN #b58900
|
set $BROWN #b58900
|
||||||
set $BLUE #268bd2
|
set $BLUE #268bd2
|
||||||
set $VIOLET #6c71c4
|
set $VIOLET #6c71c4
|
||||||
@@ -218,11 +202,13 @@ client.background #ffffff
|
|||||||
#client.urgent $DARKBROWN $DARKBROWN $LIGHTBROWN $LIGHTBROWN $DARKBROWN
|
#client.urgent $DARKBROWN $DARKBROWN $LIGHTBROWN $LIGHTBROWN $DARKBROWN
|
||||||
|
|
||||||
# Solarized colorscheme
|
# Solarized colorscheme
|
||||||
# name #border #background #text #indicator #child_border
|
# name #border #background #text #indicator #child_border
|
||||||
client.focused $MAGENTA $BACKGROUND $GREEN $GREEN $MAGENTA
|
client.focused $MAGENTA $BACKGROUND $GREEN $GREEN $MAGENTA
|
||||||
client.unfocused $BACKGROUND $BACKGROUND $GREEN $GREEN $BACKGROUND
|
client.unfocused $BACKGROUND $BACKGROUND $GREEN $GREEN $BACKGROUND
|
||||||
client.focused_inactive $BACKGROUND $BACKGROUND $GREEN $GREEN $BACKGROUND
|
client.focused_inactive $BACKGROUND $BACKGROUND $GREEN $GREEN $BACKGROUND
|
||||||
client.urgent $BACKGROUND $BACKGROUND $BACKGROUND $GREEN $BACKGROUND
|
client.urgent $BACKGROUND $BACKGROUND $BACKGROUND $GREEN $BACKGROUND
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
# i3-bar #
|
# i3-bar #
|
||||||
@@ -233,22 +219,9 @@ bar {
|
|||||||
font $font
|
font $font
|
||||||
i3bar_command /usr/bin/i3bar
|
i3bar_command /usr/bin/i3bar
|
||||||
status_command i3status -c ~/.i3/i3status.conf
|
status_command i3status -c ~/.i3/i3status.conf
|
||||||
separator_symbol ".::"
|
separator_symbol " "
|
||||||
|
|
||||||
# Darkbrown colorscheme
|
# Solarized 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
|
|
||||||
colors {
|
colors {
|
||||||
statusline $GREEN
|
statusline $GREEN
|
||||||
background $BACKGROUND
|
background $BACKGROUND
|
||||||
@@ -259,7 +232,7 @@ bar {
|
|||||||
active_workspace $BACKGROUND $BACKGROUND $GREEN
|
active_workspace $BACKGROUND $BACKGROUND $GREEN
|
||||||
inactive_workspace $BACKGROUND $BACKGROUND $GREEN
|
inactive_workspace $BACKGROUND $BACKGROUND $GREEN
|
||||||
urgent_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="rhythmbox"] floating enable
|
||||||
for_window [class="LibreOffice"] floating enable
|
for_window [class="LibreOffice"] floating enable
|
||||||
for_window [class="JAuth"] floating enable
|
for_window [class="JAuth"] floating enable
|
||||||
for_window [class="plecs"] floating enable
|
|
||||||
|
|
||||||
# 0px Border
|
# 0px Border
|
||||||
for_window [class="chrome"] border none
|
for_window [class="chrome"] border none
|
||||||
@@ -290,36 +262,33 @@ for_window [class="URxvt" ] border 1pixel
|
|||||||
# auto start with i3 #
|
# auto start with i3 #
|
||||||
#############################################
|
#############################################
|
||||||
|
|
||||||
# terminal daemon
|
|
||||||
exec --no-startup-id urxvtd -f
|
|
||||||
|
|
||||||
# less eye pain
|
# less eye pain
|
||||||
exec --no-startup-id redshift-gtk
|
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
|
exec --no-startup-id xset b off
|
||||||
|
|
||||||
# set dpi for my monitor
|
# set dpi for my monitor
|
||||||
#exec --no-startup-id xrandr --dpi 81
|
exec --no-startup-id xrandr --dpi 81
|
||||||
|
|
||||||
# set mouse accel
|
# set mouse accel
|
||||||
#exec --no-startup-id xset m 1/4 1
|
exec --no-startup-id xset m 1/4 1
|
||||||
|
|
||||||
# volnoti volume changer
|
# volnoti volume changer
|
||||||
exec --no-startup-id volnoti
|
exec --no-startup-id volnoti
|
||||||
|
|
||||||
# numlock on by default
|
# numlock on by default
|
||||||
#exec --no-startup-id numlockx on
|
exec --no-startup-id numlockx on
|
||||||
|
|
||||||
# wallpapers
|
# wallpapers
|
||||||
exec --no-startup-id ~/.i3/util/wallpapers.sh
|
exec --no-startup-id nitrogen --restore
|
||||||
|
|
||||||
# archlinux update notifier
|
# archlinux update notifier
|
||||||
exec --no-startup-id aarchup
|
exec --no-startup-id aarchup
|
||||||
|
|
||||||
# telegram
|
|
||||||
exec telegram-desktop
|
|
||||||
|
|
||||||
# dropbox daemon
|
# dropbox daemon
|
||||||
exec dropbox start
|
exec dropbox start
|
||||||
|
|
||||||
|
# telegram
|
||||||
|
exec /bin/telegram-desktop
|
||||||
|
|||||||
@@ -1,18 +1,9 @@
|
|||||||
########################################
|
|
||||||
# _ ____ _ _ #
|
|
||||||
# (_)___ \ | | | | #
|
|
||||||
# _ __) |___| |_ __ _| |_ _ _ ___ #
|
|
||||||
# | ||__ </ __| __/ _` | __| | | / __| #
|
|
||||||
# | |___) \__ \ || (_| | |_| |_| \__ \ #
|
|
||||||
# |_|____/|___/\__\__,_|\__|\__,_|___/ #
|
|
||||||
# #
|
|
||||||
########################################
|
|
||||||
#
|
|
||||||
# i3status configuration file.
|
# i3status configuration file.
|
||||||
# see "man i3status" for documentation.
|
# see "man i3status" for documentation.
|
||||||
#
|
|
||||||
# It is important that this file is edited as UTF-8.
|
# It is important that this file is edited as UTF-8.
|
||||||
# The following line should contain a sharp s: ß
|
# The following line should contain a sharp s:
|
||||||
|
# ß
|
||||||
# If the above line is not correctly displayed, fix your editor first!
|
# If the above line is not correctly displayed, fix your editor first!
|
||||||
|
|
||||||
general {
|
general {
|
||||||
@@ -20,35 +11,24 @@ general {
|
|||||||
interval = 1
|
interval = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
order += "battery 0"
|
#order += "ipv6"
|
||||||
order += "disk /home"
|
order += "disk /home"
|
||||||
order += "disk /"
|
order += "disk /"
|
||||||
|
order += "disk /media/Data1"
|
||||||
|
order += "disk /media/Data2"
|
||||||
order += "run_watch VPN"
|
order += "run_watch VPN"
|
||||||
order += "wireless wlp3s0"
|
order += "ethernet eth0"
|
||||||
order += "cpu_temperature 0"
|
order += "cpu_temperature 0"
|
||||||
order += "volume master"
|
order += "volume master"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
|
|
||||||
wireless wlp3s0 {
|
ethernet eth0 {
|
||||||
format_up = "📡 (%quality @ %essid, %bitrate) %ip"
|
|
||||||
format_down = "📡 down"
|
|
||||||
}
|
|
||||||
|
|
||||||
ethernet enp0s25 {
|
|
||||||
format_up = "🔌 %ip (%speed)"
|
format_up = "🔌 %ip (%speed)"
|
||||||
format_down = "🔌 down"
|
format_down = "🔌 down"
|
||||||
}
|
}
|
||||||
|
|
||||||
battery 0 {
|
run_watch DHCP {
|
||||||
format = "%status %percentage (%remaining @ %consumption)"
|
pidfile = "/var/run/dhclient*.pid"
|
||||||
format_down = "No battery"
|
|
||||||
last_full_capacity = false # true: relative capaciy, false: true capacity left
|
|
||||||
status_chr = "⚇ CHR"
|
|
||||||
status_bat = "⚡ BAT"
|
|
||||||
status_full = "☻ FULL"
|
|
||||||
path = "/sys/class/power_supply/BAT%d/uevent"
|
|
||||||
threshold_type = time
|
|
||||||
low_threshold = 10
|
|
||||||
}
|
}
|
||||||
|
|
||||||
run_watch VPN {
|
run_watch VPN {
|
||||||
@@ -61,18 +41,24 @@ tztime local {
|
|||||||
|
|
||||||
cpu_temperature 0 {
|
cpu_temperature 0 {
|
||||||
format = "🌡 %degrees °C"
|
format = "🌡 %degrees °C"
|
||||||
max_threshold = 70
|
max_threshold = 65
|
||||||
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input"
|
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input"
|
||||||
}
|
|
||||||
|
|
||||||
disk "/home" {
|
|
||||||
format = "/home %free"
|
|
||||||
prefix_type = "binary"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
disk "/" {
|
disk "/" {
|
||||||
format = "root %free"
|
format = "root: %free"
|
||||||
prefix_type = "binary"
|
}
|
||||||
|
|
||||||
|
disk "/home" {
|
||||||
|
format = "home: %free"
|
||||||
|
}
|
||||||
|
|
||||||
|
disk "/media/Data1" {
|
||||||
|
format = "data1: %free"
|
||||||
|
}
|
||||||
|
|
||||||
|
disk "/media/Data2" {
|
||||||
|
format = "data2: %free"
|
||||||
}
|
}
|
||||||
|
|
||||||
volume master {
|
volume master {
|
||||||
|
|||||||
@@ -18,9 +18,9 @@
|
|||||||
# yaourt -S jauth-git
|
# yaourt -S jauth-git
|
||||||
#
|
#
|
||||||
|
|
||||||
SECRET_GOOGLE="asdf"
|
SECRET_GOOGLE="There"
|
||||||
SECRET_FACEBOOK="asdf"
|
SECRET_FACEBOOK="IsJust"
|
||||||
SECRET_DROPBOX="asdf"
|
SECRET_DROPBOX="NoWayImUploadingThisToGit"
|
||||||
|
|
||||||
ARG="${1}"
|
ARG="${1}"
|
||||||
|
|
||||||
|
|||||||
13
setup.sh
13
setup.sh
@@ -36,9 +36,7 @@ BAKFILES=".i3
|
|||||||
.zshrc
|
.zshrc
|
||||||
.tmux.conf
|
.tmux.conf
|
||||||
.vimrc
|
.vimrc
|
||||||
.Xdefaults
|
.Xdefaults"
|
||||||
.ncmpcpp/config
|
|
||||||
.mpd/mpd.conf"
|
|
||||||
|
|
||||||
BAKFOLD="$HOME/.dotfilebackup"
|
BAKFOLD="$HOME/.dotfilebackup"
|
||||||
|
|
||||||
@@ -61,9 +59,8 @@ if [ "$1" == "clean" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone the repository if it doesn't exist
|
# Clone the repository if it doesn't exist
|
||||||
if [ ! -e $DOTFILES ]; then
|
if [ ! -e "$HOME/.dotfiles/" ]; then
|
||||||
git clone https://github.com/id101010/LinuxDotFiles.git $DOTFILES
|
git clone https://github.com/id101010/LinuxDotFiles.git $DOTFILES
|
||||||
rm -rf $DOTFILES/.git
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ------------------------------------------------ Setup I3wm
|
# ------------------------------------------------ Setup I3wm
|
||||||
@@ -83,9 +80,3 @@ ln -sfv $DOTFILES/urxvt/Xdefaults $HOME/.Xdefaults
|
|||||||
|
|
||||||
# ------------------------------------------------ Setup wallpapers
|
# ------------------------------------------------ Setup wallpapers
|
||||||
ln -sfv $DOTFILES/wallpapers/ $HOME/.wallpapers
|
ln -sfv $DOTFILES/wallpapers/ $HOME/.wallpapers
|
||||||
|
|
||||||
# ------------------------------------------------ Setup mpd
|
|
||||||
ln -sfv $DOTFILES/mpd/ $HOME/.mpd
|
|
||||||
|
|
||||||
# ------------------------------------------------ Setup ncmpcpp
|
|
||||||
ln -sfv $DOTFILES/ncmpcpp/ $HOME/.ncmpcpp
|
|
||||||
|
|||||||
@@ -8,9 +8,12 @@
|
|||||||
# #
|
# #
|
||||||
################################
|
################################
|
||||||
|
|
||||||
|
Xcursor.theme: adwaita
|
||||||
|
Xcursor.size: 16
|
||||||
|
|
||||||
# Real transparency -> needs composite manager
|
# Real transparency -> needs composite manager
|
||||||
URxvt.depth: 32
|
URxvt.depth: 32
|
||||||
URxvt.background: rgba:0000/0000/0200/cfff
|
URxvt.background: rgba:0000/0000/0200/afff
|
||||||
|
|
||||||
# Fake transparency
|
# Fake transparency
|
||||||
#URxvt.transparent: true
|
#URxvt.transparent: true
|
||||||
|
|||||||
BIN
wallpapers/solarized5.png
Normal file
BIN
wallpapers/solarized5.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
BIN
wallpapers/solarized6.png
Normal file
BIN
wallpapers/solarized6.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
BIN
wallpapers/solarized7.png
Normal file
BIN
wallpapers/solarized7.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
@@ -120,3 +120,4 @@ setopt pushdminus
|
|||||||
setopt nohashdirs
|
setopt nohashdirs
|
||||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
rehash
|
rehash
|
||||||
|
source ~/Coding/0_C/Microcontroller/zephyr-project/zephyr-env.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user