Merge branch 'master' of github.com:Chostakovitch/dotfiles

master
Quentin Duchemin 2019-01-22 22:53:55 +01:00
commit b35ed699f9
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
5 changed files with 21 additions and 7 deletions

8
.Xresources 100644
View File

@ -0,0 +1,8 @@
Xft.dpi: 170
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb

View File

@ -171,10 +171,11 @@ smart_gaps on
# Set mouse acceleration # Set mouse acceleration
exec_always --no-startup-id xinput set-prop 'FocalTechPS/2 FocalTech Touchpad' 'libinput Accel Speed' 0.8 exec_always --no-startup-id xinput set-prop 'FocalTechPS/2 FocalTech Touchpad' 'libinput Accel Speed' 0.8
exec_always --no-startup-id xinput set-prop 'Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)' 'libinput Accel Speed' 0.8
# ALSA key binding (media keys do not even have keycode...) # ALSA key binding (media keys do not even have keycode...)
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D hw:PCH -M sset Master 5%+ bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D hw:PCH -M sset Master 5%+
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -D hw:PCH -M sset Master 5%- bindsym XF86AudioLowerVolume exec --no-startup-id aimxer -D hw:PCH -M sset Master 5%-
bindsym XF86AudioMute exec --no-startup-id amixer -D hw:PCH -M sset 'Master' toggle bindsym XF86AudioMute exec --no-startup-id amixer -D hw:PCH -M sset 'Master' toggle
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
bindsym XF86AudioPrev exec --no-startup-ip playerctl prev bindsym XF86AudioPrev exec --no-startup-ip playerctl prev

View File

@ -131,7 +131,7 @@ index-sort = true
ws-icon-0 = 2; ws-icon-0 = 2;
ws-icon-1 = 1; ws-icon-1 = 1;
ws-icon-2 = 3; ws-icon-2 = 3;
ws-icon-3 = 4;rm ws-icon-3 = 4;
ws-icon-4 = irssi; ws-icon-4 = irssi;
ws-icon-default =  ws-icon-default = 

View File

@ -7,7 +7,9 @@ if type "xrandr"; then
monitors=$(xrandr --query | grep " connected" | cut -d" " -f1) monitors=$(xrandr --query | grep " connected" | cut -d" " -f1)
monarray=($monitors) monarray=($monitors)
for name in ${names[@]}; do for name in ${names[@]}; do
MONITOR=${monarray[0]} polybar -q --reload ${name} & for mon in ${monarray[@]}; do
MONITOR=${mon} polybar -q --reload ${name} &
done
done done
else else
polybar --reload ${name} & polybar --reload ${name} &

3
.xinitrc 100755
View File

@ -0,0 +1,3 @@
xrandr --output eDP-1 --auto --output HDMI-2 --auto --scale 2x2 --above eDP-1
xrdb -merge ~/.Xresources
exec i3