final smol
This commit is contained in:
parent
9e88ce9486
commit
91f6bfde2d
@ -22,9 +22,6 @@ exec --no-startup-id dex --autostart --environment i3
|
|||||||
## Xgamma
|
## Xgamma
|
||||||
exec --no-startup-id xgamma -b 0.9
|
exec --no-startup-id xgamma -b 0.9
|
||||||
|
|
||||||
## Compose-key
|
|
||||||
# exec --no-startup-id setxkbmap -layout us -option compose:menu
|
|
||||||
|
|
||||||
## Redshift
|
## Redshift
|
||||||
exec --no-startup-id redshift -l 59:30
|
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 --no-startup-id xfce4-panel --disable-wm-check
|
||||||
exec_always --no-startup-id ~/.config/i3/polybar.sh &
|
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
|
exec --no-startup-id mousetrap -t 5
|
||||||
|
|
||||||
|
## MPD Notifications
|
||||||
|
exec --no-startup-id /usr/bin/musnify-mpd
|
||||||
|
|
||||||
##### BINDINGS ######
|
##### BINDINGS ######
|
||||||
|
|
||||||
## Toggle keyboard layout
|
## Toggle keyboard layout
|
||||||
@ -70,23 +70,10 @@ bindsym $mod+space exec --no-startup-id xkb-switch --next
|
|||||||
## Touchpad toggle
|
## Touchpad toggle
|
||||||
bindsym XF86TouchpadToggle exec --no-startup-id bash ~/.config/script/tpad.sh
|
bindsym XF86TouchpadToggle exec --no-startup-id bash ~/.config/script/tpad.sh
|
||||||
|
|
||||||
## Toggle connect to bt-headphones
|
## Play/Pause MPD
|
||||||
# bindsym XF86Mail exec --no-startup-id playerctl play-pause
|
bindsym XF86Mail exec --no-startup-id mpc toggle
|
||||||
|
|
||||||
## 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+
|
|
||||||
|
|
||||||
|
|
||||||
## Lock Screen
|
## 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
|
bindsym XF86ScreenSaver exec --no-startup-id betterlockscreen -q -l blur
|
||||||
|
|
||||||
### Brightness ###
|
### Brightness ###
|
||||||
@ -134,7 +121,6 @@ floating_modifier $mod
|
|||||||
|
|
||||||
## start a terminal
|
## start a terminal
|
||||||
bindsym $mod+Return exec --no-startup-id kitty
|
bindsym $mod+Return exec --no-startup-id kitty
|
||||||
bindsym Mod1+Return exec --no-startup-id kitty
|
|
||||||
|
|
||||||
## kill focused window
|
## kill focused window
|
||||||
bindsym $mod+q kill
|
bindsym $mod+q kill
|
||||||
@ -301,8 +287,6 @@ 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 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"
|
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
|
||||||
@ -312,22 +296,6 @@ mode "$mode_system" {
|
|||||||
bindsym Escape 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 ######
|
##### Colors ######
|
||||||
|
|
||||||
## class border backgr. text indicator child_border
|
## class border backgr. text indicator child_border
|
||||||
@ -371,10 +339,7 @@ client.background #ffffff
|
|||||||
##### Windows #####
|
##### Windows #####
|
||||||
|
|
||||||
default_border pixel 5
|
default_border pixel 5
|
||||||
# hide_edge_borders both
|
|
||||||
|
|
||||||
|
|
||||||
# assign [class="^mpv$"] $ws6
|
|
||||||
assign [class="qutebrowser"] $ws1
|
assign [class="qutebrowser"] $ws1
|
||||||
|
|
||||||
for_window [class="mpv"] floating enable
|
for_window [class="mpv"] floating enable
|
||||||
@ -386,8 +351,6 @@ for_window [class="imv"] floating enable
|
|||||||
for_window [class="QjackCtl"] floating enable
|
for_window [class="QjackCtl"] floating enable
|
||||||
workspace_auto_back_and_forth yes
|
workspace_auto_back_and_forth yes
|
||||||
|
|
||||||
# for_window [class="Alacritty" instance="cava"] border pixel 0
|
|
||||||
|
|
||||||
##### GAPS #####
|
##### GAPS #####
|
||||||
|
|
||||||
gaps inner 9
|
gaps inner 9
|
||||||
|
@ -6,11 +6,6 @@
|
|||||||
#: individual font faces and even specify special fonts for particular
|
#: individual font faces and even specify special fonts for particular
|
||||||
#: characters.
|
#: 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
|
font_family Fira Mono Medium
|
||||||
bold_font Fira Mono Bold
|
bold_font Fira Mono Bold
|
||||||
italic_font auto
|
italic_font auto
|
||||||
@ -1136,47 +1131,6 @@ color14 #70c0b1
|
|||||||
color7 #c5c8c6
|
color7 #c5c8c6
|
||||||
color15 #eaeaea
|
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
|
mark1_foreground black
|
||||||
|
|
||||||
#: Color for marks of type 1
|
#: Color for marks of type 1
|
||||||
|
@ -26,14 +26,10 @@ alert = #A54242
|
|||||||
disabled = #707880
|
disabled = #707880
|
||||||
|
|
||||||
[bar/top]
|
[bar/top]
|
||||||
#bottom = false
|
|
||||||
#dock = false
|
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 15pt
|
height = 15pt
|
||||||
radius = 0
|
radius = 0
|
||||||
|
|
||||||
# dpi = 135
|
|
||||||
|
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
@ -47,7 +43,7 @@ padding-right = 1
|
|||||||
|
|
||||||
module-margin = 1
|
module-margin = 1
|
||||||
|
|
||||||
separator = |
|
separator =
|
||||||
separator-foreground = ${colors.disabled}
|
separator-foreground = ${colors.disabled}
|
||||||
|
|
||||||
font-0 = Fira Mono:style=Medium:pixelsize=8;1
|
font-0 = Fira Mono:style=Medium:pixelsize=8;1
|
||||||
@ -64,22 +60,12 @@ cursor-scroll = ns-resize
|
|||||||
|
|
||||||
enable-ipc = true
|
enable-ipc = true
|
||||||
|
|
||||||
# tray-position = right
|
|
||||||
|
|
||||||
# wm-restack = generic
|
|
||||||
# wm-restack = bspwm
|
|
||||||
# wm-restack = i3
|
|
||||||
|
|
||||||
# override-redirect = true
|
|
||||||
|
|
||||||
[bar/bottom]
|
[bar/bottom]
|
||||||
bottom = true
|
bottom = true
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 15pt
|
height = 15pt
|
||||||
radius = 0
|
radius = 0
|
||||||
|
|
||||||
# dpi = 135
|
|
||||||
|
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
@ -93,12 +79,11 @@ padding-right = 1
|
|||||||
|
|
||||||
module-margin = 1
|
module-margin = 1
|
||||||
|
|
||||||
separator = |
|
separator =
|
||||||
separator-foreground = ${colors.disabled}
|
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 = Symbols Nerd Font:style=Regular:size=10;1
|
font-2 = Symbols Nerd Font:style=Regular:size=10;1
|
||||||
|
|
||||||
|
|
||||||
@ -112,24 +97,34 @@ enable-ipc = true
|
|||||||
|
|
||||||
tray-position = right
|
tray-position = right
|
||||||
|
|
||||||
[module/xworkspaces]
|
##########
|
||||||
type = internal/xworkspaces
|
# CUSTOM #
|
||||||
|
##########
|
||||||
|
|
||||||
label-active = %name%
|
[module/weather]
|
||||||
label-active-background = ${colors.background-alt}
|
type = custom/script
|
||||||
label-active-underline= ${colors.primary}
|
exec = ANSIWEATHERRC=~/.config/ansiweather/config_for_bar ansiweather | sed 's#.*Sa.*rg: ##' | tr -d ':,-'
|
||||||
label-active-padding = 1
|
tail = false
|
||||||
|
interval = 1800
|
||||||
|
|
||||||
label-occupied = %name%
|
[module/updates]
|
||||||
label-occupied-padding = 1
|
type = custom/script
|
||||||
|
exec = ~/.config/polybar/scripts/updates.sh
|
||||||
|
interval = 3600
|
||||||
|
|
||||||
label-urgent = %name%
|
[module/uptime]
|
||||||
label-urgent-background = ${colors.alert}
|
type = custom/script
|
||||||
label-urgent-padding = 1
|
exec = echo $(uptime | sed 's/.*up //g;s/,.*user.*//g' )
|
||||||
|
interval = 600
|
||||||
|
|
||||||
label-empty = %name%
|
[module/mpdvol]
|
||||||
label-empty-foreground = ${colors.disabled}
|
type = custom/script
|
||||||
label-empty-padding = 1
|
exec = echo $(mpc --host=192.168.0.186 status %volume%)
|
||||||
|
interval = 5
|
||||||
|
|
||||||
|
############
|
||||||
|
# INTERNAL #
|
||||||
|
############
|
||||||
|
|
||||||
[module/i3]
|
[module/i3]
|
||||||
type = internal/i3
|
type = internal/i3
|
||||||
@ -156,7 +151,6 @@ label-urgent-background = #9a847c
|
|||||||
label-urgent-underline = #9a847c
|
label-urgent-underline = #9a847c
|
||||||
label-urgent-padding = 1
|
label-urgent-padding = 1
|
||||||
|
|
||||||
|
|
||||||
[module/mpd]
|
[module/mpd]
|
||||||
type = internal/mpd
|
type = internal/mpd
|
||||||
|
|
||||||
@ -188,7 +182,7 @@ interval = 1
|
|||||||
; <icon-seekb>
|
; <icon-seekb>
|
||||||
; <icon-seekf>
|
; <icon-seekf>
|
||||||
# format-online = <icon-prev> <icon-stop> <toggle> <icon-next> | <label-time> | Now playing: <label-song>
|
# 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-playing = ${self.format-online}
|
||||||
format-paused = ${self.format-online}
|
format-paused = ${self.format-online}
|
||||||
format-stopped = Press! -> <toggle> <-
|
format-stopped = Press! -> <toggle> <-
|
||||||
@ -222,27 +216,6 @@ icon-next =
|
|||||||
# tail = false
|
# tail = false
|
||||||
# interval = 960
|
# 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]
|
[module/xwindow]
|
||||||
type = internal/xwindow
|
type = internal/xwindow
|
||||||
@ -338,9 +311,8 @@ label-indicator-background = ${colors.secondary}
|
|||||||
[module/memory]
|
[module/memory]
|
||||||
type = internal/memory
|
type = internal/memory
|
||||||
interval = 2
|
interval = 2
|
||||||
# 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
|
||||||
@ -349,15 +321,6 @@ format-prefix = " "
|
|||||||
format-prefix-foreground = ${colors.primary}
|
format-prefix-foreground = ${colors.primary}
|
||||||
label = %percentage:2%%
|
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]
|
[module/fan]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
format = <label>
|
format = <label>
|
||||||
@ -367,8 +330,6 @@ exec = sensors asus-isa-0000 | grep cpu_fan | sed 's/cpu_fan: //'
|
|||||||
format-prefix = " "
|
format-prefix = " "
|
||||||
interval = 5
|
interval = 5
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[module/temperature]
|
[module/temperature]
|
||||||
type = internal/temperature
|
type = internal/temperature
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user