guest@dotshare [~/groups/wms/i3] $ ls Atom-colors-i3polybar/ | cat

Atom colors [i3+polybar] (scrot)

3v1lh3x Jan 26, 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
#                                  ██ ██████
#                                  ██      ██
#                                  ██  █████
#                                  ██      ██
#                                  ██ ██████

set $mod Mod4

# Font
font pango:Monaco 8

# Key for drag windows (mouse+$mod)
floating_modifier $mod

# Start a terminal
bindsym $mod+Return exec --no-startup-id st

# Kill focused window
bindsym $mod+Shift+q kill

# Start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id ~/.scripts/drun.sh

# Change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right

# Alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

# Move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right

# Alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right

# Split in horizontal orientation
bindsym $mod+i split h

# Split in vertical orientation
bindsym $mod+o split v

# Enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle

# Change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split

# Toggle tiling / floating
bindsym $mod+Shift+space floating toggle

# Focus the parent container
bindsym $mod+a focus parent

# Switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10

# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10

# Reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace
bindsym $mod+Shift+r restart

# Colors alias
set $CL_BG #282C34
set $CL_FG #ABB2BF
set $CL_CUR #528BFF
set $CL_BLACK #000000
set $CL_RED #E06C75
set $CL_GREEN #98C379
set $CL_ORANGE #D19A66
set $CL_BLUE #61AEEE
set $CL_MAGENTA #C678DD
set $CL_CYAN #56B6C2
set $CL_LIGHTGRAY #ABB2BF
set $CL_DARKGRAY #5C6370
set $CL_WHITE #FFFFFF

# Decotations colors

# class                 border      backgr.     text    indicator   child_border
client.focused          $CL_CUR     $CL_CUR     $CL_BG   $CL_CUR     $CL_CUR
client.focused_inactive $CL_MAGENTA $CL_MAGENTA $CL_BG   $CL_MAGENTA $CL_MAGENTA
client.unfocused        $CL_BG      $CL_BG      $CL_CUR  $CL_BG      $CL_BG
client.urgent           $CL_RED     $CL_RED     $CL_BG   $CL_RED     $CL_RED
client.placeholder      $CL_BG      $CL_BG      $CL_WHITE $CL_BLACK  $CL_BG

# Bar setup
bar {
    tray_output none
    mode invisible
}

# fn keys binds
bindsym XF86MonBrightnessUp exec xbacklight -inc 10
bindsym XF86MonBrightnessDown exec xbacklight -dec 10
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5%
bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle
bindsym XF86TouchpadToggle exec ~/.scripts/touchpadtoggle.sh

# Next layout
bindsym $mod+space exec --no-startup-id xkblayout-state set +1

# Make screenshot
bindsym --release Print exec scrot ~/Screenshots/Screenshot_%d-%m-%y-%T.png
# Make screenshot current window (Alt+Print)
bindsym --release Mod1+Sys_Req exec scrot -u ~/Screenshots/Screenshot_%d-%m-%y-%T.png
# Make screenshot for selected window
bindsym --release Shift+Print exec scrot -s ~/Screenshots/Screenshot_%d-%m-%y-%T.png

# Remove border while only one window opens
smart_borders on

new_window pixel 1
new_float pixel 1

# Setup keyboard layout
exec setxkbmap -layout "us,ru,ua"
# Setup wallpaper
exec feh --bg-scale "Pictures/3.jpg"
# Double buffering
exec compton
# Run status bar
exec_always --no-startup-id ~/.config/polybar/launch.sh

# vim: ft=i3

CLICK TO VIEW

x

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
 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
;           ██████   ██████  ██   ██    ██ ██████   █████  ██████
;           ██   ██ ██    ██ ██    ██  ██  ██   ██ ██   ██ ██   ██
;           ██████  ██    ██ ██     ████   ██████  ███████ ██████
;           ██      ██    ██ ██      ██    ██   ██ ██   ██ ██   ██
;           ██       ██████  ███████ ██    ██████  ██   ██ ██   ██

[colors]
background = #282C34
foreground = #ABB2BF
foreground-alt= #528BFF
black = #000000
red = #E06C75
green = #98C379
orange = #D19A66
blue = #61AEEE
magenta = #C678DD
cyan = #56B6C2
lightgray = #ABB2BF
darkgray = #5C6370
white = #FFFFFF

[global/wm]
margin-top = 0
margin-bottom = 0

[bar/mybar]
monitor = LVDS1

width = 100%
height = 18

font-0 = Monaco:size=8:weight=bold
font-1 = FontAwesome:size=11

background = ${colors.background}
foreground = ${colors.foreground}

tray-position = center
tray-maxsize = 16

modules-left = i3 xwindow
modules-center =
modules-right = keyboard volume battery wireless-network wired-network calendar clock powermenu

scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev

[module/xwindow]
type = internal/xwindow

label = %title%
label-maxlen = 75

format-foreground = ${colors.background}
format-background = ${colors.magenta}
format-prefix = " "
format-suffix = " "

format-margin = 1

[module/keyboard]
type = internal/xkeyboard

format =  <label-layout>
format-foreground = ${colors.magenta}
format-label-prefix= " "

[module/clock]
type = internal/date

interval = 1.0

time = %H:%M:%S

format =  <label>
format-prefix = " "
format-foreground = ${colors.orange}

label = %time%

[module/calendar]
type = internal/date

interval = 1.0

date = %d/%m/%y

format = %{T1} <label>
format-foreground = ${colors.orange}
format-prefix = " "

label = %date%

[module/volume]
type = internal/volume
master-mixer = Master

format-volume-foreground = ${colors.green}

format-volume = %{T1} <label-volume>

format-volume-prefix = " "
format-muted-prefix = " "

label-muted =[muted]
label-muted-foreground = ${colors.red}
label-muted-font = 1

[module/powermenu]
type = custom/menu

format-prefix = " "

label-open =
label-open-foreground = ${colors.foreground-alt}
label-close =
label-close-foreground = ${colors.red}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}

menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-0-2 = log out
menu-0-2-exec = menu-open-3

menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot

menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0

menu-3-0 = log out
menu-3-0-exec = i3-msg exit
menu-3-1 = cancel
menu-3-1-exec = menu-open-0

[module/battery]
type = internal/battery

full-at = 98

battery = BAT0
adapter = AC0

poll-interval = 5

time-format = %H:%M

label-charging = %percentage%%
label-discharging = %percentage%%
label-full =

format-charging = <animation-charging> <label-charging>
format-charging-foreground = ${colors.foreground-alt}

format-discharging = <ramp-capacity> <label-discharging>
format-discharging-foreground = ${colors.orange}

format-full-foreground = ${colors.green}

format-charging-prefix = " "
format-discharging-prefix = " "
format-full-prefix = " "

ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-3 =
ramp-capacity-4 =

animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-3 =
animation-charging-4 =
animation-charging-framerate = 750

[module/i3]
type = internal/i3
format = <label-state> <label-mode>

index-sort = true
wrapping-scroll = true

label-focused = %index%
label-focused-foreground = ${colors.background}
label-focused-background = ${colors.foreground-alt}
label-focused-padding = 1

label-unfocused = %index%
label-unfocused-padding = 1

label-urgent = %index%
label-urgent-foreground = ${colors.background}
label-urgent-background = ${colors.red}
label-urgent-padding = 1

label-visible = %index%
label-visible-padding = 1

[module/wireless-network]
type = internal/network
interface = wlp3s0

format-connected-prefix = " "
format-disconnected-prefix = " "

format-connected = <label-connected>

format-disconnected = <label-disconnected>

label-connected =%essid%
label-connected-foreground = ${colors.foreground-alt}

label-disconnected =  [not connected]
label-disconnected-foreground = ${colors.red}

[module/wired-network]
type = internal/network
interface = enp4s0f2

format-connected-prefix = " "
format-disconnected-prefix = " "

format-connected = <label-connected>

format-disconnected = <label-disconnected>

label-connected =%local_ip%
label-connected-foreground = ${colors.foreground-alt}

label-disconnected =  [not plugged]
label-disconnected-foreground = ${colors.red}

; vim:ft=dosini
 

x