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 ## Keyboard
exec_always --no-startup-id setxkbmap -layout us,ru 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 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 ## 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. ## 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. ## Define names for default workspaces for which we configure key bindings later on.
## We use variables to avoid repeating the names in multiple places. ## We use variables to avoid repeating the names in multiple places.
set $ws1 "1:" set $ws1 "1:󰇧"
set $ws2 "2:" set $ws2 "2:󰞷"
set $ws3 "3:" set $ws3 "3:󰣇"
set $ws4 "4:" set $ws4 "4:󰄨"
set $ws5 "5:" set $ws5 "5:󰝚"
set $ws6 "6:" set $ws6 "6:󰗃"
set $ws7 "7:" set $ws7 "7:󱧏"
set $ws8 "8:" set $ws8 "8:󰇯"
set $ws9 "9:" set $ws9 "9:󰆍"
set $ws10 "10:" set $ws10 "10:󰭣"
## switch to workspace ## switch to workspace
bindsym $mod+1 workspace $ws1 bindsym $mod+1 workspace $ws1
@ -296,14 +296,16 @@ set $Locker betterlockscreen -q -l blur && sleep 1
bindsym $mod+Pause mode "$mode_system" bindsym $mod+Pause mode "$mode_system"
bindsym Mod1+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" { mode "$mode_system" {
bindsym l exec --no-startup-id $Locker, mode "default" bindsym l exec --no-startup-id $Locker, mode "default"
bindsym e exec --no-startup-id i3-msg exit, mode "default" bindsym e exec --no-startup-id i3-msg exit, mode "default"
bindsym s exec --no-startup-id systemctl suspend, 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 r exec --no-startup-id systemctl reboot, mode "default"
bindsym Shift+s exec --no-startup-id systemctl poweroff -i, 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 ## exit: Enter or Escape
bindsym Return mode "default" bindsym Return mode "default"
@ -311,6 +313,21 @@ mode "$mode_system" {
} }
# 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 ###### ##### Colors ######
## class border backgr. text indicator child_border ## 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 #: decreasing it lowers them. Decreasing the cell size might cause
#: rendering artifacts, so use with care. #: 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. #: 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 #: These values are in pts. They will be scaled by the monitor DPI to

View File

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

View File

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

View File

@ -514,15 +514,15 @@ status-bar-text="#657B83"
# The color of the bar at the bottom in view mode. # The color of the bar at the bottom in view mode.
# default=xrdb:color4 # 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. # The color of the text in the bar at the bottom in view mode.
# default=xrdb:foreground # default=xrdb:foreground
status-bar-view-text="#657B83" status-bar-view-text="#FDF6E3"
# Background of selected list items. # Background of selected list items.
# default=xrdb:color5 # default=xrdb:color5
list-selected-background="#900000" list-selected-background="#657B83"
# The text color of selected list items. # The text color of selected list items.
# default=xrdb:background # default=xrdb:background