fixed picom high cpu bug

This commit is contained in:
Tiago Sousa 2024-02-08 11:23:23 +00:00
parent 92e8fe2e17
commit 0388b96afb
3 changed files with 34 additions and 10 deletions

View file

@ -1,22 +1,42 @@
! catppuccin color scheme ! catppuccin color scheme
*.color0: #494D64 *.color0: #494D64
*.color1: #ED8796
*.color2: #A6DA95
*.color3: #EED49F
*.color4: #8AADF4
*.color5: #F5BDE6
*.color6: #8BD5CA
*.color7: #B8C0E0
*.color8: #5B6078 *.color8: #5B6078
*.color1: #ED8796
*.color9: #ED8796 *.color9: #ED8796
*.color2: #A6DA95
*.color10: #A6DA95 *.color10: #A6DA95
*.color3: #EED49F
*.color11: #EED49F *.color11: #EED49F
*.color4: #8AADF4
*.color12: #8AADF4 *.color12: #8AADF4
*.color5: #F5BDE6
*.color13: #F5BDE6 *.color13: #F5BDE6
*.color6: #8BD5CA
*.color14: #8BD5CA *.color14: #8BD5CA
*.color7: #B8C0E0
*.color15: #A5ADCB *.color15: #A5ADCB
*.background: #24273A *.background: #24273A
*.foreground: #CAD3F5 *.foreground: #CAD3F5
*.cursorColor: #F4DBD6 *.cursorColor: #F4DBD6
! gruvbox color scheme ! gruvbox light color scheme
! contrast alternative #FBF1C7
!*.color0: #F9F5D7
!*.color8: #928374
!*.color1: #CC241D
!*.color9: #9D0006
!*.color2: #98971A
!*.color10: #79740E
!*.color3: #D79921
!*.color11: #B57614
!*.color4: #458588
!*.color12: #076678
!*.color5: #B16286
!*.color13: #8F3F71
!*.color6: #689D6A
!*.color14: #427B58
!*.color7: #7C6F64
!*.color15: #3C3836
!*.background: #F9F5D7
!*.foreground: #3C3836
!*.cursorColor: #3C3836

View file

@ -11,7 +11,7 @@
set $mod Mod1 set $mod Mod1
set $mod2 Mod4 set $mod2 Mod4
set $browser firefox set $browser firefox
set $terminal alacritty set $terminal st
# Font for window titles. Will also be used by the bar unless a different font # Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. # is used in the bar {} block below.
@ -231,7 +231,8 @@ assign [class="discord"] 5
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 firefox; workspace 1; exec $terminal'
exec --no-startup-id picom -b
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
exec_always --no-startup-id ~/.local/share/scripts/monitor.sh
exec_always --no-startup-id ~/.config/polybar/launch.sh exec_always --no-startup-id ~/.config/polybar/launch.sh

View file

@ -11,3 +11,6 @@ else
xrandr --output HDMI-1-0 --above eDP-1 xrandr --output HDMI-1-0 --above eDP-1
xrandr --output HDMI-1-0 --primary xrandr --output HDMI-1-0 --primary
fi fi
pkill picom
picom -b