mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-23 16:41:31 +00:00
297 lines
6.7 KiB
INI
297 lines
6.7 KiB
INI
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||
|
;;
|
||
|
;; __ __ __ ___ __ __
|
||
|
;; / / / /_______ _____ / |/ /___ ____/ /_ __/ /__ _____
|
||
|
;; / / / / ___/ _ \/ ___/ / /|_/ / __ \/ __ / / / / / _ \/ ___/
|
||
|
;; / /_/ (__ ) __/ / / / / / /_/ / /_/ / /_/ / / __(__ )
|
||
|
;; \____/____/\___/_/ /_/ /_/\____/\__,_/\__,_/_/\___/____/
|
||
|
;;
|
||
|
;; Created By Aditya Shakya @adi1090x
|
||
|
;;
|
||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||
|
|
||
|
[module/checknetwork]
|
||
|
type = custom/script
|
||
|
|
||
|
exec = ~/.config/polybar/scripts/check-network
|
||
|
|
||
|
tail = true
|
||
|
interval = 5
|
||
|
|
||
|
format-background = ${color.mf}
|
||
|
format-foreground = ${color.fg}
|
||
|
format-padding = 1
|
||
|
|
||
|
click-left = networkmanager_dmenu &
|
||
|
click-middle = networkmanager_dmenu &
|
||
|
click-right = networkmanager_dmenu &
|
||
|
|
||
|
[module/checknetwork_i]
|
||
|
type = custom/text
|
||
|
|
||
|
content =
|
||
|
content-background = ${color.green}
|
||
|
content-foreground = ${color.fg}
|
||
|
content-padding = 1
|
||
|
|
||
|
click-left = networkmanager_dmenu &
|
||
|
click-middle = networkmanager_dmenu &
|
||
|
click-right = networkmanager_dmenu &
|
||
|
|
||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||
|
|
||
|
[module/updates]
|
||
|
type = custom/script
|
||
|
|
||
|
exec = ~/.config/polybar/scripts/updates.sh
|
||
|
|
||
|
tail = true
|
||
|
interval = 5
|
||
|
|
||
|
format-background = ${color.mf}
|
||
|
format-foreground = ${color.fg}
|
||
|
format-padding = 1
|
||
|
|
||
|
click-left = ~/.config/polybar/scripts/lupdates &
|
||
|
|
||
|
[module/updates_i]
|
||
|
type = custom/text
|
||
|
|
||
|
content =
|
||
|
content-background = ${color.ac}
|
||
|
content-foreground = ${color.fg}
|
||
|
content-padding = 1
|
||
|
|
||
|
click-left = ~/.config/polybar/scripts/lupdates &
|
||
|
|
||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||
|
|
||
|
[module/window_switch]
|
||
|
type = custom/text
|
||
|
|
||
|
content = Switch
|
||
|
content-background = ${color.mf}
|
||
|
content-foreground = ${color.fg}
|
||
|
content-padding = 1
|
||
|
|
||
|
click-left = skippy-xd
|
||
|
click-middle = skippy-xd
|
||
|
click-right = ~/.config/polybar/scripts/windows
|
||
|
|
||
|
[module/window_switch_i]
|
||
|
type = custom/text
|
||
|
|
||
|
content =
|
||
|
content-background = ${color.pink}
|
||
|
content-foreground = ${color.fg}
|
||
|
content-padding = 1
|
||
|
|
||
|
click-left = skippy-xd
|
||
|
click-middle = skippy-xd
|
||
|
click-right = ~/.config/polybar/scripts/windows
|
||
|
|
||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||
|
|
||
|
[module/launcher]
|
||
|
type = custom/text
|
||
|
|
||
|
content = Menu
|
||
|
content-background = ${color.mf}
|
||
|
content-foreground = ${color.fg}
|
||
|
content-padding = 1
|
||
|
|
||
|
click-left = ~/.config/polybar/scripts/launcher
|
||
|
click-right = ~/.config/polybar/scripts/launcher-alt
|
||
|
|
||
|
[module/launcher_i]
|
||
|
type = custom/text
|
||
|
|
||
|
content =
|
||
|
content-background = ${color.red}
|
||
|
content-foreground = ${color.fg}
|
||
|
content-padding = 1
|
||
|
|
||
|
click-left = ~/.config/polybar/scripts/launcher
|
||
|
click-right = ~/.config/polybar/scripts/launcher-alt
|
||
|
|
||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||
|
|
||
|
[module/separator]
|
||
|
type = custom/text
|
||
|
|
||
|
content = |
|
||
|
content-background = ${color.bg}
|
||
|
content-foreground = ${color.bg}
|
||
|
content-padding = 0.5
|
||
|
|
||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||
|
|
||
|
[module/sysmenu]
|
||
|
type = custom/text
|
||
|
|
||
|
content = System
|
||
|
content-background = ${color.mf}
|
||
|
content-foreground = ${color.fg}
|
||
|
content-padding = 1
|
||
|
|
||
|
click-left = ~/.config/polybar/scripts/powermenu
|
||
|
click-right = ~/.config/polybar/scripts/powermenu-alt
|
||
|
|
||
|
[module/sysmenu_i]
|
||
|
type = custom/text
|
||
|
|
||
|
content =
|
||
|
content-background = ${color.cyan}
|
||
|
content-foreground = ${color.fg}
|
||
|
content-padding = 1
|
||
|
|
||
|
click-left = ~/.config/polybar/scripts/powermenu
|
||
|
click-right = ~/.config/polybar/scripts/powermenu-alt
|
||
|
|
||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||
|
|
||
|
[module/powermenu]
|
||
|
type = custom/menu
|
||
|
|
||
|
expand-right = true
|
||
|
|
||
|
menu-0-0 = reboot
|
||
|
menu-0-0-exec = menu-open-1
|
||
|
menu-0-1 = shutdown
|
||
|
menu-0-1-exec = menu-open-2
|
||
|
|
||
|
menu-1-0 = back
|
||
|
menu-1-0-exec = menu-open-0
|
||
|
menu-1-1 = reboot
|
||
|
menu-1-1-exec = systemctl reboot
|
||
|
|
||
|
menu-2-0 = shutdown
|
||
|
menu-2-0-exec = systemctl poweroff
|
||
|
menu-2-1 = back
|
||
|
menu-2-1-exec = menu-open-0
|
||
|
|
||
|
format-spacing = 1
|
||
|
format-background = ${color.mf}
|
||
|
format-foreground = ${color.fg}
|
||
|
format-padding = 1
|
||
|
|
||
|
label-open = Power
|
||
|
label-close =
|
||
|
|
||
|
label-separator = |
|
||
|
|
||
|
label-open-foreground = ${color.fg}
|
||
|
label-close-foreground = ${color.red}
|
||
|
label-separator-foreground = ${color.grey}
|
||
|
|
||
|
[module/powermenu_i]
|
||
|
type = custom/text
|
||
|
|
||
|
content =
|
||
|
content-background = ${color.cyan}
|
||
|
content-foreground = ${color.fg}
|
||
|
content-padding = 1
|
||
|
|
||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||
|
|
||
|
[module/menu]
|
||
|
type = custom/menu
|
||
|
|
||
|
expand-right = true
|
||
|
|
||
|
menu-0-0 = Apps
|
||
|
menu-0-0-exec = ~/.config/polybar/scripts/launcher &
|
||
|
menu-0-1 = Files
|
||
|
menu-0-1-exec = thunar &
|
||
|
menu-0-2 = Terminal
|
||
|
menu-0-2-exec = termite &
|
||
|
menu-0-3 = Browser
|
||
|
menu-0-3-exec = firefox &
|
||
|
|
||
|
format-spacing = 1
|
||
|
format-background = ${color.mf}
|
||
|
format-foreground = ${color.fg}
|
||
|
format-padding = 1
|
||
|
|
||
|
label-open = Menu
|
||
|
label-close =
|
||
|
|
||
|
label-separator = |
|
||
|
|
||
|
label-open-foreground = ${color.fg}
|
||
|
label-close-foreground = ${color.red}
|
||
|
label-separator-foreground = ${color.grey}
|
||
|
|
||
|
[module/menu_i]
|
||
|
type = custom/text
|
||
|
|
||
|
content =
|
||
|
content-background = ${color.red}
|
||
|
content-foreground = ${color.fg}
|
||
|
content-padding = 1
|
||
|
|
||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||
|
|
||
|
[module/style]
|
||
|
type = custom/text
|
||
|
|
||
|
content = Style
|
||
|
content-background = ${color.mf}
|
||
|
content-foreground = ${color.fg}
|
||
|
content-padding = 1
|
||
|
|
||
|
click-left = ~/.config/polybar/scripts/style-switch.sh &
|
||
|
click-right = ~/.config/polybar/scripts/style-switch.sh &
|
||
|
|
||
|
[module/style_i]
|
||
|
type = custom/text
|
||
|
|
||
|
content =
|
||
|
content-background = ${color.orange}
|
||
|
content-foreground = ${color.fg}
|
||
|
content-padding = 1
|
||
|
|
||
|
click-left = ~/.config/polybar/scripts/style-switch.sh &
|
||
|
click-right = ~/.config/polybar/scripts/style-switch.sh &
|
||
|
|
||
|
[module/redshift_i]
|
||
|
|
||
|
type = custom/text
|
||
|
|
||
|
content =
|
||
|
content-background = ${color.orange}
|
||
|
content-foreground = ${color.fg}
|
||
|
content-padding = 1
|
||
|
|
||
|
exec = echo " "
|
||
|
click-left = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh toggle
|
||
|
scroll-up = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh increase
|
||
|
scroll-down = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh decrease
|
||
|
interval=0.5
|
||
|
|
||
|
|
||
|
|
||
|
[module/redshift]
|
||
|
type = custom/script
|
||
|
format-prefix = " "
|
||
|
|
||
|
|
||
|
content-background = ${color.orange}
|
||
|
content-foreground = ${color.fg}
|
||
|
|
||
|
exec = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh temperature
|
||
|
click-left = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh toggle
|
||
|
scroll-up = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh increase
|
||
|
scroll-down = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh decrease
|
||
|
interval=0.5
|
||
|
|
||
|
|
||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||
|
;; __________ ______
|
||
|
;; / ____/ __ \/ ____/
|
||
|
;; / __/ / / / / /_
|
||
|
;; / /___/ /_/ / __/
|
||
|
;; /_____/\____/_/
|
||
|
;;
|
||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|