guest@dotshare [~/groups/terms/colors] $ ls idk-forest/ | cat

idk forest? (scrot) (+2 likes)

kenty Feb 19, 2017 (terms/colors)

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
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
###########
# General #
###########

set $mod Mod1
set $mod1 Mod4

font pango:Fira Sans 9



#############
# Variables #
#############

set_from_resource $darkblack   background  #000000
set_from_resource $black       background  #000000
set_from_resource $darkred     color0  #000000
set_from_resource $red         color8  #000000
set_from_resource $darkgreen   color1  #000000
set_from_resource $green       color9  #000000
set_from_resource $darkyellow  color2  #000000
set_from_resource $yellow      color10 #000000
set_from_resource $darkblue    color3  #000000
set_from_resource $blue        color11 #000000
set_from_resource $darkmagenta color4  #000000
set_from_resource $magenta     color12 #000000
set_from_resource $darkcyan    color5  #000000
set_from_resource $cyan        color13 #000000
set_from_resource $darkidk     color6  #000000
set_from_resource $idk	       color14 #000000
set_from_resource $darkwhite   color7  #000000
set_from_resource $white       color15 #000000

set_from_resource $fg i3wm.color7 #f0f0f0
set_from_resource $bg i3wm.color2 #f0f0f0


# class                 border  	backgr.       text_indicator 	child_border
client.focused          $darkblue     $darkblue     	#000000  	$darkblue       $darkblue
client.focused_inactive $green         $green     	$darkwhite  	$green      	 $green
client.unfocused        $black         $black     	$darkwhite  	$black      	 $black
client.urgent           $darkgreen     $darkgreen     $darkwhite  	$darkgreen       $darkgreen
client.placeholder      $darkgreen     $darkgreen     $darkwhite  	$darkgreen       $darkgreen

client.background       $darkgreen




################
# Key Bindings #
################

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

# Kill focused window #
bindsym $mod+q kill

# Use Mouse+$mod to drag floating windows to their wanted position #
floating_modifier $mod

# Start rofi #
bindsym $mod+r exec --no-startup-id rofi -show run

# i3lock #
bindsym $mod1+l exec /home/kenty/.scripts/lock.sh

# Screenshot with scrot
bindsym Print exec scrot -e 'mv $f ~/Obrázky/Screenshots'

# Restart i3 inplace #
bindsym $mod+Shift+r restart


# 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+h move left 10 px 
bindsym $mod+Shift+j move down 10 px
bindsym $mod+Shift+k move up 10 px
bindsym $mod+Shift+l move right 10 px


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

# Split in horizontal orientation #
bindsym $mod+Shift+v split h

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

# Change container layout #
bindsym $mod+s layout tabbed
bindsym $mod+e layout toggle split

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

# Change focus between tiling / floating windows #
bindsym $mod+Shift+space focus mode_toggle


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

# Focus the child container #
# bindsym $mod+d focus child

bindsym $mod+w exec "wal -i $HOME/Obrázky/Wallpapers -o wal-set"

##############
# Workspaces #
##############

# Allow workspaces back and forth #
workspace_auto_back_and_forth yes

set $ws1  "1"
set $ws2  "2"
set $ws3  "3"
set $ws4  "4"
set $ws5  "5"
set $ws6  "6"
set $ws7  "7"
set $ws8  "8"
set $ws9  "9"
set $ws10 "10"

# Switch to workspace #
bindsym $mod+1 workspace $ws1; layout tabbed
bindsym $mod+2 workspace $ws2; layout toggle split
bindsym $mod+3 workspace $ws3; layout tabbed
bindsym $mod+4 workspace $ws4; layout tabbed
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10

bindsym $mod+Tab workspace back_and_forth

# Move focused container to workspace #
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10


# Assign clients to workspaces #
assign [class="(?i)chrome"] $ws1
assign [class="^Steam$"] $ws2
assign [class="^X-terminal-emulator$"] $ws3
assign [class="^Terminator$"] $ws3
assign [class="^Thunar$"] $ws4
assign [class="^Google-play-music-desktop-player$"] $ws5
assign [class="^Chromium$"] $ws1

# Enable or disable floating #
for_window [class="Arandr"] floating enable
for_window [class="recordMyDesktop"] floating enable
for_window [class="Lxappearance"] floating enable
for_window [class="Nitrogen"] floating enable
for_window [class="Artha"] floating enable
for_window [instance="dukto"] floating enable
for_window [class="Pcmanfm"] floating enable
for_window [class="feh"] floating enable
for_window [class="Zenmap"] floating enable
for_window [class="Angry IP Scanner"] floating enable
for_window [class="DB Browser for SQLite"] floating enable
for_window [window_role="pop-up"] floating enable
for_window [window_role="bubble"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [window_role="Preferences"] floating enable
for_window [window_type="dialog"] floating enable
for_window [window_type="menu"] floating enable
for_window [class="Pavucontrol"] floating enable
for_window [class="^Google-Chrome$" window_role="^pop-up$"] floating enable
for_window [class="^Chromium$" window_role="^pop-up$"] floating enable
for_window [class="^Steam$" window_role="^pop-up$"] floating enable

#for_window [class="^.*"] floating enable



#########
# Modes #
#########

# Resize window (you can also use the mouse for that) #
set $mode_resize    Resize
bindsym $mod+g mode "$mode_resize"


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

# same bindings, but for the arrow keys
        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"
}


# Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces. #
set $mode_gaps Gaps: (o) outer, (i) inner

set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)

bindsym $mod+Shift+g mode "$mode_gaps"

mode "$mode_gaps" {
        bindsym o      mode "$mode_gaps_outer"
        bindsym i      mode "$mode_gaps_inner"
        bindsym Return mode "default"
        bindsym Escape mode "default"
}

mode "$mode_gaps_inner" {
        bindsym plus  gaps inner current plus 5
        bindsym minus gaps inner current minus 5
        bindsym 0     gaps inner current set 0

        bindsym Shift+plus  gaps inner all plus 5
        bindsym Shift+minus gaps inner all minus 5
        bindsym Shift+0     gaps inner all set 0

        bindsym Return mode "default"
        bindsym Escape mode "default"
}
mode "$mode_gaps_outer" {
        bindsym plus  gaps outer current plus 5
        bindsym minus gaps outer current minus 5
        bindsym 0     gaps outer current set 0

        bindsym Shift+plus  gaps outer all plus 5
        bindsym Shift+minus gaps outer all minus 5
        bindsym Shift+0     gaps outer all set 0

        bindsym Return mode "default"
        bindsym Escape mode "default"
}

# System Menu #
set $sysmenu "[p]oweroff  re[b]oot  [r]eload [s]uspend  [l]ogout  "
bindsym $mod+Delete      mode $sysmenu

mode $sysmenu {
    bindsym r         restart
    bindsym l         exit
    bindsym p         exec shutdown -P now
    bindsym b         exec shutdown -r now
    bindsym s         exec systemct suspend
    bindsym Return    mode "default"
    bindsym Escape    mode "default"
}


#######
# Bar #
#######

# Start i3bar to display a workspace bar (plus the system information i3status #
# finds out, if available) #
# bar {
#  	colors {
#   		# Whole color settings
#   		background 	#000000
#   		statusline 	$white
#   		separator  	$darkblack
# 
#   		# Type             border  	background 	font
#  		focused_workspace  $bg  	$bg 	$fg
#  		active_workspace   $bg  	$fg  		$fg
# 		inactive_workspace $bg 		$fg 		$fg
# 		urgent_workspace   $bg	 	$white 		$fg
#  	}
#  	height 23
#  	position bottom
#  	tray_padding 3
# 	mode invisible
#  
# 	i3bar_command i3bar
# 	# status_command i3status -c ~/.config/i3/i3status.conf
# 	# status_command i3blocks -c ~/.config/i3/i3blocks.conf
# 	strip_workspace_numbers yes
# }



#############
# Autostart #
#############

exec_always --no-startup-id $HOME/.config/polybar/launch.sh
exec_always --no-startup-id feh --bg-scale /home/kenty/Obrázky/Wallpapers/wallpaper.*
exec_always --no-startup-id "xinput set-prop 13 285 0, 0"
exec_always --no-startup-id "xinput set-prop 15 296 1"
exec_always --no-startup-id "xinput set-prop 15 278 1"

exec steam

exec --no-startup-id compton -b
exec --no-startup-id pactl set-sink-volume 0 35%
exec --no-startup-id xset m 0/0 0

exec --no-startup-id nm-applet
exec --no-startup-id blueman-applet
exec --no-startup-id redshift-gtk
exec --no-startup-id cbatticon

exec_always --no-startup-id wal -i "$(< "${HOME}/.cache/wal/wal")"


###################
# Multimedia Keys #
###################

# Pulse Audio controls #
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound

# Screen brightness controls #
bindsym XF86MonBrightnessUp exec xbacklight -inc 5 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 5 # decrease screen brightness


###########
# i3-Gaps #
###########

# Borders #
for_window [class="^.*"] border pixel 5

# Set inner/outer gaps #
gaps inner 10
gaps outer 10

# Smart gaps (gaps used if only more than one container on the workspace) #
# smart_gaps on

# Smart borders (draw borders around container only if it is not the only container on this workspace) # 
smart_borders on

workspace $ws1 gaps inner 0
workspace $ws1 gaps outer 0
workspace $ws3 gaps inner 0
workspace $ws3 gaps outer 0
workspace $ws4 gaps inner 0
workspace $ws4 gaps outer 0


bindsym $mod+z gaps inner current minus 5
bindsym $mod+u gaps inner current plus 5
bindsym $mod+Shift+z gaps outer current minus 5
bindsym $mod+Shift+u gaps outer current plus 5

bindsym $mod+Shift+Left resize shrink width 5 px or 5 ppt
bindsym $mod+Shift+Down resize grow height 5 px or 5 ppt
bindsym $mod+Shift+Up resize shrink height 5 px or 5 ppt
bindsym $mod+Shift+Right resize grow width 5 px or 5 ppt

CLICK TO VIEW

x

polybar_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
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
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
############
## Colors ##
############

[colors]
background = #00000000
background-alt = #000000
foreground = #ffffff
foreground-alt = #555555
primary = #ffb52a
secondary = #e60053
alert = #bd2c40

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


##################
## Bar settings ##
##################

[bar/main]
;monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 25
offset-x = 0
offset-y = 0

bottom = true

;background = ${xrdb:color1}
background = ${colors.background}
foreground = ${colors.foreground}


overline-size = 0
overline-color = #f00
underline-size = 2
underline-color = #CA4A4B

border-bottom-size = 10
;border-bottom-color = #CA4A4B
border-bottom-color = ${colors.background}

border-top-size = 10
;border-top-color = #CA4A4B
border-top-color = ${colors.background}

border-left-size = 24
;border-left-color = #CA4A4B
border-left-color = ${colors.background}

border-right-size = 24
;border-right-color = #CA4A4B
border-right-color = ${colors.background}

padding-left = 0
padding-right = 0
module-margin-left = 0
module-margin-right = 0


###########
## Fonts ##
###########

font-0 = Fira Sans:size=9:weight=regular;2
font-1 = FontAwesome:size=10;2



######################
## Modules position ##
######################

modules-left = i3
modules-center =
modules-right = date
;modules-right = xbacklight xkeyboard temperature memory cpu wlan eth battery weather date powermenu

tray-position = right
tray-padding = 3
;tray-transparent = false
tray-background = ${xrdb:background}

;wm-restack = bspwm
;wm-restack = i3

;override-redirect = true

;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev

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


########
## i3 ##
########

[module/i3]
type = internal/i3
strip-wsnumbers = true
pin-workspaces = true

ws-icon-0 = 1;I
ws-icon-1 = 2;II
ws-icon-2 = 3;III
ws-icon-3 = 4;IV
ws-icon-4 = 5;V
ws-icon-5 = 6;VI
ws-icon-6 = 7;VII
ws-icon-7 = 8;VIII
ws-icon-8 = 9;IX
ws-icon-9 = 10;X
ws-icon-default = |

format = <label-state>

label-mode = "%mode%"
label-mode-foreground = ${colors.foreground}
label-mode-background = ${xrdb:background}
label-mode-padding = 3

label-focused = "%icon%"
label-focused-foreground = ${colors.background}
label-focused-background = #885522
label-focused-underline = 
label-focused-padding = 3

label-unfocused = "%icon%"
label-unfocused-background = ${xrdb:background}
label-unfocused-foreground = ${xrdb:foreground}
label-unfocused-padding = 3

label-urgent = "%icon%"
label-urgent-foreground = ${colors.foreground}
label-urgent-background = ${xrdb:background}
label-urgent-padding = 4

label-visible-foreground = ${colors.foreground}
label-visible-background = ${colors.background}
label-visible-padding = 4


#############
## XWindow ##
#############

[module/xwindow]
type = internal/xwindow

format-background = 
format-foreground = #ffffff
format-padding = 0


label = "   %title%"
label-maxlen = 50


##############
## Keyboard ##
##############

[module/xkeyboard]
## type = internal/xkeyboard
blacklist-0 = num lock
label-layout = %{F#55}%{F-} %layout%
label-layout-underline = ${colors.secondary}
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}

[module/filesystem]
type = internal/fs
interval = 25

mount-0 = /
mount-1 = /home
mount-2 = /invalid/mountpoint

label-mounted = %mountpoint%: %percentage_free%%

label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}


###############
## Backlight ##
################

[module/xbacklight]
# type = internal/xbacklight

format = <label> <bar>
label = BL

bar-width = 10
bar-indicator = 
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = 
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = 
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}

[module/backlight-acpi]
inherit = module/xbacklight
type = internal/backlight
card = intel_backlight


#########
## CPU ##
#########

[module/cpu]
## type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = #FFFFFF
format-underline = 
label = %percentage%%


#########
## RAM ##
#########

[module/memory]
## type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = #FFFFFF
format-underline = 
label = %percentage_used%%


##############
## Wireless ##
##############

[module/wlan]
type = internal/network
interface = wlp7s0
interval = 3.0

format-connected = "<ramp-signal><label-connected>"
format-connected-underline = 
format-disconnected-underline = 
format-connected-background = ${xrdb:background}
format-disconnected-background = ${xrdb:background}

label-connected = "  %{A1:urxvt -e nmtui:}  %essid%%{A}   "
label-disconnected = "  %{A1:urxvt -e nmtui:} %ifname% disconnected %{A}   "
label-disconnected-foreground = ${colors.foreground-alt}

label-connected-background = ${xrdb:background}
label-disconnected-background = ${xrdb:background}

ramp-signal-0 = "   "
ramp-signal-1 = "   "
ramp-signal-2 = "   "
ramp-signal-3 = "   "
ramp-signal-4 = "   "
ramp-signal-foreground = #FFFFFF
ramp-signal-background = ${xrdb:background}


##########
## Date ##
##########

[module/date]
type = internal/date
interval = 1

date = " %a, %d %B |"
time = "%H:%M:%S "

format-prefix = 
format-prefix-foreground = ${colors.background}
format-background = #885522
format-foreground = ${colors.background}

label = "%{A1:steam:}  %date% %time%  %{A}"


############
## Volume ##
############

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

format-volume = <label-volume> <bar-volume>
label-volume = VOL
label-volume-foreground = ${root.foreground}

format-muted-prefix = 
format-muted-foreground = ${colors.foreground-alt}
label-muted = sound muted

bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = 
bar-volume-indicator-font = 2
bar-volume-indicator-foreground = #ff
bar-volume-fill = 
bar-volume-fill-font = 2
bar-volume-empty = 
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}


#############
## Battery ##
#############

[module/battery]
type = internal/battery
battery = BAT1
adapter = ACAD
full-at = 98

format-charging = "   <ramp-capacity> <label-charging>   "
format-charging-underline = 
format-charging-background = ${xrdb:background}

format-discharging = "   <ramp-capacity> <label-discharging>   "
format-discharging-underline = 
format-discharging-background = ${xrdb:background}

format-full = "   <label-full>   "
format-full-prefix = "      "
format-full-prefix-foreground = #FFFFFF
format-full-background = ${xrdb:background}

ramp-capacity-0 = "   "
ramp-capacity-1 = "   "
ramp-capacity-2 = "   "
ramp-capacity-3 = "   "
ramp-capacity-foreground = #FFFFFF
ramp-capacity-underline =

click-left = urxvt

##############
## CPU Temp ##
##############

[module/temperature]
## type = internal/temperature
thermal-zone = 0
warn-temperature = 60


format = <ramp> <label>
format-underline = 
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}

label =  %temperature% 
label-warn = %temperature%
label-warn-foreground = ${colors.secondary}

ramp-0 = 
ramp-1 = 
ramp-2 = 
ramp-foreground = ${colors.foreground-alt}




[module/weather]
type = custom/script
interval = 10
format = "  %{A:urxvt -hold -e curl wttr.in/Roznava:}<label>%{A}    "
format-prefix = "     "
format-prefix-foreground = ${colors.foreground}
format-background = ${xrdb:background}

exec = ~/.config/polybar/weather.sh


[module/redshift]
type = custom/script
interval = 5

exec = ~/.config/polybar/redshift.sh


[module/music]
type = custom/script
interval = 2

label = "   %output:0:45:...%"
exec = ~/.config/polybar/mpris.sh
 

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
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
! -----------------------------
! XFT SETTINGS
! -----------------------------

Xft.antialias:  true
Xft.autohint:   false
Xft.dpi:        96
Xft.hinting:    true
Xft.hintstyle:  hintslight
Xft.lcdfilter:  lcddefault
Xft.rgba:       rgb


! -----------------------------
! URXVT OPTIONS
! -----------------------------

URxvt*borderless:         true
URxvt*internalBorder:     15
URxvt*jumpScroll:         true
URxvt*scrollBar:          false
URxvt*scrollTryOutput:    false
URxvt*scrollTtyKeypress:  true
URxvt*urgentOnBell:       true
URxvt*visualBell:         false
URxvt*letterSpace:        -1


! -----------------------------
! FONTS
! -----------------------------

URxvt.font: xft:Fira Mono:pixelsize=11,style=regular
URxvt.boldFont: xft:Fira Mono:pixelsize=11,style=bold
URxvt.italicFont: xft:Fira Mono:pixelsize=11,style=bold
URxvt.boldItalicFont: xft:Fira Mono:pixelsize=11,style=bold






rofi.location:          0
rofi.color-enabled:     true
!                       'background', 'border'
rofi.color-window:      argb:dd2e2e2e, argb:ff2e2e2e, argb:ff2e2e2e

! State:                'bg',          'fg',   'bgalt',       'hlbg',        'hlfg'
rofi.color-normal:      argb:00333333, #ffffff, argb:00333333, argb:00333333, argb:ffcc8822
rofi.color-urgent:      argb:00333333, #ffffff, argb:00333333, argb:00333333, argb:ffcc8822
rofi.color-active:      argb:00333333, #ffffff, argb:00333333, argb:00333333, argb:ffcc8822
rofi.separator-style:   solid
rofi.fullscreen:        true
rofi.padding:           100
rofi.hide-scrollbar:    true
rofi.line-margin:       5
rofi.fake-transparency: true
rofi.yoffset:           10
rofi.xoffset:           0
rofi.width:             1366
rofi.opacity:           90
rofi.font:              Fira Mono 12

Xft.autohint: 1
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintslight
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb




! special
*.foreground:   #ffffff
*.background:   #2e2e2e
*.cursorColor:  #ffffff

! black
*.color0:       #2e2e2e
*.color8:       #676767

! red
*.color1:       #664444
*.color9:       #976a6a

! green
*.color2:       #2d8338
*.color10:      #52a25c

! yellow
*.color3:       #885522
*.color11:      #e1a44a

! blue
*.color4:       #224455
*.color12:      #365869

! magenta
*.color5:       #332244
*.color13:      #49395b

! cyan
*.color6:       #537282
*.color14:      #768e9a

! white
*.color7:       #a4a4a4
*.color15:      #ffffff
 

x

Comments

Ogis1975 said about 7 years ago

Very nice! Thanks, comrade, for share it! I already use it (slightly modified).