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

i3-gaps 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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
set $mod Mod4
gaps inner 10
hide_edge_borders both
force_display_urgency_hint 0
workspace_auto_back_and_forth yes
new_window pixel 3
#font pango:DejaVu Sans Mono 8
font pango:Cantarell 8, Siji 10

#100%: FF - 95%: F2 - 90%: E6 - 85%: D9 - 80%: CC - 75%: BF - 70%: B3 - 65%: A6 - 60%: 99 - 55%: 8C - 50%: 80 - 45%: 73 - 40%: 66 - 35%: 59 - 30%: 4D - 25%: 40 - 20%: 33 - 15%: 26 - 10%: 1A - 5%: 0D - 0%: 00

# Nord
set $branco1				#d8dee9
set $branco2				#e5e9f0
set $branco3				#eceff4
set $cinza1					#2e3440
set $cinza2					#3b4252
set $cinza3					#434c5e
set $cinza4					#4c566a
set $verde					#8fbcbb
set $verde2					#a3be8c
set $azul					#88c0d0
set $azul2					#81a1c1
set $azul3					#5e81ac
set $vermelho				#bf616a
set $laranja				#d08770
set $amarelo				#ebcb8b
set $roxo					#b48ead

set $branco                 #ffffff
set $preto					#000000
set $cinza					#8c8b8b
set $fundo                  #1b1b1b
set $fundo-inativo          #222222
set $texto                  #ffffff
set $texto-ativo            #3465a4
set $texto-inativo          #888888
set $texto-urgente          #cc5252
set $fundo-urgente          #900000
set $indicador              #00ff00
set $separador              #666666
set $borda					#5b6365
set $semitransparente		#00000073
set $transparente			#00000000

#                       BORDER      BACKGROUND  TEXT        INDICATOR   CHILD_BORDER
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  $texto-urgente          $fundo-inativo			$borda

floating_modifier $mod

bindsym $mod+Return exec i3-sensible-terminal

bindsym $mod+Shift+q kill
bindsym $mod+q kill

bindsym $mod+d exec --no-startup-id exec rofi -sidebar-mode -lines 0 -theme ~/.local/share/rofi/themes/sistematico.rasi -show drun -bw 4 -eh 1 -opacity "80" -lines 8 -line-margin 4 -width 20 -padding 16
bindsym $mod+g exec --no-startup-id echo "" | rofi -theme ~/.local/share/rofi/themes/sistematico-dark.rasi -dmenu -p "Google: " -bw 0 -lines 1 -separator-style none -location 0 -width 250 -hide-scrollbar -padding 5 | xargs -I{} xdg-open https://www.google.com.br/search?q={}
bindsym $mod+Shift+g exec --no-startup-id echo "" | rofi -theme ~/.local/share/rofi/themes/sistematico-dark.rasi -dmenu -p "DuckDuckGo: " -bw 0 -lines 1 -separator-style none -location 0 -width 250 -hide-scrollbar -padding 5 | xargs -I{} xdg-open https://duckduckgo.com/?q={}
bindsym --release Mod1+g exec --no-startup-id exec ~/.config/rofi/scripts/git
bindsym $mod+Shift+x exec i3lock-fancy -f "Iosevka-Thin" -t "Arch Linux" -p -g -- scrot -z | amixer -q -D pulse sset Master mute

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

bindsym Print exec --no-startup-id ~/bin/screenshot.sh
bindsym Control+Print exec --no-startup-id ~/bin/screenshot.sh -w
bindsym --release Mod1+Sys_Req exec --no-startup-id ~/bin/screenshot.sh -s
bindsym $mod+Print exec --no-startup-id ~/bin/screenshot.sh -d
bindsym $mod+Shift+Print exec --no-startup-id ~/bin/screenshot.sh -g

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+Shift+c move position center

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+Shift+a focus parent
bindsym $mod+Shift+d focus child

# Icones:             
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:  "

# Alt+TAB & Alt+Shift+TAB	
bindsym Mod1+Tab workspace next
bindsym Mod1+Shift+Tab workspace prev

# 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

# move to workspaces
bindsym $mod+Control+Right workspace next
bindsym $mod+Control+Left workspace prev

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

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

#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"

for_window [urgent="latest"] focus

# move [absolute] position <pos_x> [px] <pos_y> [px]
# 1920 x 1080
# move position center

for_window [window_role="pop-up"] floating enable, move position center
for_window [window_role="bubble"] floating enable, move position center
for_window [window_role="task_dialog"] floating enable, move position center
for_window [window_role="Preferences"] floating enable, move position center

for_window [window_type="dialog"] floating enable, move position center
for_window [window_type="menu"] floating enable, move position center

for_window [class="(mpv|Catfish|Engrampa|File-roller|Notes|Agave|Viewnior|Pavucontrol|Galculator)"] floating enable, move position center
for_window [class="Lxtask" title="Gerenciador de tarefas"] floating enable, resize set 800 px 600 px, move position center
for_window [class="^VirtualBox" title="*Executando*"] floating enable
for_window [class="^etcher-electron"] floating enable
for_window [class="^Skype"] floating enable
for_window [title="^Governo do Estado de Mato Grosso do Sul"] floating enable
for_window [title="^Mail do iCloud - Enc"] floating enable
for_window [title="Filtros de mensagens"] floating enable
for_window [title="Preferências do Thunderbird"] floating enable
for_window [title="Biblioteca"] floating enable, move position center
for_window [title="Library"] floating enable, move position center
for_window [title="^DownThemAll"] floating enable
for_window [title="DownThemAll!$"] move window to scratchpad
for_window [title="Mail do iCloud - Chromium"] floating enable, move position center
for_window [title="i3 Wallpaper"] floating enable, move position center
for_window [title="About Mozilla Firefox"] floating enable, move position center
for_window [title="Sobre o Mozilla Firefox"] floating enable, move position center
for_window [title="Lista de amigos"] floating enable, move absolute position 1667 px 0 px, resize set 250 px 400 px

assign [class="^(Chromium|Firefox|firefox-developer)"] $workspace1
assign [class="(Termite|Tilix)"] $workspace2
assign [class="(Pluma|Sublime_text|Atom)"] $workspace3
assign [class="^Thunar"] $workspace4
assign [class="^Gimp"] $workspace5
assign [class="^Inkscape"] $workspace5
assign [class="^Lxappearance"] $workspace5
assign [class="^Deadbeef"] $workspace6
assign [class="^Gmpc"] $workspace6
assign [class="^Deluge"] $workspace7
assign [class="^Thunderbird"] $workspace8
assign [class="^Telegram"] $workspace9
assign [class="^Whatsie"] $workspace9
assign [class="^Hexchat"] $workspace9
assign [class="^Gtkman"] $workspace10
assign [class="^Mate-disk-usage-analyzer"] $workspace10
#assign [class="^Pamac-updater"] $workspace10
#assign [class="^Pamac-manager"] $workspace10
assign [class="(^Pamac*|Notes|Lxtask)"] $workspace10

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

bindsym $mod+c exec ~/.config/rofi/scripts/configs
bindsym $mod+a exec ~/.config/rofi/scripts/apps

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

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

bindsym $mod+Shift+e exec ~/.config/rofi/scripts/power

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"

bar {
	font pango:Hack, FontAwesome 10
	tray_output none
	status_command i3blocks
	i3bar_command i3bar -t
	position top
	separator_symbol "■"
	strip_workspace_numbers yes
	colors {
		statusline		$cinza
		background		$transparente
		separator		$cinza

		focused_workspace	$transparente	$transparente	$branco
		inactive_workspace	$transparente	$transparente	$cinza
		urgent_workspace	$transparente	$transparente	$texto-urgente		
    }
}

exec --no-startup-id ~/bin/wallpaper.sh -r
exec --no-startup-id compton -b
exec --no-startup-id conky
exec --no-startup-id dunst
exec --no-startup-id clipit
exec --no-startup-id sudo headsetcontrol 64
exec --no-startup-id xautolock.sh
exec --no-startup-id xset r rate 300 75
exec --no-startup-id thunar --daemon
exec --no-startup-id dropbox
#exec --no-startup-id notes

CLICK TO VIEW

x

.config_i3blocks_config(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
# Colors: https://github.com/da-edra/dotfiles/blob/master/.i3blocks.conf

command=~/.config/i3blocks/scripts/$BLOCK_NAME
#full_text=
#align=center
#separator=false
#separator_block_width=7
#color=#ffffff
#markup=none

separator=false
separator_block_width=10
border_top=0
border_left=0
border_right=0
border_bottom=3

[focus]
label=
interval=5
border=#cc241d

[mpd]
label=
interval=5
border=#d79921

[temperature]
label=
interval=10
border=#b16286

[weather]
instance="SAM|BR|BR010|CAMPO+GRANDE"
interval=300
border=#98971a

[packages]
label=
interval=600
border=#458588

[trash]
label=
interval=30
border=#928374

[hora]
label=
interval=5
border=#cc241d

[volume]
instance=Master
interval=1
signal=10
border=#d79921
 

x

.config_dunst_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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[global]
    font = "Hack 10"
	#transparency = 95
    markup = yes
    format = "<b>%s %p</b>\n%b"
    sort = yes
    indicate_hidden = true
	show_indicators = false
    # geometry = "x5"
    idle_threshold = 0
    geometry = "400x5-25+35"
    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 #2e3440 -sf #000000"
    dmenu = "/usr/bin/dmenu -p dunst: -nb '#2e3440' -nf '#000000' -sb '#2e3440' -sf '#2e3440'"
    browser = firefox-developer
	# Align icons left/right/off
    icon_position = left
    icon_folders = /usr/share/icons/gnome/32x32/status/:/usr/share/icons/gnome/32x32/devices/
	#icon_folders = /usr/share/icons/Arc/status/32/:/usr/share/icons/Arc/devices/32/:/usr/share/icons/Arc/apps/32/
	frame_width = 0
	#frame_color = "#000000"

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

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

[urgency_normal]
    #background = "#94DBFF"
	#background = "#2e3436"
	background = "#2e3440"
    foreground = "#000000"
    timeout = 15

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


[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"
    
[mae]
    appname = Telegram
    summary = "*[fF]azenda*"
    body = "*"
	script = /home/lucas/bin/alarme.sh
	urgency = critical  
	
[joao]
    appname = Telegram
	summary = "*Jσα̃σ Pεɔяσ*"
    body = "*"
    script = /home/lucas/bin/alarme.sh
    urgency = critical
 

x

.config_conky_conky.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
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
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo

Any original torsmo code is licensed under the BSD license

All code written since the fork of torsmo is licensed under the GPL

Please see COPYING for details

Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
]]

conky.config = {
    alignment = 'bc',
    maximum_width = 1920,
    minimum_width = 1920,
    minimum_height = 5,
    border_width = 0,
    cpu_avg_samples = 2,
	default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    use_xft = true,
    font = 'Hack:size=10',
    gap_x = 0,
    gap_y = 0,
    net_avg_samples = 2,
    no_buffers = true,
    double_buffer = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    own_window = true,
    own_window_class = 'Conky',
    -- normal, desktop, dock, panel, override
    own_window_type = 'panel',
    own_window_transparent = true,
    own_window_hints = undecorated,below,sticky,skip_taskbar,skip_pager,
	own_window_argb_visual = true,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
    show_graph_range = false,
	default_bar_width = 50,
	color1 = '8fbcbb',
	color2 = '88c0d0',
	color3 = '81a1c1',
	color4 = '5e81ac',
	color5 = 'bf616a',
	color6 = 'd08770',
	color7 = 'ebcb8b',
	color8 = 'a3be8c',
	color9 = 'b48ead',
}

conky.text = [[
${offset 55}${color3}cpu ${cpubar 4} \
${offset 240}${color4}ram ${membar 4} \
${offset 240}${color5}swap ${swapbar 4} \
${offset 240}${color6}/ ${fs_bar 4 /} \
${offset 240}${color7}/home ${fs_bar 4 /home} \
${offset 240}${color8}wireless ${wireless_link_bar wlan0}
]]
 

x

Notes

Based on Airblader dotfiles and others…

Comments

IzacCF said about 4 months ago

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

sistematico said about 4 months ago

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

IzacCF said about 4 months ago

Carlberg is great !!!

edited about 2 months ago

vegangaro said about 4 months ago

Krai ficou lindao! hehe

sistematico said about 1 week ago

Obrigado pessoal, configs atualizadas.
Se quiserem as antigas é só dar uma pesquisadas nos commits…