wip
This commit is contained in:
parent
a566b1b9dd
commit
c2d061800f
@ -25,7 +25,7 @@ font=Roboto Mono:size=12
|
||||
# initial-window-size-pixels=700x500 # Or,
|
||||
# initial-window-size-chars=<COLSxROWS>
|
||||
# initial-window-mode=windowed
|
||||
# pad=0x0 # optionally append 'center'
|
||||
pad=8x4 # optionally append 'center'
|
||||
# resize-by-cells=yes
|
||||
# resize-keep-grid=yes
|
||||
# resize-delay-ms=100
|
||||
@ -83,7 +83,7 @@ font=Roboto Mono:size=12
|
||||
# long-press-delay=400
|
||||
|
||||
[colors]
|
||||
alpha=0.5
|
||||
alpha=0.85
|
||||
background=0d1117
|
||||
# foreground=ffffff
|
||||
# flash=7f7f00
|
||||
|
@ -2,7 +2,7 @@ separator_block_width=15
|
||||
|
||||
[weather]
|
||||
command=~/.config/i3blocks/weather
|
||||
interval=10
|
||||
interval=3600
|
||||
|
||||
[battery]
|
||||
command=~/.config/i3blocks/battery
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
curl "https://wttr.in/?format=%l:%t,%p" --silent | sed 's/^\(.\{3\}\)\(.*\):/☀\1 /'
|
||||
curl "https://wttr.in/?format=%l;%t,%p" --silent | sed 's/^\(.\{3\}\)\(.*\);/☀\1:/'
|
||||
echo
|
||||
|
@ -38,7 +38,7 @@ bindgesture swipe:left workspace next
|
||||
############################################
|
||||
|
||||
############### containers #################
|
||||
# top row
|
||||
# top row - layout modes
|
||||
bindsym --to-code $mod+q layout stacking
|
||||
bindsym --to-code $mod+w layout tabbed
|
||||
bindsym --to-code $mod+f fullscreen
|
||||
@ -62,15 +62,16 @@ mode "resize" {
|
||||
bindsym --to-code $down resize grow height 2ppt or 40px
|
||||
bindsym --to-code $right resize grow width 2ppt or 40px
|
||||
bindsym --to-code Escape mode "default"
|
||||
bindsym --to-code a move left 40px
|
||||
}
|
||||
# bottom row - copy paste (see section keys), floating
|
||||
# bottom row - copy paste (see section keys), floating, two focus utils
|
||||
floating_modifier $mod normal
|
||||
bindsym --to-code $altmod+d move scratchpad
|
||||
bindsym --to-code $mod+d scratchpad show
|
||||
bindsym --to-code $altmod+z floating toggle
|
||||
bindsym --to-code $mod+z focus mode_toggle
|
||||
bindsym --to-code $mod+k mode "resize"
|
||||
bindsym --to-code $mod+h focus prev sibling
|
||||
bindsym --to-code $mod+slash focus next sibling
|
||||
############################################
|
||||
|
||||
################## keys ####################
|
||||
@ -83,24 +84,29 @@ bindsym --to-code $mod+v exec wtype -P XF86Paste
|
||||
default_border pixel 1
|
||||
smart_borders on
|
||||
title_align center
|
||||
font pango:Roboto 10
|
||||
output * bg #$THEME_COLOR_BG solid_color
|
||||
client.focused #$THEME_COLOR_BG_ACCENT_LIGHT #$THEME_COLOR_BG_ACCENT_LIGHT #$THEME_COLOR_FG #$THEME_COLOR_FG_ACCENT
|
||||
client.focused_inactive #$THEME_COLOR_BG_ACCENT_DARK #$THEME_COLOR_BG_ACCENT_DARK #$THEME_COLOR_FG #$THEME_COLOR_FG_ACCENT
|
||||
client.unfocused #$THEME_COLOR_BG_ACCENT_DARK #$THEME_COLOR_BG_ACCENT_DARK #$THEME_COLOR_FG #$THEME_COLOR_FG_ACCENT
|
||||
client.focused_tab_title #$THEME_COLOR_BG_ACCENT_LIGHT$THEME_OPACITY_MID_HEX $THEME_COLOR_BG_ACCENT_LIGHT$THEME_OPACITY_MID_HEX #$THEME_COLOR_FG #$THEME_COLOR_FG_ACCENT
|
||||
client.focused #$THEME_COLOR_BG_ACCENT_LIGHT #$THEME_COLOR_BG_ACCENT_LIGHT #$THEME_COLOR_FG #$THEME_COLOR_FG_ACCENT #$THEME_COLOR_BG_ACCENT_LIGHT
|
||||
client.focused_tab_title #$THEME_COLOR_BG_ACCENT_LIGHT$THEME_OPACITY_MID_HEX $THEME_COLOR_BG_ACCENT_LIGHT$THEME_OPACITY_MID_HEX #$THEME_COLOR_FG_DARK #$THEME_COLOR_FG_ACCENT #$THEME_COLOR_BG_ACCENT_LIGHT
|
||||
client.focused_inactive #$THEME_COLOR_BG_ACCENT_DARK #$THEME_COLOR_BG_ACCENT_DARK #$THEME_COLOR_FG_DARK #$THEME_COLOR_FG_ACCENT $THEME_COLOR_BG_ACCENT_LIGHT$THEME_OPACITY_MID_HEX
|
||||
client.unfocused #$THEME_COLOR_BG_ACCENT_DARK #$THEME_COLOR_BG_ACCENT_DARK #$THEME_COLOR_FG_DARK #$THEME_COLOR_FG_ACCENT $THEME_COLOR_BG_ACCENT_LIGHT$THEME_OPACITY_MID_HEX
|
||||
############################################
|
||||
|
||||
################## bar #####################
|
||||
bar {
|
||||
position top
|
||||
font pango:"Roboto Mono 12"
|
||||
font pango:Roboto Mono 12
|
||||
status_command i3blocks
|
||||
strip_workspace_numbers yes
|
||||
separator_symbol |
|
||||
colors {
|
||||
statusline #$THEME_COLOR_FG
|
||||
background #$THEME_COLOR_BG
|
||||
separator #$THEME_COLOR_FG_DARK
|
||||
focused_workspace #$THEME_COLOR_BG_ACCENT_LIGHT #$THEME_COLOR_BG_ACCENT_LIGHT #$THEME_COLOR_FG
|
||||
inactive_workspace #$THEME_COLOR_BG_ACCENT_DARK #$THEME_COLOR_BG_ACCENT_DARK #$THEME_COLOR_FG
|
||||
urgent_workspace #$THEME_COLOR_FG_ACCENT #$THEME_COLOR_FG_ACCENT #$THEME_COLOR_FG
|
||||
binding_mode #$THEME_COLOR_FG_ACCENT #$THEME_COLOR_FG_ACCENT #$THEME_COLOR_FG
|
||||
}
|
||||
}
|
||||
###########################################
|
||||
|
Loading…
Reference in New Issue
Block a user