cava, i3, polybar stuff

This commit is contained in:
clint 2022-04-16 10:33:59 -05:00
parent e137160652
commit 824a673d00
3 changed files with 53 additions and 31 deletions

View File

@ -147,27 +147,33 @@
; gradient_color_7 = '#cc5933'
; gradient_color_8 = '#cc3333'
gradient_color_1 = '#842563'
gradient_color_2 = '#7f2f73'
gradient_color_3 = '#851b52'
gradient_color_4 = '#773a83'
gradient_color_5 = '#6c4492'
gradient_color_6 = '#5c4f9f'
gradient_color_7 = '#4559aa'
gradient_color_8 = '#1e62b3'
# gradient_color_1 = '#842563'
# gradient_color_2 = '#7f2f73'
# gradient_color_3 = '#851b52'
# gradient_color_4 = '#773a83'
# gradient_color_5 = '#6c4492'
# gradient_color_6 = '#5c4f9f'
# gradient_color_7 = '#4559aa'
# gradient_color_8 = '#1e62b3'
gradient_color_1 = '#fafa6e'
gradient_color_2 = '#f2dd56'
gradient_color_3 = '#e7c141'
gradient_color_4 = '#dba52f'
gradient_color_5 = '#ce8a20'
gradient_color_6 = '#bf6f13'
gradient_color_7 = '#ae550a'
gradient_color_8 = '#9c3a05'
[smoothing]
# Percentage value for integral smoothing. Takes values from 0 - 100.
# Higher values means smoother, but less precise. 0 to disable.
; integral = 77
; integral = 100
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
; monstercat = 0
; waves = 0
; monstercat = 1
; waves = 1
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".

View File

@ -163,13 +163,14 @@ bindsym $mod+Shift+0 move container to workspace number $ws10
# tryin some stuff, not sure if this is what i want
workspace $ws1 output HDMI-0
workspace $ws2 output HDMI-1
workspace $ws3 output HDMI-1
workspace $ws3 output HDMI-0
workspace $ws4 output HDMI-1
# set which programs open in which workspaces
# to find the class, run xprop in a terminal and click on a program
#assign [class="Alacritty"] $ws1
assign [class="firefox"] $ws2
assign [class="pycharm"] $ws3
assign [class="Gimp"] $ws3
# these programs will float
@ -243,7 +244,7 @@ set $bar-inactive_workspace #755B69
#}
# set background on startup
set $wallpaper ~/Pictures/wallpapers/trees_mountain.jpg
set $wallpaper ~/Pictures/wallpapers/trees_fog.jpg
exec --no-startup-id feh --bg-fill $wallpaper
# turn picom on on start up
@ -256,9 +257,11 @@ for_window [class=".*"] border pixel 1
gaps inner 10
# messin with colors
# set $bd-color #ff004b
set $bd-color #1de071
set $bd-indicator #d42069
#set $bd-color #1de071
#set $bd-indicator #d42069
set $bd-color #76b5c5
set $bd-indicator #ffffff
# colorclass border bg text indicator child_border
client.focused $bd-color #111111 #ffffff $bd-indicator $bd-color
@ -275,6 +278,7 @@ bindsym $mod+x exec ~/.scripts/dmenu_shutdown.sh
# common programs
bindsym $mod+Shift+w exec firefox
bindsym $mod+Shift+p exec pycharm
bindsym $mod+g exec gimp
bindsym $mod+m workspace $ws4; exec spotifyd; exec alacritty -e spt
bindsym $mod+Shift+m exec killall spt; exec killall spotifyd

View File

@ -16,17 +16,20 @@
;
;==========================================================
[colors2]
background = #806DAEDB
background-alt = #173753
background-inactive = #806DAEDB
foreground = #000000
foreground-alt = #fff
; dark
[colors]
background = #0B0A07
background-alt = #0B0A07
background-inactive = #4A4430
foreground = #BBCEA8
foreground-alt = #E3D87E
primary = #ffb52a
secondary = #e60053
underline = #F0EC57
alert = #bd2c40
[colors]
; transparent
[colors2]
background = #00553555
background-alt = #50553555
background-inactive = #50755B69
@ -65,7 +68,7 @@ font-1 = Source Han Sans JP,源ノ角ゴシック JP:style=Regular
font-2 = NotoSansMono Nerd Font:style=Regular
font-3 = FontAwesome6Free
modules-left = i3
modules-left = i3 title
modules-center =
modules-right = pacman finance memory cpu filesystem wireless-network weather date
@ -92,7 +95,7 @@ type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
strip-wsnumbers = true
strip-wsnumbers = false
; Only show workspaces on the same output as the bar
;pin-workspaces = true
@ -142,7 +145,7 @@ label-urgent-padding = 2
[module/date]
type = internal/date
interval = 1.0
date = 📅 %A, %B %d, %Y %I:%M:%S %p
date = %{A1:alacritty -e calcurse:} 📅 %A, %B %d, %Y %I:%M:%S %p %{A}
[module/filesystem]
type = internal/fs
@ -151,7 +154,7 @@ interval = 60
mount-0 = /
mount-1 = /home
label-mounted =  %mountpoint%: %percentage_used%%
label-mounted = %{A1:alacritty --hold -e df -h:}  %mountpoint%: %percentage_used%% %{A}
;label-unmounted = %mountpoint% not mounted
;label-unmounted-foreground = ${colors.foreground-alt}
@ -162,7 +165,14 @@ label-separator = |
type = internal/cpu
interval = 10
warn-percentage = 95
label =  CPU %percentage%%
label = %{A1:alacritty -e htop:}  CPU %percentage%% %{A}
[module/title]
type = internal/xwindow
format-background = ${colors.background-alt}
format-foreground = ${colors.foreground}
format-padding = 2
label-underline = ${colors.primary}
[module/memory]
type = internal/memory
@ -186,16 +196,18 @@ format-background = #444444
type = custom/script
exec = ~/.scripts/i3_weather.sh
interval = 3600
click-left = alacritty --hold -e curl -Ss http://wttr.in
[module/finance]
type = custom/script
exec = ~/.scripts/i3_finance.sh
interval = 60
interval = 3600
[module/pacman]
type = custom/script
exec = ~/.scripts/i3_pacman.sh
interval = 3600
click-left = [[ $(pacman -Qu | wc -l) -gt 0 ]] && alacritty --hold -e pacman -Qu
[settings]
screenchange-reload = true