move config files to new directory

This commit is contained in:
ksyasuda
2021-07-28 23:44:53 -07:00
commit 58f9300f1e
121 changed files with 16536 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
[module/battery]
type = internal/battery
full-at = 99
time-format = %H:%M
battery = BAT0
adapter = AC0
format-charging = <animation-charging> <label-charging>
format-charging-foreground = #a8d385
format-charging-padding = 1
label-charging = %{F#a8d385}%percentage%%%{F-}
label-charging-foreground = #a8d385
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-foreground = #F9825A
format-discharging-padding = 1
label-discharging =%{F#F9825A}%percentage%%%{F-}
format-full = <label-full>
format-full-foreground = #a8d385
format-full-prefix = ""
format-full-prefix-foreground = #a8d385
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-3 =
ramp-capacity-4 =
ramp-capacity-5 =
ramp-capacity-6 =
ramp-capacity-7 =
ramp-capacity-8 =
ramp-capacity-9 =
ramp-capacity-0-foreground = ${color.red}
ramp-capacity-1-foreground = ${color.red}
ramp-capacity-2-foreground = ${color.red}
ramp-capacity-3-foreground = ${color.yellow}
ramp-capacity-4-foreground = ${color.yellow}
ramp-capacity-5-foreground = ${color.yellow}
ramp-capacity-6-foreground = #a8d385
ramp-capacity-7-foreground = #a8d385
ramp-capacity-8-foreground = #a8d385
ramp-capacity-9-foreground = #a8d385
#ramp-capacity-foreground = ${color.fg}
# ramp-capacity-foreground = #a8d385
bar-capacity-width = 2
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-3 =
animation-charging-4 =
animation-charging-5 =
animation-charging-6 =
animation-charging-framerate = 750

View File

@@ -0,0 +1,9 @@
[module/bluetooth-desktop]
type = custom/script
exec = rofi-bluetooth --status
interval = 2
click-left = ~/scripts/rofi-bluetooth.desktop
click-right = blueman-manager
# format-foreground = #fc8353
format-foreground = #A8D385
format-padding = 1

View File

@@ -0,0 +1,8 @@
[module/system-bluetooth-bluetoothctl]
type = custom/script
exec = ~/i3/scripts/system-bluetooth-bluetoothctl.sh
tail = true
click-left = ~/i3/scripts/system-bluetooth-bluetoothctl.sh --toggle &
click-right = blueman-manager
label-foreground = #fc855a
label-padding = 1

View File

@@ -0,0 +1,9 @@
[module/bluetooth2]
type = custom/script
exec = rofi-bluetooth --status
interval = 2
click-left = ~/scripts/rofi-bluetooth
click-right = blueman-manager
# format-foreground = #fc8353
format-foreground = #A8D385
format-padding = 1

View File

@@ -0,0 +1,6 @@
[module/color-picker]
type = custom/text
content =
content-padding = 1
content-foreground = #C1BF10
click-left = kcolorchooser

20
polybar-modules/cpu.ini Normal file
View File

@@ -0,0 +1,20 @@
[module/cpu]
type = internal/cpu
interval = 0.5
# format = <label> <ramp-coreload>
format = <label>
format-padding = 0.5
format-width = 20
label = CPU %percentage:2%%
label-foreground = #fc855a
ramp-coreload-spacing = 0.8
ramp-coreload-0 =
ramp-coreload-1 =
ramp-coreload-2 =
ramp-coreload-3 =
ramp-coreload-4 =
ramp-coreload-5 =
ramp-coreload-6 =
ramp-coreload-7 =
ramp-coreload-foreground = #fc855a
ramp-coreload-padding = 0.8

View File

@@ -0,0 +1,27 @@
[module/custom-mpd]
type = custom/script
tail = true
interval = 0
exec = $HOME/i3/scripts/show-music.sh
format = <label>
click-left = exec $HOME/i3/scripts/music-controls.sh -t
click-right = alacritty -e ncmpcpp
format-padding = 1
format-underline = #1DB954
format-foreground = #55AEBB
[module/mpd-next]
type = custom/script
click-left = $HOME/i3/scripts/music-controls.sh -n
exec = $HOME/i3/scripts/mpd-controls.sh next
format-padding = 1
format-underline = #1DB954
format-foreground = #55AEBB
[module/mpd-prev]
type = custom/script
click-left = $HOME/i3/scripts/music-controls.sh -p
exec = $HOME/i3/scripts/mpd-controls.sh prev
format-padding = 1
format-underline = #1DB954
format-foreground = #55AEBB

16
polybar-modules/date.ini Normal file
View File

@@ -0,0 +1,16 @@
[module/date]
type = internal/date
interval = 1
label = %time%
label-padding = 1
label-background = ${color.shade4}
# red
# label-foreground = #F65522
# blue
# label-foreground = #56a7b5
# orange
label-foreground = #e5c07b
# time =  %r
# time =  %l:%M:%S %p
time =  %l:%M %p
time-alt =  %h-%d-%Y

View File

@@ -0,0 +1,7 @@
[module/dolphin]
type = custom/text
content =
content-padding = 1
# content-foreground = #3BB6F3
content-foreground = #56a7b5
click-left = dolphin

View File

@@ -0,0 +1,7 @@
[module/flameshot]
type = custom/text
content =
content-padding = 1
content-foreground = #fc8353
click-left = exec ~/scripts/flameshot_gui.sh
click-right = flameshot config

View File

@@ -0,0 +1,6 @@
[module/github]
type = custom/text
content =
content-padding = 2
content-foreground = ${color.black}
click-left = xdg-open https://www.github.com/ksyasuda &

View File

@@ -0,0 +1,9 @@
[module/jdate]
type = custom/script
# should be every day
interval = 100
label-font = 4
# format-foreground = #fc8353
format-foreground = #c578dd
format-padding = 1
exec = python ~/i3/scripts/date.py

View File

@@ -0,0 +1,18 @@
[module/memory]
type = internal/memory
interval = 3
format = <label> <bar-used>
format-padding = 1
#label = RAM %gb_used%/%gb_free%
label = RAM %percentage_used%%
label-foreground = #a8d385
; Only applies if <bar-used> is used
bar-used-indicator =
bar-used-width = 8
bar-used-foreground-0 = #55aa55
bar-used-foreground-1 = #557755
bar-used-foreground-2 = #f5a70a
bar-used-foreground-3 = #ff5555
bar-used-fill =
bar-used-empty =
bar-used-empty-foreground = #444444

10
polybar-modules/menu.ini Normal file
View File

@@ -0,0 +1,10 @@
[module/menu]
type = custom/text
#content = 
content =
# alt icons = 
content-padding = 3
content-background = ${color.shade3}
content-foreground = #2878af
click-right = ~/i3/scripts/menu_full
click-left = ~/i3/scripts/menu

View File

@@ -0,0 +1,26 @@
[module/music-prev]
type = custom/script
# exec = echo "玲"
exec = ~/i3/scripts/music-controls.py prev
format = <label>
click-left = mpc prev
format-padding = 1
format-underline = #1DB954
# format-foreground = #1DB954
format-foreground = #55AEBB
[module/music-toggle]
type = custom/script
exec = ~/i3/scripts/music-controls.py toggle
click-left = npc toggle
[module/music-next]
type = custom/script
# exec = echo "怜"
exec = ~/i3/scripts/music-controls.py next
format = <label>
#format-padding=1
click-left = mpc next
# format-foreground = #1DB954
format-foreground = #55AEBB
format-underline = #1DB954

View File

@@ -0,0 +1,45 @@
[module/network-desktop]
type = internal/network
interface = wlo1
interval = 3.0
udspeed-minwidth = 1
accumulate-stats = true
#format-connected = <ramp-signal><label-connected>
# format-connected = <label-connected><ramp-signal>
format-connected = <label-connected>
format-disconnected = <label-disconnected>
#format-packetloss = <animation-packetloss> <label-connected>
# label-connected =  %essid%%downspeed:9%
label-connected =  %essid%
#label-connected =%downspeed:9%
label-disconnected = 睊 not connected
#label-disconnected-foreground = #66ffffff
# label-connected-padding = 2
format-connected-padding = 1
label-connected-foreground = #A8D385
label-disconnected-foreground = #F85522
# label-disconnected-padding = 2
format-disconnected-padding = 1
; Only applies if <ramp-signal> is used
ramp-signal-0 = 😱
ramp-signal-1 = 😠
ramp-signal-2 = 😒
ramp-signal-3 = 😊
ramp-signal-4 = 😃
ramp-signal-5 = 😈
ramp-signal-5-foreground = #A8D385
ramp-signal-4-foreground = #A8D385
ramp-signal-3-foreground = #E1D20D
ramp-signal-2-foreground = #E1D20D
ramp-signal-1-foreground = #F85522
ramp-signal-0-foreground = #F85522
; Only applies if <animation-packetloss> is used
#animation-packetloss-0 = ⚠
#animation-packetloss-0-foreground = #ffa64c
#animation-packetloss-1 = 📶
#animation-packetloss-1-foreground = #000000
#; Framerate in milliseconds
#animation-packetloss-framerate = 500
# click-left = kcmshell5

View File

@@ -0,0 +1,45 @@
[module/network]
type = internal/network
interface = wlp2s0
interval = 3.0
udspeed-minwidth = 1
accumulate-stats = true
#format-connected = <ramp-signal><label-connected>
# format-connected = <label-connected><ramp-signal>
format-connected = <label-connected>
format-disconnected = <label-disconnected>
#format-packetloss = <animation-packetloss> <label-connected>
# label-connected =  %essid%%downspeed:9%
label-connected =  %essid%
#label-connected =%downspeed:9%
label-disconnected = 睊 not connected
# label-connected-padding = 2
format-connected-padding = 1
label-connected-foreground = #A8D385
label-disconnected-foreground = #F85522
# label-disconnected-padding = 2
format-disconnected-padding = 1
; Only applies if <ramp-signal> is used
ramp-signal-0 = 😱
ramp-signal-1 = 😠
ramp-signal-2 = 😒
ramp-signal-3 = 😊
ramp-signal-4 = 😃
ramp-signal-5 = 😈
ramp-signal-5-foreground = #A8D385
ramp-signal-4-foreground = #A8D385
ramp-signal-3-foreground = #E1D20D
ramp-signal-2-foreground = #E1D20D
ramp-signal-1-foreground = #F85522
ramp-signal-0-foreground = #F85522
; Only applies if <animation-packetloss> is used
#animation-packetloss-0 = ⚠
#animation-packetloss-0-foreground = #ffa64c
#animation-packetloss-1 = 📶
#animation-packetloss-1-foreground = #000000
#; Framerate in milliseconds
#animation-packetloss-framerate = 500
# click-left = kcmshell5

View File

@@ -0,0 +1,9 @@
[module/openweathermap-fullfeatured]
type = custom/script
exec = ~/i3/scripts/openweathermap-fullfeatured.sh
click-left = exec ~/scripts/weather
interval = 600
format-font = 3
format-background = #282c34
format-foreground = #fc8353
format-padding = 1

View File

@@ -0,0 +1,4 @@
[module/package-updates-trigger]
type = custom/script
exec = polybar-msg hook package-updates 1 &>/dev/null
interval = 600

View File

@@ -0,0 +1,7 @@
[module/package-updates]
type = custom/ipc
hook-0 = ~/i3/scripts/package-updates
# format-foreground = #56a7b5
format-foreground = #A8D385
format-padding = 1
interval = 500

View File

@@ -0,0 +1,26 @@
[module/playerctl-show]
type = custom/script
tail = true
interval = 0
exec = $HOME/i3/scripts/playerctl-controls.sh -s
format = <label>
click-left = exec $HOME/i3/scripts/playerctl-controls.sh -t
format-padding = 1
format-underline = #1DB954
format-foreground = #55AEBB
[module/playerctl-next]
type = custom/script
click-left = $HOME/i3/scripts/playerctl-controls.sh -n
exec = $HOME/i3/scripts/playerctl-controls.sh -f
format-padding = 1
format-underline = #1DB954
format-foreground = #55AEBB
[module/playerctl-prev]
type = custom/script
click-left = $HOME/i3/scripts/playerctl-controls.sh -p
exec = $HOME/i3/scripts/playerctl-controls.sh -b
format-padding = 1
format-underline = #1DB954
format-foreground = #55AEBB

View File

@@ -0,0 +1,8 @@
[module/powermenu]
type = custom/text
content =
content-padding = 4
content-background = ${color.shade3}
content-foreground = #D85458
click-left = ~/i3/scripts/sysmenu
click-right = ~/i3/scripts/sysmenu

View File

@@ -0,0 +1,6 @@
[module/pulseaudio]
type = custom/text
content =
content-padding = 2
content-foreground = #8d8d1d
click-left = pavucontrol

View File

@@ -0,0 +1,6 @@
[module/reddit]
type = custom/text
content =
content-padding = 2
content-foreground = ${color.deep-orange}
click-left = xdg-open https://www.reddit.com &

View File

@@ -0,0 +1,6 @@
[module/settings]
type = custom/text
content =
content-padding = 2
content-foreground = ${color.black}
click-left = systemsettings5

View File

@@ -0,0 +1,10 @@
[module/spotify-bar-desktop]
type = custom/script
interval = 1
format = <label>
exec = python /home/sudacode/i3/scripts/spotify_status.py -t 40 -p ',' --playpause-font=0 -f '{play_pause} {artist}: {song}'
format-underline = #1DB954
# format-foreground = #1DB954
format-foreground = #55AEBB
format-padding = 1
click-left = playerctl play-pause spotify

View File

@@ -0,0 +1,10 @@
[module/spotify-bar]
type = custom/script
interval = 1
format = <label>
exec = python /home/sudacode/i3/scripts/spotify_status.py -t 50 -p ',' --playpause-font=0 -f '{play_pause} {artist}: {song}'
format-underline = #1DB954
# format-foreground = #1DB954
format-foreground = #55AEBB
format-padding = 1
click-left = playerctl play-pause spotify

View File

@@ -0,0 +1,32 @@
[module/spotify-prev]
type = custom/script
# exec = echo "玲"
exec = ~/i3/scripts/spot-controls.sh prev
format = <label>
click-left = playerctl previous spotify
format-padding = 1
format-underline = #1DB954
# format-foreground = #1DB954
format-foreground = #55AEBB
[module/spotify-play-pause]
type = custom/ipc
hook-0 = echo ""
hook-1 = echo "契"
hook-0-padding=1
hook-1-padding=1
hook-0-foreground = #1db954
hook-1-foreground = #1db954
initial = 1
click-left = playerctl play-pause spotify
[module/spotify-next]
type = custom/script
# exec = echo "怜"
exec = ~/i3/scripts/spot-controls.sh next
format = <label>
#format-padding=1
click-left = playerctl next spotify
# format-foreground = #1DB954
format-foreground = #55AEBB
format-underline = #1DB954

View File

@@ -0,0 +1,24 @@
[module/volume]
type = internal/pulseaudio
# use default sink
#sink = alsa_output.pci-0000_00_1f.3.analog-stereo
use-ui-max = true
interval = 5
click-right = exec pavucontrol
format-volume = <ramp-volume> <label-volume>
format-volume-padding = 1
# format-volume-foreground = #56a7b5
# format-volume-foreground = #c578dd
format-volume-foreground = #a8d385
label-volume = %percentage%%
label-muted = "婢"
label-muted-padding = 1
label-muted-foreground = #F85522
ramp-volume-0 =
ramp-volume-1 =
ramp-volume-2 = 奔
ramp-volume-3 = 奔
ramp-volume-4 =
ramp-volume-5 =
ramp-volume-6 =

View File

@@ -0,0 +1,6 @@
[module/vscode]
type = custom/text
content =
content-padding = 2
content-foreground = #3FA5E9
click-left = code

View File

@@ -0,0 +1,26 @@
[module/workspaces]
type = internal/xworkspaces
pin-workspaces = false
enable-click = true
enable-scroll = true
format-padding = 1
# con-default = 
format = <label-state>
format-background = ${color.shade4}
label-active = %name%
label-occupied = %name%
label-urgent = %name%
label-empty = %name%
label-empty-padding = 1
label-active-padding = 1
label-active-underline = #99b679
label-urgent-padding = 1
label-occupied-padding = 1
label-empty-foreground = #55aebb
label-active-foreground = #99b679
label-urgent-foreground = ${color.urgent}
label-occupied-foreground = #55aebb