added auto dependancy install and seperate polybars
This commit is contained in:
		
							parent
							
								
									3af6770535
								
							
						
					
					
						commit
						0b458bcd64
					
				
							
								
								
									
										3
									
								
								arch/base.deps
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								arch/base.deps
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
			
		||||
cmake
 | 
			
		||||
make
 | 
			
		||||
bat
 | 
			
		||||
							
								
								
									
										2
									
								
								arch/i3.deps
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								arch/i3.deps
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
			
		||||
feh
 | 
			
		||||
imagemagick
 | 
			
		||||
							
								
								
									
										13
									
								
								arch/yay_installer
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										13
									
								
								arch/yay_installer
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,13 @@
 | 
			
		||||
#! /usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
if [[ ! -f "/usr/bin/yay" ]] ; then
 | 
			
		||||
    # no yay
 | 
			
		||||
    sudo pacman -S --needed --noconfirm base-devel
 | 
			
		||||
    rm -rf /tmp/yay
 | 
			
		||||
    mkdir -p /tmp/yay
 | 
			
		||||
    git clone https://aur.archlinux.org/yay.git /tmp/yay
 | 
			
		||||
    cd /tmp/yay
 | 
			
		||||
    makepkg -si --noconfirm
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
echo "Yay installed"
 | 
			
		||||
							
								
								
									
										140
									
								
								gui/polybar-laptop/config.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										140
									
								
								gui/polybar-laptop/config.ini
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,140 @@
 | 
			
		||||
[colors]
 | 
			
		||||
background = #1D1F21
 | 
			
		||||
background-alt = #373B41
 | 
			
		||||
foreground = #C5C8C6
 | 
			
		||||
primary = #F0C674
 | 
			
		||||
secondary = #8ABEB7
 | 
			
		||||
disabled = #707880
 | 
			
		||||
alert = #A54242
 | 
			
		||||
 | 
			
		||||
[bar/main-bar]
 | 
			
		||||
width = 100%
 | 
			
		||||
height = 24pt
 | 
			
		||||
radius = 5
 | 
			
		||||
 | 
			
		||||
; seperator
 | 
			
		||||
separator = |
 | 
			
		||||
separator-foreground = ${colors.disabled}
 | 
			
		||||
module-margin = 1
 | 
			
		||||
padding = 2
 | 
			
		||||
 | 
			
		||||
; font
 | 
			
		||||
font-0 = Hack Nerd Font;2
 | 
			
		||||
 | 
			
		||||
monitor = ${env:MONITOR:}
 | 
			
		||||
 | 
			
		||||
bottom = false
 | 
			
		||||
 | 
			
		||||
fixed-center = true
 | 
			
		||||
 | 
			
		||||
; hybrid bg color, might go lighter grey
 | 
			
		||||
background = ${colors.background}
 | 
			
		||||
 | 
			
		||||
; hybrid fg color, might go lighter if I go lighter grey
 | 
			
		||||
foreground = ${colors.foreground}
 | 
			
		||||
 | 
			
		||||
modules-left = xworkspaces xwindow
 | 
			
		||||
modules-center = weather
 | 
			
		||||
modules-right = battery pulseaudio memory cpu eth date
 | 
			
		||||
 | 
			
		||||
[module/xworkspaces]
 | 
			
		||||
type = internal/xworkspaces
 | 
			
		||||
 | 
			
		||||
label-active = %name%
 | 
			
		||||
label-active-background = ${colors.background-alt}
 | 
			
		||||
label-active-underline= ${colors.primary}
 | 
			
		||||
label-active-padding = 1
 | 
			
		||||
 | 
			
		||||
label-occupied = %name%
 | 
			
		||||
label-occupied-padding = 1
 | 
			
		||||
 | 
			
		||||
label-urgent = %name%
 | 
			
		||||
label-urgent-background = ${colors.alert}
 | 
			
		||||
label-urgent-padding = 1
 | 
			
		||||
 | 
			
		||||
label-empty = %name%
 | 
			
		||||
label-empty-foreground = ${colors.disabled}
 | 
			
		||||
label-empty-padding = 1
 | 
			
		||||
 | 
			
		||||
[module/xwindow]
 | 
			
		||||
type = internal/xwindow
 | 
			
		||||
label = %title:0:40:...%
 | 
			
		||||
 | 
			
		||||
[module/pulseaudio]
 | 
			
		||||
type = internal/pulseaudio
 | 
			
		||||
 | 
			
		||||
format-volume-prefix = "VOL "
 | 
			
		||||
format-volume-prefix-foreground = ${colors.primary}
 | 
			
		||||
format-volume = <label-volume>
 | 
			
		||||
 | 
			
		||||
label-volume = %percentage%%
 | 
			
		||||
 | 
			
		||||
label-muted = muted
 | 
			
		||||
label-muted-foreground = ${colors.disabled}
 | 
			
		||||
 | 
			
		||||
[module/weather]
 | 
			
		||||
type = custom/script
 | 
			
		||||
 | 
			
		||||
exec = weather -pd
 | 
			
		||||
interval = 30
 | 
			
		||||
 | 
			
		||||
[module/memory]
 | 
			
		||||
type = internal/memory
 | 
			
		||||
interval = 2
 | 
			
		||||
format-prefix = "RAM "
 | 
			
		||||
format-prefix-foreground = ${colors.primary}
 | 
			
		||||
label = %total%
 | 
			
		||||
format = <bar-used> <label>
 | 
			
		||||
 | 
			
		||||
bar-used-indicator = 
 | 
			
		||||
bar-used-width = 10
 | 
			
		||||
bar-used-fill = ▐
 | 
			
		||||
bar-used-empty = _
 | 
			
		||||
 | 
			
		||||
[module/battery]
 | 
			
		||||
type = internal/battery
 | 
			
		||||
 | 
			
		||||
poll-interval = 5
 | 
			
		||||
 | 
			
		||||
low-at = 10
 | 
			
		||||
 | 
			
		||||
format-charging = <label-charging>
 | 
			
		||||
format-discharging = <label-discharging>
 | 
			
		||||
 | 
			
		||||
label-charging = %percentage%% %time%
 | 
			
		||||
 | 
			
		||||
label-discharging = %percentage%% %time%
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
[module/cpu]
 | 
			
		||||
type = internal/cpu
 | 
			
		||||
interval = 2
 | 
			
		||||
format-prefix = "CPU "
 | 
			
		||||
format-prefix-foreground = ${colors.primary}
 | 
			
		||||
label = %percentage:2%%
 | 
			
		||||
 | 
			
		||||
[network-base]
 | 
			
		||||
type = internal/network
 | 
			
		||||
interval = 5
 | 
			
		||||
format-connected = <label-connected>
 | 
			
		||||
format-disconnected = <label-disconnected>
 | 
			
		||||
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
 | 
			
		||||
 | 
			
		||||
[module/eth]
 | 
			
		||||
inherit = network-base
 | 
			
		||||
interface-type = wired
 | 
			
		||||
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
 | 
			
		||||
 | 
			
		||||
[module/date]
 | 
			
		||||
type = internal/date
 | 
			
		||||
interval = 1
 | 
			
		||||
 | 
			
		||||
date = %A, %b %d %l:%m %P
 | 
			
		||||
;date = %H:%M
 | 
			
		||||
date-alt = %Y-%m-%d %H:%M:%S
 | 
			
		||||
 | 
			
		||||
label = %date%
 | 
			
		||||
label-foreground = ${colors.primary}
 | 
			
		||||
 | 
			
		||||
[settings]
 | 
			
		||||
screenchange-reload = true
 | 
			
		||||
							
								
								
									
										6
									
								
								meta/configs/arch.base.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								meta/configs/arch.base.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
			
		||||
- shell:
 | 
			
		||||
  - [arch/yay_installer, Installing yay]
 | 
			
		||||
  - 
 | 
			
		||||
    command: "yay --sudoloop --nodiffmenu --noeditmenu --noupgrademenu --nocleanmenu --noredownloadmenu --noredownload --norebuild --useask --needed -S `cat arch/base.deps | grep -v '#'",
 | 
			
		||||
    description: "Installing base dependancies"
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								meta/configs/arch.i3.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								meta/configs/arch.i3.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,5 @@
 | 
			
		||||
- shell:
 | 
			
		||||
  - 
 | 
			
		||||
    command: "yay --sudoloop --nodiffmenu --noeditmenu --noupgrademenu --nocleanmenu --noredownloadmenu --noredownload --norebuild --useask --needed -S `cat arch/i3.deps | grep -v '#'",
 | 
			
		||||
    description: "Installing i3 dependancies"
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								meta/configs/arch.picom.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								meta/configs/arch.picom.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,5 @@
 | 
			
		||||
- shell:
 | 
			
		||||
  - 
 | 
			
		||||
    command: "yay --sudoloop --nodiffmenu --noeditmenu --noupgrademenu --nocleanmenu --noredownloadmenu --noredownload --norebuild --useask --needed -S picom",
 | 
			
		||||
    description: "Installing picom"
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								meta/configs/arch.polybar.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								meta/configs/arch.polybar.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,5 @@
 | 
			
		||||
- shell:
 | 
			
		||||
  - 
 | 
			
		||||
    command: "yay --sudoloop --nodiffmenu --noeditmenu --noupgrademenu --nocleanmenu --noredownloadmenu --noredownload --norebuild --useask --needed -S polybar",
 | 
			
		||||
    description: "Installing polybar"
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										3
									
								
								meta/configs/polybar.desktop.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								meta/configs/polybar.desktop.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
			
		||||
- link:
 | 
			
		||||
    ~/.config/polybar: gui/polybar-desktop
 | 
			
		||||
    ~/.local/bin/polybar-launch.sh: bin/polybar-launch.sh
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
- link:
 | 
			
		||||
    ~/.config/polybar: gui/polybar
 | 
			
		||||
    ~/.config/polybar: gui/polybar-laptop
 | 
			
		||||
    ~/.local/bin/polybar-launch.sh: bin/polybar-launch.sh
 | 
			
		||||
@ -1,3 +0,0 @@
 | 
			
		||||
- link:
 | 
			
		||||
    ~/.tmux.conf: terminals/tmux/tmux-full.conf
 | 
			
		||||
 | 
			
		||||
@ -1,2 +0,0 @@
 | 
			
		||||
- link:
 | 
			
		||||
    ~/.tmux.conf: terminals/tmux/tmux-sparse.conf
 | 
			
		||||
							
								
								
									
										3
									
								
								meta/configs/tmux.full.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								meta/configs/tmux.full.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
			
		||||
- link:
 | 
			
		||||
    ~/.tmux.conf: terminals/tmux/tmux.full.conf
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								meta/configs/tmux.sparse.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								meta/configs/tmux.sparse.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
			
		||||
- link:
 | 
			
		||||
    ~/.tmux.conf: terminals/tmux/tmux.sparse.conf
 | 
			
		||||
@ -1,11 +0,0 @@
 | 
			
		||||
vim
 | 
			
		||||
zsh
 | 
			
		||||
oh-my-zsh
 | 
			
		||||
fzf
 | 
			
		||||
tmux-sparse
 | 
			
		||||
st
 | 
			
		||||
i3
 | 
			
		||||
polybar
 | 
			
		||||
picom
 | 
			
		||||
scripts
 | 
			
		||||
calcurse
 | 
			
		||||
							
								
								
									
										15
									
								
								meta/profiles/arch.desktop
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								meta/profiles/arch.desktop
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
			
		||||
arch.base
 | 
			
		||||
arch.i3
 | 
			
		||||
arch.picom
 | 
			
		||||
arch.polybar
 | 
			
		||||
vim
 | 
			
		||||
zsh
 | 
			
		||||
oh-my-zsh
 | 
			
		||||
fzf
 | 
			
		||||
tmux.sparse
 | 
			
		||||
st
 | 
			
		||||
i3
 | 
			
		||||
polybar.desktop
 | 
			
		||||
picom
 | 
			
		||||
scripts
 | 
			
		||||
calcurse
 | 
			
		||||
							
								
								
									
										15
									
								
								meta/profiles/arch.laptop
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								meta/profiles/arch.laptop
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
			
		||||
arch.base
 | 
			
		||||
arch.i3
 | 
			
		||||
arch.picom
 | 
			
		||||
arch.polybar
 | 
			
		||||
vim
 | 
			
		||||
zsh
 | 
			
		||||
oh-my-zsh
 | 
			
		||||
fzf
 | 
			
		||||
tmux.sparse
 | 
			
		||||
st
 | 
			
		||||
i3
 | 
			
		||||
polybar.laptop
 | 
			
		||||
picom
 | 
			
		||||
scripts
 | 
			
		||||
calcurse
 | 
			
		||||
							
								
								
									
										16
									
								
								meta/profiles/arch.work
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								meta/profiles/arch.work
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
			
		||||
arch.base
 | 
			
		||||
arch.i3
 | 
			
		||||
arch.picom
 | 
			
		||||
arch.polybar
 | 
			
		||||
vim
 | 
			
		||||
zsh
 | 
			
		||||
oh-my-zsh
 | 
			
		||||
fzf
 | 
			
		||||
tmux.sparse
 | 
			
		||||
st
 | 
			
		||||
i3
 | 
			
		||||
picom
 | 
			
		||||
polybar.desktop
 | 
			
		||||
scripts
 | 
			
		||||
timetracker
 | 
			
		||||
calcurse
 | 
			
		||||
@ -1,12 +0,0 @@
 | 
			
		||||
vim
 | 
			
		||||
zsh
 | 
			
		||||
oh-my-zsh
 | 
			
		||||
fzf
 | 
			
		||||
tmux-sparse
 | 
			
		||||
st
 | 
			
		||||
i3
 | 
			
		||||
picom
 | 
			
		||||
polybar
 | 
			
		||||
scripts
 | 
			
		||||
timetracker
 | 
			
		||||
calcurse
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
vim
 | 
			
		||||
tmux-full
 | 
			
		||||
tmux.full
 | 
			
		||||
zsh
 | 
			
		||||
oh-my-zsh
 | 
			
		||||
fzf
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user