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
exec --no-startup-id dex --autostart --environment i3
## Numlock on
exec --no-startup-id numlockx on
## Xrandr
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
@ -415,14 +418,8 @@ default_border pixel 7
assign [class="qutebrowser"] $ws11
for_window [class="mpv"] floating enable
for_window [class="AzPainter"] 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="Unreal Tournament 2004"] border pixel 1
workspace_auto_back_and_forth yes

View File

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

View File

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

View File

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