Submodule Updates & Picom Config Changes

- Update doom-emacs submodule
- Update dracula theme submodules
- Update doom-emacs-config submodule with file extension mode
  association and frame opacity
- Update dwm-flexipatch submodule with deck layout
- Update picom config to vsync at 144Hz instead of auto-detecting
  refresh rate
- Add matlab-schemes submodule for MATLAB editor themeing
- Remove automatically turning picom back on in game_exit.sh because
  it causing visual glitches. Manually turning it back on seems
  to work fine.
- Fix rofi menu icons for picom script
- Use picom "-b" flag instead of running it in background manually
  with "&"
This commit is contained in:
Sravan Balaji
2021-09-26 18:17:57 -04:00
parent cac0719d5f
commit 9017a65bcf
21 changed files with 29 additions and 24 deletions

View File

@@ -323,6 +323,7 @@ detect-client-opacity = true;
# try detecting this with X RandR extension. # try detecting this with X RandR extension.
# #
# refresh-rate = 60 # refresh-rate = 60
refresh-rate = 144
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to # Limit picom to repaint at most once every 1 / 'refresh_rate' second to
# boost performance. This should not be used with # boost performance. This should not be used with

4
.gitmodules vendored
View File

@@ -90,3 +90,7 @@
path = .config/zathura path = .config/zathura
url = git@github.com:dracula/zathura.git url = git@github.com:dracula/zathura.git
branch = master branch = master
[submodule ".themes/matlab-schemes"]
path = .themes/matlab-schemes
url = git@github.com:scottclowe/matlab-schemes.git
branch = master

View File

@@ -1,3 +1,2 @@
#!/bin/bash #!/bin/bash
/home/sravan/.scripts/deadd.sh --unpause /home/sravan/.scripts/deadd.sh --unpause
/home/sravan/.scripts/picom.sh --on

View File

@@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
/home/sravan/.scripts/deadd.sh --pause
/home/sravan/.scripts/picom.sh --off /home/sravan/.scripts/picom.sh --off
/home/sravan/.scripts/deadd.sh --pause

View File

@@ -18,8 +18,8 @@ is_running() {
rofi_menu() { rofi_menu() {
declare -a options=( declare -a options=(
"⏼ Toggle - toggle" "⏼ Toggle - toggle"
" Turn On - on" " Turn On - on"
" Turn Off - off" " Turn Off - off"
" Back - back" " Back - back"
" Quit - quit" " Quit - quit"
) )
@@ -55,7 +55,7 @@ main() {
killall picom killall picom
fi fi
picom --config /home/sravan/.config/picom/picom.conf & picom --config /home/sravan/.config/picom/picom.conf -b
notify-send "Turning Picom ON" notify-send "Turning Picom ON"
;; ;;

View File

@@ -2573,6 +2573,7 @@ detect-client-opacity = true;
# try detecting this with X RandR extension. # try detecting this with X RandR extension.
# #
# refresh-rate = 60 # refresh-rate = 60
refresh-rate = 144
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to # Limit picom to repaint at most once every 1 / 'refresh_rate' second to
# boost performance. This should not be used with # boost performance. This should not be used with
@@ -2781,8 +2782,8 @@ is_running() {
rofi_menu() { rofi_menu() {
declare -a options=( declare -a options=(
"⏼ Toggle - toggle" "⏼ Toggle - toggle"
" Turn On - on" " Turn On - on"
" Turn Off - off" " Turn Off - off"
" Back - back" " Back - back"
" Quit - quit" " Quit - quit"
) )
@@ -2818,7 +2819,7 @@ main() {
killall picom killall picom
fi fi
picom --config /home/sravan/.config/picom/picom.conf & picom --config /home/sravan/.config/picom/picom.conf -b
notify-send "Turning Picom ON" notify-send "Turning Picom ON"
;; ;;
@@ -7850,8 +7851,8 @@ These are scripts that should be run from Lutris when launching or exiting a gam
*Preferences > System options > Pre-launch script* *Preferences > System options > Pre-launch script*
#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/game_launch.sh #+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/game_launch.sh
/home/sravan/.scripts/deadd.sh --pause
/home/sravan/.scripts/picom.sh --off /home/sravan/.scripts/picom.sh --off
/home/sravan/.scripts/deadd.sh --pause
#+END_SRC #+END_SRC
*** Post-Exit Script *** Post-Exit Script
@@ -7860,7 +7861,6 @@ These are scripts that should be run from Lutris when launching or exiting a gam
#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/game_exit.sh #+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/game_exit.sh
/home/sravan/.scripts/deadd.sh --unpause /home/sravan/.scripts/deadd.sh --unpause
/home/sravan/.scripts/picom.sh --on
#+END_SRC #+END_SRC
** Control Center ** Control Center