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

i3 Config (scrot) (+2 likes)

sistematico Jul 11, 2017 (wms/i3)

config_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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
set $mod Mod4

font xft:DejaVu Sans Mono 9
#font FontAwesome 9, Droid Sans Mono 9

gaps inner 10
gaps outer 0

#hide_edge_borders both
#new_window none
new_window pixel 2

set $fundo                  #1b1b1b
set $fundo-inativo          #222222
set $texto                  #ffffff
set $texto-inativo          #888888
set $fundo-urgente          #900000
set $indicador              #00ff00
set $separador              #666666
set $borda					#5b6365

# classe                borda               fundo           texto                   indicador               borda_filha
client.focused          $borda				$fundo-inativo  $texto                  $borda					$borda
client.unfocused        $borda				$fundo-inativo  $texto-inativo			$fundo-inativo			$borda
client.focused_inactive $borda				$fundo-inativo  $texto-inativo			$fundo-inativo			$borda
client.urgent           $borda				$fundo-inativo  $fundo-urgente          $fundo-inativo			$borda

floating_modifier $mod

bindsym $mod+Shift+x exec i3lock -i ~/img/lock.png

bindsym Print exec ~/bin/screenshot.sh

#bindsym F5 exec i3-sensible-terminal
bindsym F5 exec app.live termite ~/.config/termite.cfg
bindsym F6 exec thunar
bindsym F7 exec pluma
bindsym F8 exec firefox
bindsym F9 exec telegram
bindsym F11 exec ~/bin/screencast.sh
bindsym F12 exec ~/bin/screencast.sh -s

bindsym XF86AudioRaiseVolume exec amixer -q -D pulse sset Master 1%+ unmute 
bindsym XF86AudioLowerVolume exec amixer -q -D pulse sset Master 1%- unmute 

#bindsym $mod+Shift+e exec "i3-nagbar -t error -m 'O que deseja fazer?' \
#-b 'Sair' 'i3-msg exit' \
#-b 'Suspender' 'systemctl suspend' \
#-b 'Reiniciar' 'systemctl reboot' \
#-b 'Desligar' 'systemctl poweroff'"

bindsym $mod+c exec "i3-nagbar -t warning -m 'Editar arquivos do i3' \
-b 'config' 'i3-sensible-editor ~/.config/i3/config' \
-b 'i3blocks' 'i3-sensible-editor ~/.config/i3/blocks' \
-b 'dunst' 'i3-sensible-editor ~/.config/i3/dunstrc' \
-b 'compton' 'i3-sensible-editor ~/.config/compton.conf' \
-b '.Xresources' 'i3-sensible-editor ~/.Xresources' \
-b '.xinitrc' 'i3-sensible-editor ~/.config/.xinitrc' \
-b '.Xdefaults' 'i3-sensible-editor ~/.config/.Xdefaults'"

bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+d exec dmenu_run
bindsym $mod+Shift+t exec thunar
bindsym $mod+Shift+w exec firefox
bindsym $mod+Shift+m exec thunderbird
bindsym $mod+Shift+i exec ristretto

bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right

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

bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right

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+h split h
bindsym $mod+v split v

bindsym $mod+f fullscreen toggle

bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split

bindsym $mod+Shift+space floating toggle

bindsym $mod+space focus mode_toggle

bindsym $mod+a focus parent
#bindsym $mod+d focus child

bindsym $mod+Shift+q kill

bindsym $mod+Shift+minus move scratchpad
bindsym $mod+minus scratchpad show

set $workspace1 "1 "
set $workspace2 "2 "
set $workspace3 "3 "
set $workspace4 "4 "
set $workspace5 "5 "
set $workspace6 "6 "
set $workspace7 "7 "
set $workspace8 "8 "
set $workspace9 "9 "
set $workspace10 "10 "

# 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 $mod+Shift+1 move container to workspace $workspace1
bindsym $mod+Shift+2 move container to workspace $workspace2
bindsym $mod+Shift+3 move container to workspace $workspace3
bindsym $mod+Shift+4 move container to workspace $workspace4
bindsym $mod+Shift+5 move container to workspace $workspace5
bindsym $mod+Shift+6 move container to workspace $workspace6
bindsym $mod+Shift+7 move container to workspace $workspace7
bindsym $mod+Shift+8 move container to workspace $workspace8
bindsym $mod+Shift+9 move container to workspace $workspace9
bindsym $mod+Shift+0 move container to workspace $workspace10

for_window [title="Biblioteca"] floating enable
for_window [class="^mpv"] floating enable
for_window [class="^Engrampa"] floating enable
for_window [class="Tilda"] floating enable; border 1pixel
for_window [title="^DownThemAll"] floating enable
for_window [title="DownThemAll!$"] move window to scratchpad
for_window [urgent="latest"] focus
for_window [class="^Galculator"] floating enable
for_window [class="^Pavucontrol"] floating enable
for_window [class="^Viewnior"] floating enable
for_window [class="^Agave"] floating enable

assign [class="^Chromium"] $workspace1
assign [class="Firefox"] $workspace1
assign [class="Termite"] $workspace2
assign [class="Pluma"] $workspace3
assign [class="Sublime_text"] $workspace3
assign [class="^Thunar"] $workspace4
assign [class="^Gimp"] $workspace5
assign [class="^Inkscape"] $workspace5
assign [class="^Lxappearance"] $workspace5
assign [class="^Deluge"] $workspace7
assign [class="^Telegram"] $workspace9
assign [class="^Gtkman"] $workspace10

bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart

mode "apps" {
	bindsym c exec --no-startup-id chromium --process-per-site
	bindsym m exec --no-startup-id thunderbird
	bindsym p exec --no-startup-id pluma
	bindsym t exec --no-startup-id thunar
	bindsym g exec --no-startup-id telegram

	bindsym Return mode "default"
	bindsym Escape mode "default"
}
bindsym $mod+Shift+a mode "apps"

mode "[s]air, [d]esligar, [r]einiciar, s[u]spender" {
	bindsym s i3-msg exit
	bindsym u systemctl suspend
	bindsym r systemctl reboot
	bindsym d systemctl poweroff

    bindsym Return mode "default"
    bindsym Escape mode "default"
}
bindsym $mod+Shift+e mode "[s]air, [d]esligar, [r]einiciar, s[u]spender"

mode "resize" {
	bindsym j resize shrink width 10 px or 10 ppt
	bindsym k resize grow height 10 px or 10 ppt
	bindsym l resize shrink height 10 px or 10 ppt
	bindsym semicolon resize grow width 10 px or 10 ppt

	bindsym Left resize shrink width 10 px or 10 ppt
	bindsym Down resize grow height 10 px or 10 ppt
	bindsym Up resize shrink height 10 px or 10 ppt
	bindsym Right resize grow width 10 px or 10 ppt

	bindsym Return mode "default"
	bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"

bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
bindsym --release Num_Lock  exec pkill -SIGRTMIN+11 i3blocks

# Rate do Cursor
exec --no-startup-id xset r rate 300 75 &

# Aceleração do mouse
#"Very Fast"            xset m 7 10 &
#"Normal(Fast)"         xset m 3 10 &
#"System Default"		xset m default &
#"Glacial"              xset m 0 10 &
#
# Veloz: 3/1 0
# Normal: default
# Glacial: 1/3 0 
#exec --no-startup-id xset m default &

#exec_always --no-startup-id feh --bg-fill \"$(shuf -n1 -e ~/img/wallpapers/macos/*)\"
exec_always --no-startup-id hsetroot -solid "#1b1b1b"
exec --no-startup-id numlockx
exec --no-startup-id dunst -config ~/.config/i3/dunstrc
exec --no-startup-id parcellite
#exec --no-startup-id deluge
#exec --no-startup-id pamac-tray
exec --no-startup-id sudo headsetcontrol 32
#exec --no-startup-id compton -b 

bar {
	font xft:FontAwesome 9
	tray_output none	
	status_command i3blocks -v -c ~/.config/i3/blocks
	colors {
		background	$fundo-inativo
		separator	$separador
		#					borda			fundo			texto
		focused_workspace	$borda			$fundo			$texto
		inactive_workspace	$fundo-inativo	$fundo-inativo	$texto-inativo
		urgent_workspace	$fundo-urgente	$fundo-urgente	$texto
    }
}

CLICK TO VIEW

x

config_i3_blocks(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
89
90
91
92
93
command=/usr/lib/i3blocks/$BLOCK_NAME

[focus]
command=~/.config/i3/scripts/focus
interval=2

[mpd]
command=~/.config/i3/scripts/mpd
interval=5

[load_average]
label=
interval=10

[cpu_usage]
label=
interval=10
min_width=100.00%

[mem]
command=~/.config/i3/scripts/mem -m
interval=10

[disk]
command=~/.config/i3/scripts/disk
label=
interval=30

[temperature]
label=
interval=10

[weather]
command=~/.config/i3/scripts/weather
interval=600

[packages]
command=~/.config/i3/scripts/packages
label=
interval=600

[trash]
command=~/.config/i3/scripts/trash
label=
interval=10

[uptime]
command=~/.config/i3/scripts/uptime
label=
interval=60

[date]
label=
command=date '+%d/%m/%y'
interval=300

[time]
label=
command=date '+%H:%M'
interval=5

[volume]
command=~/.config/i3/scripts/volume
label=
instance=Master
interval=5
signal=10

#[netled]
#command=sleep 0.1; ~/.config/i3/scripts/netled
#markup=pango
#interval=repeat

#[leds]
#command=~/.config/i3/scripts/leds
#instance=num
#interval=1

#[note]
#label=
#command=~/.config/i3/scripts/pad
#interval=once

#[keyindicator]
#instance=CAPS
#interval=once
#signal=11

#[keyindicator]
#label=
#instance=NUM
#interval=once
#signal=11
 

x

config_i3_dunstrc(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
 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
[global]
    font = "Monospace 9"
	#transparency = 95
    allow_markup = yes
    format = "<b>%s %p</b>\n%b"
    sort = yes
    indicate_hidden = true
	show_indicators = false
    # geometry = "x5"
    idle_threshold = 0
    geometry = "400x5-20+20"
    alignment = center
    show_age_threshold = 60
    sticky_history = yes
    follow = mouse
    word_wrap = yes
    separator_height = 2
    padding = 10
    horizontal_padding = 10
    separator_color = frame
    startup_notification = false
    dmenu = "/usr/bin/dmenu -p dunst: -nb #FFFFFF -nf #000000 -sb #94DBFF -sf #000000"
    browser = firefox
	# Align icons left/right/off
    icon_position = left
    icon_folders = /usr/share/icons/gnome/24x24/status/:/usr/share/icons/gnome/24x24/devices/

[frame]
    width = 3
    color = "#000000"

[shortcuts]
    close = ctrl+space
    close_all = ctrl+shift+space
    history = ctrl+grave
    context = ctrl+shift+period

[urgency_low]
    background = "#ffffff"
    foreground = "#000000"
    timeout = 5

[urgency_normal]
    background = "#94DBFF"
    foreground = "#000000"
    timeout = 10

[urgency_critical]
    background = "#ff9999"
    foreground = "#000000"
    timeout = 15


[libpurple_signed]
    appname = libpurple
    summary = *igned*
    urgency = low
    timeout = 3
    background = "#ccff33"

[libpurple_came_back]
    appname = libpurple
    summary = "*came*"
    format = ""

[libpurple_went_away]
    appname = libpurple
    summary = "*went*"
    format = ""

[libpurple_says]
    appname = libpurple
    summary = *ays*
    urgency = critical
    background = "#ccff33"

[libpurple]
    appname = libpurple
    urgency = critical
    background = "#ccff33"

[twitter]
    appname = Pidgin
    summary = *twitter.com*
    urgency = low

[turpial]
    appname = Turpial
    urgency = low

[ttytter]
    summary = "TTYtter*"
    urgency = low

[dunst-sum]
    appname = gmailnotify.py
    summary = "*[dD]unst*"
    urgency = critical

[dunst-body]
    appname = gmailnotify.py
    body = "*[dD]unst*"
    urgency = critical

[mcabber]
    appname = notify-send
    summary = "*jabber*"
    urgency = critical

[irc]
    appname = weechat
    timeout = 0
    background = "#99FF33"
    foreground = "#000000"

[XChat]
    appname = XChat
    timeout = 0
    background = "#99FF33"
    foreground = "#000000"

[test]
    summary = "*test*"
    background="#22dd22"
 

x

Notes

Comments

IzacCF said about 2 months ago

Ótimo trabalho, man!
Simples e sóbrio.

sistematico said about 2 months ago

Valeu! É com base nesse trabalho: https://www.youtube.com/watch?v=j1I63wGcvU4

IzacCF said about 2 months ago

Carlberg is great !!!

edited about 6 days ago

vegangaro said about 2 months ago

Krai ficou lindao! hehe