redshift-polybar etc.
This commit is contained in:
parent
6417e1a7ba
commit
e87850317a
|
|
@ -326,9 +326,9 @@ bindsym $mod+Shift+Right move right
|
|||
###---Media Keys---###
|
||||
#Volume keys
|
||||
bindsym $mod+plus exec $inc
|
||||
bindsym $mod+Shift+plus exec --no-startup-id light -A 5
|
||||
bindsym $mod+Shift+plus exec light -S "$(light -G | awk '{ print int(($1 + .72) * 1.4) }')"
|
||||
bindsym $mod+minus exec $dec
|
||||
bindsym $mod+Shift+minus exec --no-startup-id light -U 5
|
||||
bindsym $mod+Shift+minus exec light -S "$(light -G | awk '{ print int($1 / 1.4) }')"
|
||||
bindsym $mod+less exec $prev
|
||||
bindsym $mod+Shift+less exec $beg
|
||||
bindsym $mod+greater exec $next
|
||||
|
|
@ -355,8 +355,8 @@ bindsym XF86AudioRaiseVolume exec $inc
|
|||
#bindsym XF86Mail exec $term -e neomutt
|
||||
#bindsym XF86Messenger exec $term -e weechat
|
||||
bindsym XF86Search exec $BROWSER https://duckduckgo.com
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5
|
||||
bindsym XF86MonBrightnessDown exec light -S "$(light -G | awk '{ print int($1 / 1.4) }')"
|
||||
bindsym XF86MonBrightnessUp exec light -S "$(light -G | awk '{ print int(($1 + .72) * 1.4) }')"
|
||||
#bindsym XF86AudioMedia exec $music
|
||||
#bindsym XF86Display exec --no-startup-id arandr
|
||||
#bindsym XF86KbdBrightnessDown exec --no-startup-id light -U 5
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ monitor = ${env:MONITOR:eDP-1}
|
|||
include-file = ~/.config/polybar/top-bar
|
||||
modules-left = i3 arrow01 xwindow arrow0
|
||||
modules-center = term chrome editor fm music vpn
|
||||
modules-right = arrow9 expressvpn-status arrow7 wlan arrow6 pkg arrow5 pavolume arrow4 battery arrow3 backlight arrow2 networkmanager arrow1 popup-calendar
|
||||
modules-right = arrow10 redshift arrow9 expressvpn-status arrow7 wlan arrow6 pkg arrow5 pavolume arrow4 battery arrow3 backlight arrow2 networkmanager arrow1 popup-calendar
|
||||
|
||||
;tray-position = right
|
||||
;tray-padding = 2
|
||||
|
|
@ -108,13 +108,19 @@ content-background = ${colors.color3}
|
|||
type = custom/text
|
||||
content = ""
|
||||
content-foreground = ${colors.color3}
|
||||
content-background = ${colors.color6}
|
||||
|
||||
[module/arrow10]
|
||||
type = custom/text
|
||||
content = ""
|
||||
content-foreground = ${colors.color6}
|
||||
content-background = #00000000
|
||||
|
||||
[module/color9toothctl]
|
||||
[module/bluetoothctl]
|
||||
type = custom/script
|
||||
exec = ~/.config/Scripts/color9toothctl.sh
|
||||
exec = ~/.config/Scripts/bluetoothctl.sh
|
||||
tail = true
|
||||
click-left = ~/.config/Scripts/color9toothctl.sh --toggle
|
||||
click-left = ~/.config/Scripts/bluetoothctl.sh --toggle
|
||||
label = " %output% "
|
||||
label-foreground = ${colors.color0}
|
||||
label-background = ${colors.color6}
|
||||
|
|
@ -155,6 +161,17 @@ label-mounted-background = ${colors.background}
|
|||
label-unmounted = %mountpoint%: not mounted
|
||||
label-unmounted-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/redshift]
|
||||
type = custom/script
|
||||
format-prefix = " "
|
||||
exec = source ~/.config/Scripts/redshift/env.sh && ~/.config/Scripts/redshift/redshift.sh temperature
|
||||
click-left = source ~/.config/Scripts/redshift/env.sh && ~/.config/Scripts/redshift/redshift.sh toggle
|
||||
scroll-up = source ~/.config/Scripts/redshift/env.sh && ~/.config/Scripts/redshift/redshift.sh increase
|
||||
scroll-down = source ~/.config/Scripts/redshift/env.sh && ~/.config/Scripts/redshift/redshift.sh decrease
|
||||
interval=0.5
|
||||
format-foreground = ${colors.color0}
|
||||
format-background = ${colors.color6}
|
||||
|
||||
[module/backlight]
|
||||
type = custom/script
|
||||
interval = 0.2
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ polybar-git
|
|||
powerline-fonts-git
|
||||
python-ueberzug
|
||||
ranger-git
|
||||
redshift-minimal
|
||||
tlp-git
|
||||
tlp-rdw-git
|
||||
ttf-weather-icons
|
||||
|
|
|
|||
Loading…
Reference in New Issue