rice/polybar-themes/sblocks/user_modules.ini

383 lines
11 KiB
INI
Raw Normal View History

2021-11-14 22:51:43 -08:00
;; ┌──────────────────────────────────────────────────────────────────────────────-----┐
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█░█░█▀▀░█▀▀░█▀▄░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀ │
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░▀▀█░█▀▀░█▀▄░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█ │
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀ │
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
;; └──────────────────────────────────────────────────────────────────────────────-----┘
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/updates]
type = custom/script
; Available tokens:
; %counter%
; Command to be executed (using "/usr/bin/env sh -c [command]")
exec = ~/SudacodeRice/polybar-themes/slocks/scripts/updates.sh
2021-11-14 22:51:43 -08:00
; Conditional command that, if defined, needs to exit successfully
; before the main exec command is invoked.
; Default: ""
;;exec-if = ""
; Will the script output continous content?
; Default: false
tail = true
; Seconds to sleep between updates
; Default: 2 (0 if `tail = true`)
interval = 5
; Available tags:
; <output> - deprecated
; <label> (default)
format = <label>
2021-11-15 14:32:56 -08:00
format-prefix =
2021-11-14 22:51:43 -08:00
format-prefix-background = ${color.yellow}
format-prefix-padding = 1
format-overline = ${color.background}
format-underline = ${color.background}
format-foreground = ${color.foreground-alt}
2021-11-14 22:51:43 -08:00
; Available tokens:
; %output%
; Default: %output%
label = %output%
label-background = ${color.background-alt}
2021-11-14 23:12:13 -08:00
label-padding = 2
2021-11-14 22:51:43 -08:00
; Available tokens:
; %counter%
; %pid%
;
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]"
2021-11-14 23:12:13 -08:00
; click-left = exo-open --launch TerminalEmulator &
; click-right = exo-open --launch TerminalEmulator &
2021-11-14 22:51:43 -08:00
;;double-click-left = echo double left %counter%
;;double-click-middle = echo double middle %counter%
;;double-click-right = echo double right %counter%
; Available tokens:
; %counter%
; %pid%
;
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]"
;;scroll-up = echo scroll up %counter%
;;scroll-down = echo scroll down %counter%
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/launcher]
type = custom/text
2022-01-23 02:30:01 -08:00
content-prefix = ""
2021-11-14 22:51:43 -08:00
content-prefix-background = ${color.teal}
2022-01-23 02:30:01 -08:00
content-prefix-padding = 2
2021-11-14 22:51:43 -08:00
content = " Menu "
content-background = ${color.background-alt}
content-foreground = ${color.foreground}
content-overline = ${color.background}
content-underline = ${color.background}
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND"
2021-11-14 23:12:13 -08:00
; click-left = ~/.config/polybar/blocks/scripts/launcher.sh &
2022-01-23 02:30:01 -08:00
click-left = rofi -show drun
2021-11-14 22:51:43 -08:00
;;click-middle = ~/.config/polybar/blocks/scripts/launcher-full
2021-11-14 23:12:13 -08:00
click-right = ~/SudacodeRice/scripts/menu_full &
; click-right = ~/.config/polybar/blocks/scripts/style-switch.sh &
2021-11-14 22:51:43 -08:00
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND"
;;scroll-up = ~/.config/polybar/blocks/scripts/launcher.sh &
;;scroll-down = ~/.config/polybar/blocks/scripts/color-switch.sh &
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/sysmenu]
type = custom/text
2022-01-23 02:30:01 -08:00
content-prefix = "⏻"
content-prefix-background = ${color.red}
2022-01-23 02:30:01 -08:00
content-prefix-padding = 2
2021-11-14 22:51:43 -08:00
content = " System "
content-background = ${color.background-alt}
content-foreground = ${color.foreground}
content-overline = ${color.background}
content-underline = ${color.background}
2022-01-23 17:23:22 -08:00
click-left = $HOME/SudacodeRice/polybar-themes/sblocks/scripts/powermenu.sh &
2021-11-14 22:51:43 -08:00
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/color-switch]
type = custom/text
content-prefix =
content-prefix-background = ${color.orange}
content-prefix-padding = 1
content = " Style "
content-background = ${color.background-alt}
content-foreground = ${color.foreground}
content-overline = ${color.background}
content-underline = ${color.background}
click-left = ~/.config/polybar/blocks/scripts/style-switch.sh &
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/sep]
type = custom/text
content = |
content-background = ${color.background}
content-foreground = ${color.background}
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/apps]
type = custom/text
content-overline = ${color.background}
content-underline = ${color.background}
content-padding = 1
[module/term]
inherit = module/apps
content =
content-background = ${color.blue-gray}
content-foreground = ${color.foreground}
click-left = termite &
click-middle = urxvt &
click-right = xfce4-terminal &
[module/files]
inherit = module/apps
content =
content-background = ${color.blue}
content-foreground = ${color.foreground}
click-left = thunar &
click-right = pcmanfm &
[module/browser]
inherit = module/apps
content =
content-background = ${color.orange}
content-foreground = ${color.foreground}
click-left = firefox &
click-right = chromium &
[module/settings]
inherit = module/apps
content =
content-background = ${color.teal}
content-foreground = ${color.foreground}
click-left = xfce4-settings-manager &
click-right = lxappearance &
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/powermenu]
type = custom/menu
; If true, <label-toggle> will be to the left of the menu items (default).
; If false, it will be on the right of all the items.
expand-right = true
; "menu-LEVEL-N" has the same properties as "label-NAME" with
; the additional "exec" property
;
; Available exec commands:
; menu-open-LEVEL
; menu-close
; Other commands will be executed using "/usr/bin/env sh -c $COMMAND"
menu-0-0 = " Reboot |"
menu-0-0-background = ${color.background-alt}
menu-0-0-exec = menu-open-1
menu-0-1 = " Shutdown "
menu-0-1-background = ${color.background-alt}
menu-0-1-exec = menu-open-2
menu-1-0 = " Back |"
menu-1-0-background = ${color.background-alt}
menu-1-0-exec = menu-open-0
menu-1-1 = " Reboot "
menu-1-1-background = ${color.background-alt}
menu-1-1-exec = systemctl reboot
menu-2-0 = " Shutdown |"
menu-2-0-background = ${color.background-alt}
menu-2-0-exec = systemctl poweroff
menu-2-1 = " Back "
menu-2-1-background = ${color.background-alt}
menu-2-1-exec = menu-open-0
; Available tags:
; <label-toggle> (default) - gets replaced with <label-(open|close)>
; <menu> (default)
; Note that if you use <label-toggle> you must also include
; the definition for <label-open>
format = <label-toggle><menu>
format-overline = ${color.background}
format-underline = ${color.background}
label-open =
label-open-background = ${color.cyan}
label-open-padding = 1
label-close =
label-close-background = ${color.red}
label-close-padding = 1
; Optional item separator
; Default: none
;label-separator = " | "
;label-separator-foreground = ${color.foreground}
;label-separator-background = ${color.background-alt}
;;label-open-foreground = ${color.foreground}
;;label-close-foreground = ${color.background}
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/menu]
type = custom/menu
; If true, <label-toggle> will be to the left of the menu items (default).
; If false, it will be on the right of all the items.
expand-right = true
; "menu-LEVEL-N" has the same properties as "label-NAME" with
; the additional "exec" property
;
; Available exec commands:
; menu-open-LEVEL
; menu-close
; Other commands will be executed using "/usr/bin/env sh -c $COMMAND"
menu-0-0 ="  Menu | "
menu-0-0-background = ${color.background-alt}
2021-11-14 23:12:13 -08:00
; menu-0-0-exec = ~/.config/polybar/blocks/scripts/launcher.sh &
menu-0-0-exec = ~/SudacodeRice/scripts/menu_small
2021-11-14 22:51:43 -08:00
menu-0-1 =" Files | "
menu-0-1-background = ${color.background-alt}
menu-0-1-exec = thunar &
menu-0-2 =" Terminal | "
menu-0-2-background = ${color.background-alt}
2021-11-14 23:12:13 -08:00
menu-0-2-exec = alacritty &
2021-11-14 22:51:43 -08:00
menu-0-3 =" Browser "
menu-0-3-background = ${color.background-alt}
menu-0-3-exec = firefox &
; Available tags:
; <label-toggle> (default) - gets replaced with <label-(open|close)>
; <menu> (default)
; Note that if you use <label-toggle> you must also include
; the definition for <label-open>
format = <label-toggle><menu>
format-overline = ${color.background}
format-underline = ${color.background}
label-open =
2021-11-14 23:12:13 -08:00
label-open-background = ${color.orange}
2021-11-14 22:51:43 -08:00
label-open-padding = 1
label-close =
2021-11-14 23:12:13 -08:00
label-close-background = ${color.blue}
2021-11-14 22:51:43 -08:00
label-close-padding = 1
; Optional item separator
; Default: none
;label-separator = " | "
; ------------------------------------------------------------------------------
[module/bluetooth]
type = custom/script
exec = rofi-bluetooth --status
interval = 2
click-left = ~/SudacodeRice/scripts/rofi-bluetooth.desktop
click-right = blueman-manager
2022-01-23 14:46:52 -08:00
label-background = ${color.background-alt}
label-padding-right = 1
format-padding = 0
format-prefix-padding = 1
format-overline = ${color.background}
format-underline = ${color.background}
[module/bluetooth-4k]
type = custom/script
exec = rofi-bluetooth --status
interval = 2
click-left = ~/SudacodeRice/scripts/rofi-bluetooth
click-right = blueman-manager
format-background = ${color.background-alt}
format-padding = 1
format-prefix-padding = 1
format-overline = ${color.background}
format-underline = ${color.background}
[module/package-updates]
type = custom/ipc
interval = 400
hook-0 = ~/SudacodeRice/polybar-themes/sblocks/scripts/package-updates
format-padding = 1
format-background = ${color.yellow}
format-overline = ${color.background}
format-underline = ${color.background}
[module/package-updates-trigger]
type = custom/script
exec = polybar-msg hook package-updates 1 &>/dev/null
interval = 400
[module/weather]
type = custom/script
exec = ~/SudacodeRice/polybar-themes/sblocks/scripts/openweathermap-fullfeatured.sh
click-left = gnome-weather
interval = 600
format-font = 3
format-background = ${color.background-alt}
format-padding = 1
format-prefix-padding = 1
format-overline = ${color.background}
format-underline = ${color.background}
[module/flameshot]
inherit = module/apps
content =
content-padding = 1
content-foreground = #fc8353
click-left = flameshot gui
click-right = flameshot config
content-background = ${color.background-alt}
content-prefix-padding = 1
content-overline = ${color.background}
content-underline = ${color.background}
[module/color-picker]
inherit = module/apps
content =
content-padding = 1
content-foreground = #ecbe7b
click-left = kcolorchooser
content-background = ${color.background-alt}
content-prefix-padding = 1
content-overline = ${color.background}
content-underline = ${color.background}
2021-11-15 22:59:45 -08:00
[module/chrome]
inherit = module/apps
content =
content-padding = 1
content-foreground = ${color.blue}
click-left = google-chrome-beta --profile-directory="Profile 1"
content-background = ${color.background-alt}
content-prefix-padding = 1
content-overline = ${color.background}
content-underline = ${color.background}
2021-11-14 22:51:43 -08:00
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_