guest@dotshare [~/groups/wms/i3] $ ls my-simplei3/ | cat

my-simple_i3 (scrot) (+2 likes)

zxary May 02, 2017 (wms/i3)

config(raw, dl)

SCROT

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
set $mod Mod4
font pango:monospace 8, FontAwesome 8
floating_modifier $mod
bindsym $mod+Return exec urxvt

### borders style ###
new_window normal 0 px
new_float normal 0 px
for_window [class="^.*"] border pixel 0


### border color ###
client.background       #3f4551
client.focused          #708EA0 #668AA0 #85AEC6


### launcher dmenu ###
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop



bar 
{
	font pango:FontAwesome 8
	separator_symbol " "
	position top
	status_command i3status -c ~/.config/i3/i3status.conf

	colors 
	{
		background #2F333E
		statusline #708EA0
		separator #708EA0

		focused_workspace #000000 #3F4551 #ffffff
		inactive_workspace #333333 #222222 #888888
		urgent_workspace #aa0000 #990000 #ffffff
	}

}

# resize window (you can also use the mouse for that)
mode "resize" {
        # These bindings trigger as soon as you enter the resize mode

        # Pressing left will shrink the window’s width.
        # Pressing right will grow the window’s width.
        # Pressing up will shrink the window’s height.
        # Pressing down will grow the window’s height.
        bindsym j resize shrink width 5 px or 5 ppt
        bindsym k resize grow height 5 px or 5 ppt
        bindsym l resize shrink height 5 px or 5 ppt
        bindsym m resize grow width 5 px or 5 ppt

        # same bindings, but for the arrow keys
        bindsym Left resize shrink width 5 px or 5 ppt
        bindsym Down resize grow height 5 px or 5 ppt
        bindsym Up resize shrink height 5 px or 5 ppt
        bindsym Right resize grow width 5 px or 5 ppt

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
}

bindsym $mod+r mode "resize"




### set workspace variable ###
set $workspace1   ""
set $workspace2   ""
set $workspace3   ""
set $workspace4   ""
set $workspace5   ""
set $workspace6   ""
set $workspace7   ""
set $workspace8   ""
set $workspace9   ""
set $workspace10   ""


### switch to workspace ###
bindsym $mod+1 workspace $workspace1
bindsym $mod+2 workspace $workspace2
bindsym $mod+3 workspace $workspace3
bindsym $mod+4 workspace $workspace4
bindsym $mod+5 workspace $workspace5
bindsym $mod+6 workspace $workspace6
bindsym $mod+7 workspace $workspace7
bindsym $mod+8 workspace $workspace8
bindsym $mod+9 workspace $workspace9
bindsym $mod+0 workspace $workspace10

### move focused container to workspace ###
bindsym Mod1+1 move container to workspace $workspace1
bindsym Mod1+2 move container to workspace $workspace2
bindsym Mod1+3 move container to workspace $workspace3
bindsym Mod1+4 move container to workspace $workspace4
bindsym Mod1+5 move container to workspace $workspace5
bindsym Mod1+6 move container to workspace $workspace6
bindsym Mod1+7 move container to workspace $workspace7
bindsym Mod1+8 move container to workspace $workspace8
bindsym Mod1+9 move container to workspace $workspace9
bindsym Mod1+0 move container to workspace $workspace10

### floating window ###
for_window [class="chromium"] enable border pixel 1
for_window [class="URxvt"] floating enable border pixel 4
for_window [class="Vlc"] floating enable border pixel 4
for_window [class="XTerm"] floating enable border pixel 4

bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

bindsym $mod+space focus mode_toggle

bindsym $mod+F1 exec lxappearance
bindsym $mod+F5 exec --no-startup-id xbacklight -dec 10
bindsym $mod+F6 exec --no-startup-id xbacklight -inc 10

bindsym $mod+a focus parent
bindsym $mod+c exec chromium
bindsym $mod+e layout toggle split
bindsym $mod+f exec thunar
bindsym $mod+g exec gedit
bindsym $mod+h split h
bindsym $mod+n exec nautilus
bindsym $mod+q kill
#bindsym $mod+r mode "resize"
bindsym $mod+s exec subl3
bindsym $mod+t exec xterm
bindsym $mod+v split v
bindsym $mod+w layout tabbed

bindsym $mod+shift+Left move left
bindsym $mod+shift+Down move down
bindsym $mod+shift+Up move up
bindsym $mod+shift+Right move right

bindsym $mod+shift+space floating toggle

#bindsym $mod+shift+e exec i3-msg exit
bindsym $mod+shift+q kill
bindsym $mod+shift+r restart
bindsym $mod+shift+s layout stacking
bindsym $mod+shift+x exec i3locks


### out system ###

set $Locker i3lock && sleep 1
set $mode_system System:   L :  | S :  | P :  | R :  | E :

mode "$mode_system" {
    bindsym l exec --no-startup-id i3lock-fancy, mode "default"
    bindsym s exec --no-startup-id $Lock systemctl suspend, mode "default
    bindsym p exec --no-startup-id systemctl poweroff -i, mode "default"
    bindsym r exec --no-startup-id systemctl reboot, mode "default"
    bindsym e exec --no-startup-id i3-msg exit, mode "default"

#   back to normal: Enter or Escape
    bindsym Return mode "default"
    bindsym Escape mode "default"
}
bindsym $mod+x mode "$mode_system"


### volume ###
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle

#bindsym XF86AudioRaiseVolume exec amixer -q set Master 2dB+ unmute
#bindsym XF86AudioLowerVolume exec amixer -q set Master 2dB- unmute
#bindsym XF86AudioMute exec amixer -q set Master toggle


### startup ###

#exec_always --no-startup-id compton --config ~/.config/compton/compton.conf -b
#exec --no-startup-id nm-applet
exec --no-startup-id feh --bg-scale /home/username/Pictures/line.jpg
exec --no-startup-id mpd
exec --no-startup-id albert
exec --no-startup-id dmenu --daemon

#assign [class="Rhythmbox"] $w0

for_window [class="Eog"] floating enable
for_window [class="Lxappearance"] floating enable

CLICK TO VIEW

x

i3status.conf(raw, dl)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# i3status configuration file.
# see "man i3status" for documentation.

# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!

general 
{
    colors = false
}

order += "wireless _first_"
order += "ethernet _first_"
order += "disk /"
order += "battery 0"
order += "tztime local"
order += "volume master"

volume master
{
	format = " %volume"
	format_muted = " %volume"
	device = "pulse:0"
}

wireless _first_ 
{
	format_up = "  %essid "
    format_down = ""
}

ethernet _first_ 
{
	# if you use %speed, i3status requires root privileges
	format_up = " %bitrate "
	format_down = ""
}

battery 0 
{
	integer_battery_capacity = true
	last_full_capacity = true
	status_chr = ""
	status_bat = ""
	status_unk = ""
	status_full = ""
	threshold_type = "percentage"
	low_threshold = "15"
	format = "%status %percentage"
}

tztime local 
{
	#format = " %H:%M   %m/%d/%Y"
	#format = " %H:%M   %A, %b %d, %Y"
	format = "  %H:%M "
}
 

x

.Xresources(raw, dl)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
!- Font Render
Xft.dpi:96
Xft.antialiasing:true
Xft.rgba:rgb
Xft.hinting:true
Xft.lcdfilter:lcddefault

*.cursorColor: #ebac54

URxvt.borderColor:          #1B1D1E
URxvt.borderless:           true
URxvt.internalBorder: 5

URxvt.underlineColor:       #333333
URxvt.highlightColor:       #6eddba
URxvt.highlightTextColor:   #353535

URxvt.scrollstyle:plain
URxvt.scrollBar:false
URxvt.scrollTtyOutput:false
URxvt.scrollWithBuffer:true
URxvt.scrollTtyKeypress:true

URxvt.cursorBlink:          true
URxvt.cursorUnderline:      false
URxvt.depth:31

!- Perl Extension
URxvt.perl-ext-common:default,matcher,url-select,clipboard
URxvt.url-launcher: chromium
URxvt.matcher.button:1

!- Copy/paste
URxvt.iso14755: False
URxvt.keysym.Shift-Alt-C: perl:clipboard:copy
URxvt.keysym.Shift-Alt-V: perl:clipboard:paste

URxvt.underlineURLs:        true
URxvt.font.xft.FontAwesome\-g:size=8
#URxvt.font:xft:Inconsolata\-g:size=8
URxvt.transparent:false
URxvt.shading:30
URxvt.geometry:85x22

!-Urgent Terminal for Notification
URxvt*urgentOnBell: true
URxvt*visualBell:   false

	!colors bitches

URxvt.background: #282f39
URxvt.foreground: #5C6D84

URxvt.colorBD:    #CFCFCF
URxvt.colorUL:    #A0A0A0
URxvt.colorIT:    #686868

!BLK
URxvt.color0:     #303030
URxvt.color8:     #686868

!RED
URxvt.color9:     #F28080
URxvt.color1:     #E26C6C

!GRN
URxvt.color10:    #A3D572
URxvt.color2:     #6D9E3F

!BLU
URxvt.color12:    #98CBFE
URxvt.color4:     #6095C5

!YEL
URxvt.color11:    #EFBD8B
URxvt.color3:     #B58858

!CYN
URxvt.color14:    #75DAA9
URxvt.color6:     #3BA275

!MAG
URxvt.color13:    #E5B0FF
URxvt.color5:     #AC7BDE

!WHT
URxvt.color7:     #AAAAAA
URxvt.color15:    #C1C1C1
 

x

ncmpcpp(raw, dl)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
egrep -v '^#' .ncmpcpp/config
mpd_music_dir = "/home/username/Music/"

mpd_crossfade_time = "3"
mpd_host = "127.0.0.1"
mpd_port = "6601"

visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "my_fifo"
visualizer_sync_interval = "30" 
visualizer_in_stereo = "no"
visualizer_type = "spectrum" (spectrum/wave)
visualizer_look = "▋▋"
visualizer_color = "blue"


main_window_highlight_color = "white"

progressbar_look = "—▬—"
progressbar_color = "white"
progressbar_elapsed_color = "blue"

song_list_format = " $5%a $2•  $8%t"
#song_list_format = "$1• $8%t $1by $2%a$2 $R$1%l"
#song_list_format = "$8 %t $R$8"
song_status_format = " $6%a  $7%t  $5%b "


#now_playing_prefix = "$b$8»$2»$4»$3» "
now_playing_prefix = "$b$2> "
now_playing_suffix = "$8$/b"

song_columns_list_format = "(8f)[black]{l}  (32)[red]{a} (42)[yellow]{t|f} (18)[magenta]{b}"
## song_columns_list_format = "(5)[]{} (22)[red]{a} (20)[white]{t|f} (49)[blue]{b} (4)[red]{l}"

color1 = "white"
color2 = "black"

mouse_support = "yes"
header_visibility = "no"
statusbar_visibility = "yes"
playlist_display_mode = "classic" (classic/columns)
autocenter_mode = "yes"
titles_visibility = "no"
enable_window_title = "no"
 

x

Notes

wallpaper : https://goo.gl/QINJPo
neofetch pic : https://goo.gl/Hbt2r2

file dir

i3config
~/.config/i3/config

i3status
~/.config/i3/i3status.conf

urxvt config
~/.Xresources

ncmpcpp
~/.ncmpcpp/config