updated term to st on fish; fixed i3 startup apps; polybar now uses xresources

This commit is contained in:
Tiago Sousa 2024-02-09 19:57:50 +00:00
parent 42ba5de6bb
commit e62f0f1077
4 changed files with 35 additions and 34 deletions

View file

@ -3,8 +3,8 @@ if status is-interactive
end end
export EDITOR="nvim" export EDITOR="nvim"
export TERMINAL="alacritty" export TERMINAL="st"
export TERMINAL_PROG="alacritty" export TERMINAL_PROG="st"
export BROWSER="firefox" export BROWSER="firefox"
export PAGER="bat" export PAGER="bat"

View file

@ -230,7 +230,8 @@ assign [class="discord"] 5
# startup programs # startup programs
exec --no-startup-id nextcloud exec --no-startup-id nextcloud
exec --no-startup-id nitrogen --restore exec --no-startup-id nitrogen --restore
exec --no-startup-id i3-msg 'workspace 2; exec firefox; workspace 1; exec $terminal' exec --no-startup-id i3-msg 'workspace 2; exec $browser'
exec --no-startup-id i3-msg 'workspace 1; exec $terminal'
exec --no-startup-id openrgb -d 0 -m off -d 1 -m off exec --no-startup-id openrgb -d 0 -m off -d 1 -m off
# sets up monitors and picom # sets up monitors and picom
exec_always --no-startup-id ~/.local/share/scripts/monitor.sh exec_always --no-startup-id ~/.local/share/scripts/monitor.sh

View file

@ -17,7 +17,7 @@
;========================================================== ;==========================================================
include-file = modules.ini include-file = modules.ini
include-file = $HOME/.config/polybar/themes/macchiato.ini include-file = $HOME/.config/polybar/themes/xresources.ini
[settings] [settings]
screenchange-reload = true screenchange-reload = true
@ -43,8 +43,8 @@ modules-left = i3 sep title
modules-center = date dot time modules-center = date dot time
modules-right = xkeyboard dot cpu dot amdgpu dot memory dot pulseaudio sep filesystem modules-right = xkeyboard dot cpu dot amdgpu dot memory dot pulseaudio sep filesystem
background = ${colors.base} background = ${colors.background}
foreground = ${colors.text} foreground = ${colors.foreground}
line-size = 3pt line-size = 3pt
padding-right = 1 padding-right = 1
@ -67,8 +67,8 @@ modules-left = i3 sep title
modules-center = date dot time modules-center = date dot time
modules-right = xkeyboard dot cpu dot gpu dot memory dot backlight dot pulseaudio sep filesystem sep battery modules-right = xkeyboard dot cpu dot gpu dot memory dot backlight dot pulseaudio sep filesystem sep battery
background = ${colors.base} background = ${colors.background}
foreground = ${colors.text} foreground = ${colors.foreground}
line-size = 3pt line-size = 3pt
padding-right = 1 padding-right = 1
@ -90,8 +90,8 @@ modules-left = i3
modules-center = date dot time modules-center = date dot time
modules-right = cpu dot gpu dot memory dot pulseaudio sep filesystem modules-right = cpu dot gpu dot memory dot pulseaudio sep filesystem
background = ${colors.base} background = ${colors.background}
foreground = ${colors.text} foreground = ${colors.foreground}
line-size = 3pt line-size = 3pt
padding-right = 1 padding-right = 1

View file

@ -13,8 +13,8 @@ format = <label-state> <label-mode>
label-mode = %mode% label-mode = %mode%
label-mode-padding = 1 label-mode-padding = 1
label-focused = %index% label-focused = %index%
label-focused-foreground = ${colors.text} label-focused-foreground = ${colors.foreground}
label-focused-underline = ${colors.lavender} label-focused-underline = ${colors.lightgrey}
label-focused-padding = 1 label-focused-padding = 1
label-unfocused = %index% label-unfocused = %index%
label-unfocused-padding = 1 label-unfocused-padding = 1
@ -28,8 +28,8 @@ label-urgent-padding = 1
[module/xworkspaces] [module/xworkspaces]
type = internal/xworkspaces type = internal/xworkspaces
label-active = %name% label-active = %name%
label-active-foreground = ${colors.sky} label-active-foreground = ${colors.lightblue}
label-active-underline= ${colors.lavender} label-active-underline= ${colors.lightgrey}
label-active-padding = 1 label-active-padding = 1
label-occupied = %name% label-occupied = %name%
label-occupied-padding = 1 label-occupied-padding = 1
@ -44,20 +44,20 @@ type = internal/xkeyboard
format = <label-layout> format = <label-layout>
format-prefix = 󰌌 format-prefix = 󰌌
format-prefix-foreground = ${colors.mauve} format-prefix-foreground = ${colors.magenta}
format-prefix-padding-right = 1 format-prefix-padding-right = 1
format-spacing = 0 format-spacing = 0
label-layout = %layout% label-layout = %layout%
label-layout-padding = 0 label-layout-padding = 0
label-layout-background = ${colors.base} label-layout-background = ${colors.background}
label-layout-foreground = ${colors.text} label-layout-foreground = ${colors.foreground}
[module/title] [module/title]
type = internal/xwindow type = internal/xwindow
format = <label> format = <label>
;format-foreground = ${colors.text} ;format-foreground = ${colors.foreground}
format-padding = 2 format-padding = 2
label = %title% label = %title%
@ -117,7 +117,7 @@ interval = 1
label = %used% label = %used%
format = <label> format = <label>
format-prefix = 󰘚 format-prefix = 󰘚
format-prefix-foreground = ${colors.peach} format-prefix-foreground = ${colors.magenta}
format-prefix-padding-right = 1 format-prefix-padding-right = 1
[module/filesystem] [module/filesystem]
@ -138,18 +138,18 @@ interval = 5
format-volume = <ramp-volume><label-volume> format-volume = <ramp-volume><label-volume>
label-volume = %percentage%% label-volume = %percentage%%
ramp-volume-0 = 󰕿 ramp-volume-0 = 󰕿
ramp-volume-0-foreground = ${colors.teal} ramp-volume-0-foreground = ${colors.lightgreen}
ramp-volume-0-padding-right = 1 ramp-volume-0-padding-right = 1
ramp-volume-1 = 󰖀 ramp-volume-1 = 󰖀
ramp-volume-1-foreground = ${colors.teal} ramp-volume-1-foreground = ${colors.lightgreen}
ramp-volume-1-padding-right = 1 ramp-volume-1-padding-right = 1
ramp-volume-2 = 󰕾 ramp-volume-2 = 󰕾
ramp-volume-2-foreground = ${colors.teal} ramp-volume-2-foreground = ${colors.lightgreen}
ramp-volume-2-padding-right = 1 ramp-volume-2-padding-right = 1
label-muted = MUTED label-muted = MUTED
label-muted-foreground = ${colors.subtext0} label-muted-foreground = ${colors.lightgrey}
format-muted-prefix = 󰝟 format-muted-prefix = 󰝟
format-muted-prefix-foreground = ${colors.maroon} format-muted-prefix-foreground = ${colors.red}
format-muted-prefix-padding-right = 1 format-muted-prefix-padding-right = 1
click-right = pavucontrol || pulseaudio-equalizer-ladspa || pulseeffects || easyeffects click-right = pavucontrol || pulseaudio-equalizer-ladspa || pulseeffects || easyeffects
@ -286,7 +286,7 @@ date = %a, %B %d
label = %date% label = %date%
format = <label> format = <label>
format-prefix = 󰃭 format-prefix = 󰃭
format-prefix-foreground = ${colors.rosewater} format-prefix-foreground = ${colors.lightyellow}
format-prefix-padding-right = 1 format-prefix-padding-right = 1
[module/time] [module/time]
@ -296,25 +296,25 @@ time = %H:%M
label = %time% label = %time%
format = <label> format = <label>
format-prefix = 󰥔 format-prefix = 󰥔
format-prefix-foreground = ${colors.pink} format-prefix-foreground = ${colors.lightmagenta}
format-prefix-padding-right = 1 format-prefix-padding-right = 1
[module/space] [module/space]
type = custom/text type = custom/text
content = _ content = _
content-foreground = ${colors.crust} content-foreground = ${colors.background}
content-padding = 0.5 content-padding = 0.5
[module/dot] [module/dot]
type = custom/text type = custom/text
content = 󰧞 content = 󰧞
content-foreground = ${colors.overlay0} content-foreground = ${colors.grey}
content-padding = 1 content-padding = 1
[module/sep] [module/sep]
type = custom/text type = custom/text
content = | content = |
content-foreground = ${colors.overlay0} content-foreground = ${colors.grey}
content-padding = 1 content-padding = 1