final smol

This commit is contained in:
паша душный 2023-05-14 00:13:28 +03:00
parent 9e88ce9486
commit 91f6bfde2d
3 changed files with 34 additions and 156 deletions

View File

@ -22,9 +22,6 @@ exec --no-startup-id dex --autostart --environment i3
## Xgamma
exec --no-startup-id xgamma -b 0.9
## Compose-key
# exec --no-startup-id setxkbmap -layout us -option compose:menu
## Redshift
exec --no-startup-id redshift -l 59:30
@ -59,9 +56,12 @@ exec --no-startup-id feh --bg-fill ~/pics/wp/2b16x9.png
# exec --no-startup-id xfce4-panel --disable-wm-check
exec_always --no-startup-id ~/.config/i3/polybar.sh &
# exec --no-startup-id betterlockscreen -q -l blur
## Hide mouse
exec --no-startup-id mousetrap -t 5
## MPD Notifications
exec --no-startup-id /usr/bin/musnify-mpd
##### BINDINGS ######
## Toggle keyboard layout
@ -70,23 +70,10 @@ bindsym $mod+space exec --no-startup-id xkb-switch --next
## Touchpad toggle
bindsym XF86TouchpadToggle exec --no-startup-id bash ~/.config/script/tpad.sh
## Toggle connect to bt-headphones
# bindsym XF86Mail exec --no-startup-id playerctl play-pause
## Play/Stop music
bindsym XF86WWW exec --no-startup-id bash ~/.config/script/musicctrl.sh
## Next/Prev music
bindsym $mod+shift+z exec --no-startup-id playerctl previous
bindsym $mod+shift+x exec --no-startup-id playerctl next
## Volume control
bindsym $mod+shift+a exec --no-startup-id playerctl volume 0.05-
bindsym $mod+shift+s exec --no-startup-id playerctl volume 0.05+
## Play/Pause MPD
bindsym XF86Mail exec --no-startup-id mpc toggle
## Lock Screen
# bindsym XF86ScreenSaver exec --no-startup-id i3lock --image=/home/username/pics/wp/2b16x9.png
bindsym XF86ScreenSaver exec --no-startup-id betterlockscreen -q -l blur
### Brightness ###
@ -134,7 +121,6 @@ floating_modifier $mod
## start a terminal
bindsym $mod+Return exec --no-startup-id kitty
bindsym Mod1+Return exec --no-startup-id kitty
## kill focused window
bindsym $mod+q kill
@ -301,8 +287,6 @@ 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 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"
@ -312,22 +296,6 @@ mode "$mode_system" {
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
@ -371,10 +339,7 @@ client.background #ffffff
##### Windows #####
default_border pixel 5
# hide_edge_borders both
# assign [class="^mpv$"] $ws6
assign [class="qutebrowser"] $ws1
for_window [class="mpv"] floating enable
@ -386,8 +351,6 @@ for_window [class="imv"] floating enable
for_window [class="QjackCtl"] floating enable
workspace_auto_back_and_forth yes
# for_window [class="Alacritty" instance="cava"] border pixel 0
##### GAPS #####
gaps inner 9

View File

@ -6,11 +6,6 @@
#: 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 Fira Mono Medium
bold_font Fira Mono Bold
italic_font auto
@ -1136,47 +1131,6 @@ color14 #70c0b1
color7 #c5c8c6
color15 #eaeaea
# color0 #000000
# color8 #767676
#
# #: black
#
# color1 #cc0403
# color9 #f2201f
#
# #: red
#
# color2 #19cb00
# color10 #23fd00
#
# #: green
#
# color3 #cecb00
# color11 #fffd00
#
# #: yellow
#
# color4 #0d73cc
# color12 #1a8fff
#
# #: blue
#
# color5 #cb1ed1
# color13 #fd28ff
#
# #: magenta
#
# color6 #0dcdcd
# color14 #14ffff
#
# #: cyan
#
# color7 #dddddd
# color15 #ffffff
#
# #: white
mark1_foreground black
#: Color for marks of type 1

View File

@ -26,14 +26,10 @@ alert = #A54242
disabled = #707880
[bar/top]
#bottom = false
#dock = false
width = 100%
height = 15pt
radius = 0
# dpi = 135
background = ${colors.background}
foreground = ${colors.foreground}
@ -47,7 +43,7 @@ padding-right = 1
module-margin = 1
separator = |
separator =
separator-foreground = ${colors.disabled}
font-0 = Fira Mono:style=Medium:pixelsize=8;1
@ -64,22 +60,12 @@ cursor-scroll = ns-resize
enable-ipc = true
# tray-position = right
# wm-restack = generic
# wm-restack = bspwm
# wm-restack = i3
# override-redirect = true
[bar/bottom]
bottom = true
width = 100%
height = 15pt
radius = 0
# dpi = 135
background = ${colors.background}
foreground = ${colors.foreground}
@ -93,12 +79,11 @@ padding-right = 1
module-margin = 1
separator = |
separator =
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 = Symbols Nerd Font:style=Regular:size=10;1
@ -112,24 +97,34 @@ enable-ipc = true
tray-position = right
[module/xworkspaces]
type = internal/xworkspaces
##########
# CUSTOM #
##########
label-active = %name%
label-active-background = ${colors.background-alt}
label-active-underline= ${colors.primary}
label-active-padding = 1
[module/weather]
type = custom/script
exec = ANSIWEATHERRC=~/.config/ansiweather/config_for_bar ansiweather | sed 's#.*Sa.*rg: ##' | tr -d ':,-'
tail = false
interval = 1800
label-occupied = %name%
label-occupied-padding = 1
[module/updates]
type = custom/script
exec = ~/.config/polybar/scripts/updates.sh
interval = 3600
label-urgent = %name%
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
[module/uptime]
type = custom/script
exec = echo 󰅔 $(uptime | sed 's/.*up //g;s/,.*user.*//g' )
interval = 600
label-empty = %name%
label-empty-foreground = ${colors.disabled}
label-empty-padding = 1
[module/mpdvol]
type = custom/script
exec = echo 󰴸 $(mpc --host=192.168.0.186 status %volume%)
interval = 5
############
# INTERNAL #
############
[module/i3]
type = internal/i3
@ -156,7 +151,6 @@ label-urgent-background = #9a847c
label-urgent-underline = #9a847c
label-urgent-padding = 1
[module/mpd]
type = internal/mpd
@ -188,7 +182,7 @@ interval = 1
; <icon-seekb>
; <icon-seekf>
# format-online = <icon-prev> <icon-stop> <toggle> <icon-next> | <label-time> | Now playing: <label-song>
format-online = 󰝚 Now playing: <label-song> | <label-time> | <icon-prev> <icon-stop> <toggle> <icon-next>
format-online = 󰝚 Now playing: <label-song> <label-time> <icon-prev> <icon-stop> <toggle> <icon-next>
format-playing = ${self.format-online}
format-paused = ${self.format-online}
format-stopped = Press! -> <toggle> <-
@ -222,27 +216,6 @@ icon-next = 
# tail = false
# interval = 960
[module/weather]
type = custom/script
exec = ANSIWEATHERRC=~/.config/ansiweather/config_for_bar ansiweather | sed 's#.*Sa.*rg: ##' | tr ':' ' '
tail = false
interval = 960
[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 = 600
[module/mpdvol]
type = custom/script
exec = echo 󰴸 $(mpc --host=192.168.0.186 status %volume%)
interval = 5
[module/xwindow]
type = internal/xwindow
@ -338,9 +311,8 @@ label-indicator-background = ${colors.secondary}
[module/memory]
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
@ -349,15 +321,6 @@ format-prefix = "󰻠 "
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%
# [module/freq]
# type = custom/script
# format = <label> MHz
# exec = cat /proc/cpuinfo | grep MHz | sed 's/cpu MHz//' | sed 's/://' | awk '{print int($1+0.5)}'
# # tail = true
# click-left = kill -USR1 %pid%
# format-prefix = " "
# interval = 3
[module/fan]
type = custom/script
format = <label>
@ -367,8 +330,6 @@ exec = sensors asus-isa-0000 | grep cpu_fan | sed 's/cpu_fan: //'
format-prefix = "󰈐 "
interval = 5
[module/temperature]
type = internal/temperature