From 4253c6b30cfc7410213f0daf976756d470f958f4 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sun, 6 Jun 2021 11:01:40 -0400 Subject: [PATCH] Emacs GUI Default Editor, Picom Full-Screen Disable, & Qbittorrent Theme - Change default editor and git editor to gui emacs - Add neofetch to bash, zsh, and fish shell prompts - Update picom config to disable when program is in full-screen mode - Add dracula-qbittorrent theme submodule --- .bashrc | 5 ++++- .config/emacs | 2 +- .config/picom/picom.conf | 4 ++++ .gitconfig | 2 +- .gitmodules | 4 ++++ .themes/dracula-gtk | 2 +- .themes/dracula-qbittorrent | 1 + .vim/pack/themes/start/dracula | 2 +- .xinitrc | 4 ++-- .xmonad | 2 +- .zshrc | 2 +- README.org | 17 ++++++++++++----- 12 files changed, 33 insertions(+), 14 deletions(-) create mode 160000 .themes/dracula-qbittorrent diff --git a/.bashrc b/.bashrc index e487b5c..704f606 100644 --- a/.bashrc +++ b/.bashrc @@ -120,7 +120,10 @@ fi alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' # ENVIRONMENT VARIABLES -export EDITOR="code -w" +export EDITOR="emacs" export TERM=xterm-256color export QT_STYLE_OVERRIDE=kvantum export XDG_CONFIG_HOME=$HOME/.config + +# Run neofetch +neofetch diff --git a/.config/emacs b/.config/emacs index c3374c3..e24d505 160000 --- a/.config/emacs +++ b/.config/emacs @@ -1 +1 @@ -Subproject commit c3374c310c0bc5b9be3cfb99377c7f74e084f58b +Subproject commit e24d5057db04df745c76e5ae23e5f17973e2f530 diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index 99f8844..97ac3d2 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -342,6 +342,10 @@ refresh-rate = 0 # when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious. # # unredir-if-possible = false +unredir-if-possible = true; +# unredir-if-possible-exclude = [ +# "class_g = 'looking-glass-client' && !focused" +# ] # Delay before unredirecting the window, in milliseconds. Defaults to 0. # unredir-if-possible-delay = 0 diff --git a/.gitconfig b/.gitconfig index 7f54cce..671f492 100644 --- a/.gitconfig +++ b/.gitconfig @@ -36,7 +36,7 @@ untrack = rm --cache -- [core] # Emacs - editor = "emacs -nw" + editor = "emacs" # Don't consider trailing space change as a cause for merge conflicts whitespace = -trailing-space [diff] diff --git a/.gitmodules b/.gitmodules index 56c2551..ff89e72 100644 --- a/.gitmodules +++ b/.gitmodules @@ -62,3 +62,7 @@ path = .xmonad url = git@github.com:balajsra/xmonad.git branch = master +[submodule ".themes/dracula-qbittorrent"] + path = .themes/dracula-qbittorrent + url = git@github.com:dracula/qbittorrent.git + branch = master diff --git a/.themes/dracula-gtk b/.themes/dracula-gtk index 1bb0e84..2413487 160000 --- a/.themes/dracula-gtk +++ b/.themes/dracula-gtk @@ -1 +1 @@ -Subproject commit 1bb0e84e39cd58fba1bf739e15fc2c16b9a66b55 +Subproject commit 24134877e0e9f626dc5662df1e16b50dfd93e85f diff --git a/.themes/dracula-qbittorrent b/.themes/dracula-qbittorrent new file mode 160000 index 0000000..3b8bc6f --- /dev/null +++ b/.themes/dracula-qbittorrent @@ -0,0 +1 @@ +Subproject commit 3b8bc6f5adb41d79391006649e847035287449d4 diff --git a/.vim/pack/themes/start/dracula b/.vim/pack/themes/start/dracula index d21059c..869f70a 160000 --- a/.vim/pack/themes/start/dracula +++ b/.vim/pack/themes/start/dracula @@ -1 +1 @@ -Subproject commit d21059cd5960f4d0a5627fda82d29371772b247f +Subproject commit 869f70a7603b77cdb2f63983dd286f3f61b7a966 diff --git a/.xinitrc b/.xinitrc index 8c8f34c..b456362 100755 --- a/.xinitrc +++ b/.xinitrc @@ -1,8 +1,8 @@ #!/bin/sh export TERM=xterm-256color # Sets the terminal type export SHELL=/usr/bin/fish # Preferred shell -export EDITOR="emacs -nw" # Default editor -export GIT_EDITOR="emacs -nw" # Default git editor +export EDITOR="emacs" # Default editor +export GIT_EDITOR="emacs" # Default git editor export BROWSER=vivaldi-stable # Web Browser export XDG_CONFIG_HOME=$HOME/.config # Set Config directory export QT_QPA_PLATFORMTHEME=qt5ct # QGtkStyle diff --git a/.xmonad b/.xmonad index 1acc6a0..8c5c283 160000 --- a/.xmonad +++ b/.xmonad @@ -1 +1 @@ -Subproject commit 1acc6a0755996700f288898f0f3bebca2db7ada7 +Subproject commit 8c5c283da5803a8fa18d0261de060895c591b77c diff --git a/.zshrc b/.zshrc index 13ba1eb..bfaa6ed 100644 --- a/.zshrc +++ b/.zshrc @@ -185,5 +185,5 @@ alias tb='nc termbin.com 9999' # Set your countries like --country France --country Germany -- or more. alias upd='sudo reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist && cat /etc/pacman.d/mirrorlist && sudo pacman -Syu && sudo updatedb' -## Run neofetch +# Run neofetch neofetch diff --git a/README.org b/README.org index 05f5673..909e902 100644 --- a/README.org +++ b/README.org @@ -113,7 +113,7 @@ Pull and update submodules untrack = rm --cache -- [core] # Emacs - editor = "emacs -nw" + editor = "emacs" # Don't consider trailing space change as a cause for merge conflicts whitespace = -trailing-space [diff] @@ -1979,6 +1979,10 @@ Pull and update submodules # when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious. # # unredir-if-possible = false + unredir-if-possible = true; + # unredir-if-possible-exclude = [ + # "class_g = 'looking-glass-client' && !focused" + # ] # Delay before unredirecting the window, in milliseconds. Defaults to 0. # unredir-if-possible-delay = 0 @@ -3368,10 +3372,13 @@ Pull and update submodules alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' # ENVIRONMENT VARIABLES - export EDITOR="code -w" + export EDITOR="emacs" export TERM=xterm-256color export QT_STYLE_OVERRIDE=kvantum export XDG_CONFIG_HOME=$HOME/.config + + # Run neofetch + neofetch #+end_src *** Zsh @@ -3563,7 +3570,7 @@ Pull and update submodules # Set your countries like --country France --country Germany -- or more. alias upd='sudo reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist && cat /etc/pacman.d/mirrorlist && sudo pacman -Syu && sudo updatedb' - ## Run neofetch + # Run neofetch neofetch #+end_src @@ -6402,8 +6409,8 @@ Configuration for Alacritty, the GPU enhanced terminal emulator. #+begin_src shell :shebang #!/bin/sh :tangle .xinitrc export TERM=xterm-256color # Sets the terminal type export SHELL=/usr/bin/fish # Preferred shell - export EDITOR="emacs -nw" # Default editor - export GIT_EDITOR="emacs -nw" # Default git editor + export EDITOR="emacs" # Default editor + export GIT_EDITOR="emacs" # Default git editor export BROWSER=vivaldi-stable # Web Browser export XDG_CONFIG_HOME=$HOME/.config # Set Config directory export QT_QPA_PLATFORMTHEME=qt5ct # QGtkStyle