This commit is contained in:
паша душный 2023-05-03 18:59:40 +03:00
parent 4c901ef8df
commit b732f28833
4 changed files with 46 additions and 56 deletions

View File

@ -58,7 +58,8 @@ exec_always --no-startup-id xset -dpms
## Wallpaper
# exec --no-startup-id feh --bg-fill ~/pics/wp/2b16x9.jpg ~/pics/wp/2b4x3.png
exec --no-startup-id nitrogen --restore
# exec --no-startup-id nitrogen --restore
exec --no-startup-id xwallpaper --output HDMI-A-0 --center ~/pics/wp/2b4x3.png --output DVI-D-0 --center ~/pics/wp/2b16x9.jpg
## Panels
exec_always --no-startup-id ~/.config/i3/polybar.sh &
@ -252,33 +253,20 @@ bindsym $mod+r mode "resize"
## Define names for default workspaces for which we configure key bindings later on.
## We use variables to avoid repeating the names in multiple places.
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 $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:"
set $ws11 "11:﯋"
set $ws12 "12:"
set $ws13 "13:󰞏"
set $ws14 "14:󰓏"
# set $ws1 "﯋"
# set $ws2 ""
# set $ws3 ""
# set $ws4 ""
# set $ws5 ""
# set $ws6 ""
# set $ws7 ""
# set $ws8 ""
# set $ws9 ""
# set $ws10 ""
# set $ws11 ""
# set $ws12 ""
set $ws11 "11:󰇧"
set $ws12 "12:"
set $ws13 "13:󱠇"
set $ws14 "14:󱄷"
## switch to workspace
bindsym $mod+1 workspace $ws1

View File

@ -6,20 +6,20 @@
#: individual font faces and even specify special fonts for particular
#: characters.
#font_family Mononoki Nerd Font Complete
#bold_font Mononoki Nerd Font Complete Bold
#italic_font Mononoki Nerd Font Complete Italic
#bold_italic_font Mononoki Nerd Font Complete Bold Italic
#font_family Mononoki Nerd Font Complete Mono
#bold_font Mononoki Nerd Font Complete Mono Bold
#italic_font Mononoki Nerd Font Complete Mono Italic
#bold_italic_font Mononoki Nerd Font Complete Mono Bold Italic
font_family Fira Mono Medium
font_family Fira Mono Medium
bold_font Fira Mono Bold
italic_font auto
bold_italic_font auto
# font_family OverpassMono Nerd Font
# bold_font OverpassMono Nerd Font Bold
# italic_font OverpassMono Nerd Font Italic
# bold_italic_font OverpassMono Nerd Font Semibold
# font_family Liberation Mono
# bold_font Liberation Mono Bold
# italic_font Liberation Mono Italic
# bold_italic_font Liberation Mono Bold Italic
#: You can specify different fonts for the bold/italic/bold-italic
#: variants. To get a full list of supported fonts use the `kitty
@ -34,6 +34,7 @@ bold_italic_font auto
#: italic_font Operator Mono Book Italic
#: bold_italic_font Operator Mono Medium Italic
#font_size 8.5
font_size 9.0
#: Font size (in pts)
@ -187,7 +188,8 @@ disable_ligatures never
#: decreasing it lowers them. Decreasing the cell size might cause
#: rendering artifacts, so use with care.
box_drawing_scale 0.001, 1, 1.5, 2
# box_drawing_scale 0.001, 1, 1.5, 2
box_drawing_scale 0.1, 0.5, 1, 1.5
#: The sizes of the lines used for the box drawing Unicode characters.
#: These values are in pts. They will be scaled by the monitor DPI to
@ -1278,7 +1280,7 @@ close_on_child_death yes
#: Relative paths are resolved from the kitty configuration directory.
allow_remote_control no
allow_remote_control yes
#: Allow other programs to control kitty. If you turn this on, other
#: programs can control all aspects of kitty, including sending text

View File

@ -200,7 +200,8 @@ monitor = HDMI-A-0
; format-background = ${colors.background-alt}
type = custom/script
; hook-0 = ~/.config/polybar/scripts/weather-plugin.sh
exec = ~/.config/polybar/scripts/weather-plugin.sh
# exec = ~/.config/polybar/scripts/weather-plugin.sh
exec = ANSIWEATHERRC=~/.config/ansiweather/config_for_bar ansiweather | sed 's#.*Sa.*rg: ##' | tr ':' ' '
tail = false
interval = 900
@ -222,7 +223,8 @@ type = custom/ipc
interval = 10
initial = 1
hook-0 = echo  $(mpc --host=192.168.0.186 status %volume%)
# hook-0 = echo  $(mpc --host=192.168.0.186 status %volume%)
hook-0 = echo 󰴸 $(mpc --host=192.168.0.186 status %volume%)
hook-1 = mpc --host=192.168.0.186 volume +1 > /dev/null
hook-2 = mpc --host=192.168.0.186 volume -1 > /dev/null
hook-3 = mpc --host=192.168.0.186 toggleoutput 1 > /dev/null
@ -238,7 +240,7 @@ hook-5 = mpc --host=192.168.0.186 volume -5 > /dev/null
type = custom/script
exec = echo `ddcutil getvcp 10` | sed 's/VCP code 0x10 (Brightness ): current value = //'| sed 's/, max value = 100//'
interval = 20
format-prefix = " "
format-prefix = "󰍹 "
format-suffix = "%"
click-left = ddcutil setvcp 10 + 10
click-right = ddcutil setvcp 10 - 10
@ -418,7 +420,7 @@ format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%%
label-muted =
label-muted = 󰖁
label-muted-foreground = ${colors.disabled}
; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false
@ -430,18 +432,17 @@ click-right = kitty pulsemixer
; click-middle =
; Only applies if <ramp-volume> is used
ramp-volume-0 =
ramp-volume-1 = 奔
ramp-volume-2 =
ramp-volume-0 = 󰕿
ramp-volume-1 = 󰖀
ramp-volume-2 = 󰕾
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
label-layout = %layout%
label-layout = 󰌌 %layout%
label-layout-foreground = ${colors.primary}
; label-indicator-on-capslock = 
label-indicator-padding = 1
label-indicator-margin = 1
label-indicator-foreground = ${colors.background}
@ -452,19 +453,19 @@ type = internal/memory
interval = 2
# format-prefix = " "
format-prefix-foreground = ${colors.primary}
label = %gb_used%/%gb_total%
label = 󰍛 %gb_used%/%gb_total%
[module/swap]
type = internal/memory
interval = 2
# format-prefix = " "
format-prefix-foreground = ${colors.primary}
label = %swap_used%/%swap_total%
label = 󰋊 %swap_used%/%swap_total%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix = "󰻠 "
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%
@ -500,7 +501,7 @@ type = internal/network
interface = wg
interface-type = wired
interval = 3.0
ping-interval = 5
#ping-interval = 5
; unknown-as-up = true
label-connected = 󰒄 %ifname% %local_ip%
label-disconnected = 󰒄 %local_ip%
@ -519,7 +520,7 @@ type = internal/network
interface = enp37s0
interface-type = wired
interval = 3.0
ping-interval = 5
#ping-interval = 5
; accumulate-stats = true
; unknown-as-up = true
; speed-unit = ''
@ -547,7 +548,7 @@ interval = 1
date = %a %d/%m %H:%M
date-alt = %H:%M:%S
label = %date%
label = 󰥔 %date%
label-foreground = ${colors.primary}
right-click = kitty ikhal

View File

@ -513,20 +513,19 @@ status-bar-background="#FDF6E3"
# The color of the text in the bar at the bottom.
# default=xrdb:foreground
# status-bar-text="#FDF6E3"
status-bar-text="#657B83"
# The color of the bar at the bottom in view mode.
# default=xrdb:color4
status-bar-view-background="#2F343A"
status-bar-view-background="#BDC6C9"
# The color of the text in the bar at the bottom in view mode.
# default=xrdb:foreground
status-bar-view-text="#657B83"
status-bar-view-text="#FDF6E3"
# Background of selected list items.
# default=xrdb:color5
list-selected-background="#900000"
list-selected-background="xrdb:foreground"
# The text color of selected list items.
# default=xrdb:background