~kiwec/dotfiles

47074f61f9630a87e3d0f3152f1ca3997f56809f — Wolf Clément 2 years ago 097fa16
Update i3 config
M .config/i3/config => .config/i3/config +21 -10
@@ 33,6 33,7 @@ bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5

bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2


@@ 43,14 44,23 @@ bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+r restart
bindsym $mod+Shift+q exec i3-msg exit

bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +1000
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -1000
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioPlay exec --no-startup-id cmus-remote -u
bindsym XF86AudioNext exec --no-startup-id cmus-remote -n
bindsym XF86AudioPrev exec --no-startup-id cmus-remote -r

gaps inner 20
gaps outer 0

workspace $ws5 output DVI-I-0

bar {
        status_command i3status
        status_command ~/.config/i3status/cmus.sh

        colors {
                statusline #ff0000
                statusline #ffffff
                background #000000
                separator  #ffffff



@@ 63,14 73,14 @@ bar {
}

default_border pixel 1
hide_edge_borders both

#                       BORDER  BACKGND TEXT    INDICTR C.BORDR
client.focused          #000000 #000000 #ffffff #cccccc #ff0000
client.focused_inactive #000000 #000000 #ffffff #cccccc #aa0000
client.unfocused        #000000 #000000 #ffffff #cccccc #550000
client.urgent           #000000 #000000 #ffffff #cccccc #ffff00
client.placeholder      #000000 #000000 #ffffff #cccccc #aa0000
hide_edge_borders none

#                       BORDER  BACKGND TEXT    R.BORDR C.BORDR
client.focused          #000000 #000000 #ffffff #ff0000 #ff0000
client.focused_inactive #000000 #000000 #ffffff #aa0000 #aa0000
client.unfocused        #000000 #000000 #ffffff #550000 #550000
client.urgent           #000000 #000000 #ffffff #ffff00 #ffff00
client.placeholder      #000000 #000000 #ffffff #aa0000 #aa0000
client.background       #000000

for_window [window_role="pop-up"] floating enable


@@ 80,5 90,6 @@ for_window [window_role="Preferences"] floating enable
for_window [window_type="dialog"] floating enable
for_window [window_type="menu"] floating enable

exec --no-startup-id xrandr --output DVI-I-0 --right-of HDMI-0
exec_always --no-startup-id feh --bg-fill ~/.config/i3/wallpaper.jpg


A .config/i3status/cmus.sh => .config/i3status/cmus.sh +14 -0
@@ 0,0 1,14 @@
#!/bin/bash

i3status | while :
do
	read line
	artist=$(cmus-remote -Q | grep ' artist ' | cut -d ' ' -f3-)
	title=$(cmus-remote -Q | grep ' title ' | cut -d ' ' -f3-)

	if [ -n "$(cmus-remote -Q | grep "status playing")" ]; then
		echo "$artist - $title  |  $line  " || exit 1
	else
		echo "$line  " || exit 1
	fi
done

M .config/i3status/config => .config/i3status/config +8 -1
@@ 1,14 1,21 @@
general {
        colors = true
        color_good = "#FFFFFF"
        color_degraded = "#FF0000"
        color_degraded = "#FFFFFF"
        color_bad = "#FF0000"
        interval = 5
}

order += "volume master"
order += "ethernet _first_"
order += "path_exists VPN"

volume master {
        format = " vol %volume "
        format_muted = " muted "
        device = "pulse:0"
}

ethernet _first_ {
        format_up = " ethernet ok "
        format_down = " no ethernet "

A .config/nvim/.ycm_extra_conf => .config/nvim/.ycm_extra_conf +4 -0
@@ 0,0 1,4 @@
def Settings( **kwargs ):
	return {
		'flags': ['-x', 'c++', '-Wall', '-Wextra', '-std=c++1z']
	}

M README.md => README.md +2 -1
@@ 10,4 10,5 @@ Netbook de 2016 : 86b69fcd0c8198c85a7c7bc0d05d910a561ba65e

Desktop de 2015 : 0fd8b8a721545e8e20d5b4b7ccc9af224986b6a4

![Desktop de 2015, plus jamais ca](desktop-2015.png)
\ No newline at end of file
![Desktop de 2015, plus jamais ca](desktop-2015.png)