This commit is contained in:
паша душный 2023-05-06 23:05:35 +03:00
parent 1df4763305
commit 1a87a87b86
5 changed files with 89 additions and 114 deletions

View File

@ -39,9 +39,9 @@ exec_always --no-startup-id autotiling
## Keyboard
exec_always --no-startup-id setxkbmap -layout us,ru
exec_always --no-startup-id setxkbmap -option 'altwin:menu_win,caps:escape'
exec_always --no-startup-id xkb-switch --i3
exec_always --no-startup-id setxkbmap -option caps:escape
exec_always --no-startup-id setxkbmap -option altwin:menu_win
## xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
## screen before suspend. Use loginctl lock-session to lock your screen.
@ -251,16 +251,16 @@ 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 $ws9 "9:"
set $ws10 "10:"
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
@ -296,21 +296,38 @@ set $Locker betterlockscreen -q -l blur && sleep 1
bindsym $mod+Pause mode "$mode_system"
bindsym Mod1+Pause mode "$mode_system"
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
set $mode_system System (l) lock, (e) logout, (s) suspend, (r) reboot, (Shift+s) shutdown, (h) hibernate
mode "$mode_system" {
bindsym l exec --no-startup-id $Locker, mode "default"
bindsym e exec --no-startup-id i3-msg exit, mode "default"
bindsym s exec --no-startup-id systemctl suspend, mode "default"
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
bindsym w exec --no-startup-id $Locker && sudo rtcwake -m mem --date \
$(/home/username/.config/script/rtcdate.sh), mode "default"
bindsym r exec --no-startup-id systemctl reboot, mode "default"
bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
## exit: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
# set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
# mode "$mode_system" {
# bindsym l exec --no-startup-id $Locker, mode "default"
# bindsym e exec --no-startup-id i3-msg exit, mode "default"
# bindsym s exec --no-startup-id systemctl suspend, mode "default"
# bindsym h exec --no-startup-id systemctl hibernate, mode "default"
# bindsym r exec --no-startup-id systemctl reboot, mode "default"
# bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"
#
# ## exit: Enter or Escape
# bindsym Return mode "default"
# bindsym Escape mode "default"
##### Colors ######
## class border backgr. text indicator child_border

View File

@ -182,7 +182,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

View File

@ -3,154 +3,106 @@ acpi
acpid
acpilight
aerc
alacritty
android-sdk-platform-tools
ansiweather
archey4
autoconf
automake
at
autotiling
azpainter
base
bastet
base-devel
betterlockscreen
binutils
bison
bluez-utils
bottom
btop
caffeine
calc
clang
cmake
cmatrix
cmus
compiler-rt
cronie
devour
dmenu
docx2txt
dosfstools
downgrade
dunst
efibootmgr
epy-git
fakeroot
fbv
feh
file
findutils
fingerpaint
fish
fish-done
flex
gawk
gcc
gettext
git
glances
gomuks
grep
groff
guvcview-qt
gzip
htop
i3-gaps
i3blocks
i3status
i3status-rust
i3-wm
icedisk
informant
intel-media-driver
intel-ucode
iwd
jq
khal
libtd
libtool
kitty
lftp
libva-intel-driver
links
linux-firmware
linux-zen
lshw
lsp-plugins
m4
make
mailcap
man-db
mesa
micro
mousetrap
mpc
mpdris2
mpv
mtr
mupdf
nano
myip
ncdu
ncmpcpp
nerdfetch
networkmanager
newsboat
nextcloud-client
notes-cli-bin
nnn
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-extra
openssh
openssl-1.1
pacman
pacman-cleanup-hook
pandoc-bin
parted
patch
pavucontrol
perl-anyevent-i3
picard
picom
pipe-viewer-git
pkgconf
playerctl
pmount
polybar
profanity
pulseaudio
pulseaudio-bluetooth
pulsemixer
py3status
pyradio-git
python-telegram
qjackctl
qutebrowser
reaper
redshift
reflector
rescrobbled-git
rofi
rofi-calc
rofi-emoji
rtorrent
scrot
sed
smartmontools
speedtest-cli
sound-theme-freedesktop
sshfs
sudo
sxiv
systemd-boot-pacman-hook
tealdeer
telegram-tg-git
terminus-font
texinfo
tldr
tlp
todo-bin
translate-shell
ttf-fira-code
transmission-cli
tremc
ttf-fira-mono
ttf-fira-sans
ttf-nerd-fonts-symbols-1000-em
ttf-nerd-fonts-symbols
tut-bin
tuxguitar
unzip
uwufetch
vi
vifm
vim
viu
vlc
vimpc-git
vulkan-intel
wget
when
which
wireless_tools
xautolock
xclip
@ -162,9 +114,7 @@ xorg-xev
xorg-xgamma
xorg-xinit
xorg-xinput
xplr
xss-lock
xterm
yay-bin
yggdrasil
yt-dlp

View File

@ -98,7 +98,8 @@ separator-foreground = ${colors.disabled}
font-0 = Fira Mono:style=Medium:pixelsize=8;1
font-1 = PowerlineSymbols:size=10;1
font-2 = SymbolsNerdFont:size=10;1
# font-2 = SymbolsNerdFont:size=10;1
font-2 = Symbols Nerd Font:style=Regular:size=10;1
modules-left = i3
@ -215,9 +216,15 @@ icon-stop = 
icon-prev =
icon-next =
# [module/weather]
# type = custom/script
# exec = ~/.config/polybar/scripts/weather-plugin.sh
# tail = false
# interval = 960
[module/weather]
type = custom/script
exec = ~/.config/polybar/scripts/weather-plugin.sh
exec = ANSIWEATHERRC=~/.config/ansiweather/config_for_bar ansiweather | sed 's#.*Sa.*rg: ##' | tr ':' ' '
tail = false
interval = 960
@ -234,7 +241,7 @@ interval = 600
[module/mpdvol]
type = custom/script
exec = echo $(mpc --host=192.168.0.186 status %volume%)
exec = echo 󰴸 $(mpc --host=192.168.0.186 status %volume%)
interval = 5
[module/xwindow]
@ -268,11 +275,11 @@ format = <ramp> <label>
label = %percentage%%
; Only applies if <ramp> is used
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
ramp-0 = 󰃚
ramp-1 = 󰃜
ramp-2 = 󰃝
ramp-3 = 󰃟
ramp-4 = 󰃠
; Use the following command to list available cards:
; $ ls -1 /sys/class/backlight/
@ -307,22 +314,22 @@ format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%%
label-muted =
label-muted = 󰖁
label-muted-foreground = ${colors.disabled}
; 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-on-capslock = 󰌎
label-indicator-padding = 1
label-indicator-margin = 1
label-indicator-foreground = ${colors.background}
@ -333,12 +340,12 @@ type = internal/memory
interval = 2
# format-prefix = " "
format-prefix-foreground = ${colors.primary}
label =  %gb_used% |  %swap_used%
label = 󰍛 %gb_used% | 󰋊 %swap_used%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix = "󰻠 "
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%
@ -357,7 +364,7 @@ format = <label>
exec = sensors asus-isa-0000 | grep cpu_fan | sed 's/cpu_fan: //'
# tail = true
; click-left = kill -USR1 %pid%
format-prefix = " "
format-prefix = "󰈐 "
interval = 5
@ -447,8 +454,8 @@ interval = 3.0
# inherit = network-base
# interface-type = wireless
label-connected = %signal%%
label-disconnected =
label-connected = 󰖩 %signal%%
label-disconnected = 󰖪
; Available tags:
; <label-connected> (default)
; <ramp-signal>
@ -515,7 +522,7 @@ interval = 1
date = %a %d/%m %H:%M
date-alt = %H:%M:%S
label = %date%
label = 󰥔 %date%
label-foreground = ${colors.primary}
[module/battery]

View File

@ -514,15 +514,15 @@ 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="#657B83"
# The text color of selected list items.
# default=xrdb:background