This commit is contained in:
паша душный 2023-02-27 22:56:21 +03:00
parent 1559317812
commit e66013f716
4 changed files with 30 additions and 27 deletions

View File

@ -17,6 +17,9 @@ font pango:Fira Mono Medium 9
## https://wiki.archlinux.org/index.php/XDG_Autostart ## https://wiki.archlinux.org/index.php/XDG_Autostart
exec --no-startup-id dex --autostart --environment i3 exec --no-startup-id dex --autostart --environment i3
## Numlock on
exec --no-startup-id numlockx on
## Xrandr ## Xrandr
exec --no-startup-id xrandr --output HDMI-A-0 --mode 1024x768 --pos 0x120 --rotate normal \ exec --no-startup-id xrandr --output HDMI-A-0 --mode 1024x768 --pos 0x120 --rotate normal \
--output DVI-D-0 --primary --mode 1920x1080 --pos 1024x0 --rotate normal --output HDMI-A-1 --off --output DVI-D-0 --primary --mode 1920x1080 --pos 1024x0 --rotate normal --output HDMI-A-1 --off
@ -415,14 +418,8 @@ default_border pixel 7
assign [class="qutebrowser"] $ws11 assign [class="qutebrowser"] $ws11
for_window [class="mpv"] floating enable for_window [class="mpv"] floating enable
for_window [class="AzPainter"] floating enable
for_window [class="feh"] floating enable for_window [class="feh"] floating enable
for_window [class="Sxiv"] floating enable
for_window [class="Zathura"] floating enable
for_window [class="imv"] floating enable
for_window [class="QjackCtl"] floating enable
for_window [class="Mojosetup"] floating enable for_window [class="Mojosetup"] floating enable
for_window [class="Unreal Tournament 2004"] border pixel 1
workspace_auto_back_and_forth yes workspace_auto_back_and_forth yes

View File

@ -44,6 +44,7 @@ feh
fish fish
fish-done fish-done
flex flex
freerdp
gawk gawk
gcc gcc
gettext gettext
@ -55,21 +56,14 @@ i3-wm
icedisk icedisk
inetutils inetutils
informant informant
jq
khal khal
kid3-common
kid3-qt
kitty kitty
kotatogram-desktop-bin
krita
lftp lftp
libretro-swanstation-git libretro-swanstation-git
libstdc++5-bin libstdc++5-bin
libtool libtool
libva-intel-driver libva-intel-driver
libva-mesa-driver libva-mesa-driver
lightdm
lightdm-mini-greeter
links-g-directfb links-g-directfb
linux-firmware linux-firmware
linux-zen linux-zen
@ -86,7 +80,6 @@ micro
mousetrap mousetrap
mpc mpc
mpdris2 mpdris2
mpg123
mpv mpv
mtr mtr
mupdf mupdf
@ -112,14 +105,12 @@ pandoc-bin
parted parted
patch patch
perl-anyevent-i3 perl-anyevent-i3
picard
picom picom
pipe-viewer-git pipe-viewer-git
pkgconf pkgconf
playerctl playerctl
pmount pmount
polybar polybar
popcorntime-bin
profanity profanity
pulseaudio pulseaudio
pulsemixer pulsemixer
@ -169,9 +160,9 @@ ttf-nerd-fonts-symbols-1000-em
tut-bin tut-bin
unrar unrar
unzip unzip
vim
virtualbox virtualbox
virtualbox-guest-iso virtualbox-guest-iso
vulkan-intel
vulkan-radeon vulkan-radeon
wget wget
which which

View File

@ -18,6 +18,7 @@
[colors] [colors]
background = #ccfdf6e3 background = #ccfdf6e3
; background = #00fdf6e3
background-alt = #ccfdf6e3 background-alt = #ccfdf6e3
foreground = #657b83 foreground = #657b83
primary = #657b83 primary = #657b83
@ -59,7 +60,7 @@ font-2 = SymbolsNerdFont:size=10;2
modules-left = xwin-bigg modules-left = xwin-bigg
modules-center = date modules-center = date
modules-right = openvpn wireguard ethernet memory cpu temperature pulseaudio xkeyboard powermenu modules-right = openvpn wireguard ethernet memory swap cpu pulseaudio xkeyboard powermenu
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
@ -97,7 +98,7 @@ font-2 = SymbolsNerdFont:size=10;2
modules-left = xwin-smol modules-left = xwin-smol
modules-center = date modules-center = date
modules-right = xkeyboard powermenu modules-right = pulseaudio xkeyboard powermenu
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
@ -136,7 +137,7 @@ font-2 = SymbolsNerdFont:size=10;2
modules-left = i3 modules-left = i3
modules-right = mpd mpdvol weather updates modules-right = mpd mpdvol weather updates uptime
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
@ -178,7 +179,7 @@ font-2 = SymbolsNerdFont:size=10;2
modules-left = i3 modules-left = i3
; modules-right = filesystem ; modules-right = filesystem
modules-right = root home storage modules-right = root home storage
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
@ -196,16 +197,23 @@ monitor = HDMI-A-0
############### ###############
[module/weather] [module/weather]
; format-background = ${colors.background-alt}
type = custom/script 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
tail = false tail = false
interval = 960 interval = 900
[module/updates] [module/updates]
type = custom/script type = custom/script
exec = ~/.config/polybar/scripts/updates.sh exec = ~/.config/polybar/scripts/updates.sh
interval = 3600 interval = 3600
[module/uptime]
type = custom/script
exec = echo 󰅔 $(uptime | sed 's/.*up //g;s/,.*user.*//g' )
interval = 60
[module/mpdvol] [module/mpdvol]
type = custom/script type = custom/script
exec = echo  $(mpc --host=192.168.0.186 status %volume%) exec = echo  $(mpc --host=192.168.0.186 status %volume%)
@ -426,7 +434,14 @@ type = internal/memory
interval = 2 interval = 2
# format-prefix = " " # format-prefix = " "
format-prefix-foreground = ${colors.primary} format-prefix-foreground = ${colors.primary}
label =  %gb_used%/%gb_total% |  %swap_used%/%swap_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%
[module/cpu] [module/cpu]
type = internal/cpu type = internal/cpu
@ -470,7 +485,7 @@ interval = 3.0
ping-interval = 5 ping-interval = 5
; unknown-as-up = true ; unknown-as-up = true
label-connected = 󰒄 %ifname% %local_ip% label-connected = 󰒄 %ifname% %local_ip%
label-disconnected = 󰒄 %ifname% %local_ip% label-disconnected = 󰒄 %local_ip%
[module/openvpn] [module/openvpn]
type = internal/network type = internal/network
@ -478,7 +493,7 @@ interface = tun0
interface-type = wired interface-type = wired
interval = 3.0 interval = 3.0
ping-interval = 5 ping-interval = 5
label-connected = 󰖂 %ifname% label-connected = 󰖂 %local_ip%
label-disconnected = label-disconnected =
[module/ethernet] [module/ethernet]
@ -504,7 +519,7 @@ ping-interval = 5
; %netspeed% [wireless+wired] (%upspeed% + %downspeed%) (New in version 3.6.0) ; %netspeed% [wireless+wired] (%upspeed% + %downspeed%) (New in version 3.6.0)
; %linkspeed% [wired] ; %linkspeed% [wired]
; %mac% [wireless+wired] (New in version 3.6.0) ; %mac% [wireless+wired] (New in version 3.6.0)
label-connected = 󰱔 %ifname% label-connected = 󰱔 %local_ip%
label-disconnected = 󰅛󰅖 label-disconnected = 󰅛󰅖
[module/date] [module/date]

View File

@ -14,7 +14,7 @@ confirmation=true
# Enable mouse support in tut. # Enable mouse support in tut.
# default=false # default=false
mouse-support=true # mouse-support=true
# The date format to be used. See https://pkg.go.dev/time#pkg-constants # The date format to be used. See https://pkg.go.dev/time#pkg-constants
# default="2006-01-02 15:04" # default="2006-01-02 15:04"