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
This commit is contained in:
Sravan Balaji
2021-06-06 11:01:40 -04:00
parent 73569b9394
commit 4253c6b30c
12 changed files with 33 additions and 14 deletions

View File

@@ -120,7 +120,10 @@ fi
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
# ENVIRONMENT VARIABLES # ENVIRONMENT VARIABLES
export EDITOR="code -w" export EDITOR="emacs"
export TERM=xterm-256color export TERM=xterm-256color
export QT_STYLE_OVERRIDE=kvantum export QT_STYLE_OVERRIDE=kvantum
export XDG_CONFIG_HOME=$HOME/.config export XDG_CONFIG_HOME=$HOME/.config
# Run neofetch
neofetch

View File

@@ -342,6 +342,10 @@ refresh-rate = 0
# when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious. # when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious.
# #
# unredir-if-possible = false # 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. # Delay before unredirecting the window, in milliseconds. Defaults to 0.
# unredir-if-possible-delay = 0 # unredir-if-possible-delay = 0

View File

@@ -36,7 +36,7 @@
untrack = rm --cache -- untrack = rm --cache --
[core] [core]
# Emacs # Emacs
editor = "emacs -nw" editor = "emacs"
# Don't consider trailing space change as a cause for merge conflicts # Don't consider trailing space change as a cause for merge conflicts
whitespace = -trailing-space whitespace = -trailing-space
[diff] [diff]

4
.gitmodules vendored
View File

@@ -62,3 +62,7 @@
path = .xmonad path = .xmonad
url = git@github.com:balajsra/xmonad.git url = git@github.com:balajsra/xmonad.git
branch = master branch = master
[submodule ".themes/dracula-qbittorrent"]
path = .themes/dracula-qbittorrent
url = git@github.com:dracula/qbittorrent.git
branch = master

View File

@@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
export TERM=xterm-256color # Sets the terminal type export TERM=xterm-256color # Sets the terminal type
export SHELL=/usr/bin/fish # Preferred shell export SHELL=/usr/bin/fish # Preferred shell
export EDITOR="emacs -nw" # Default editor export EDITOR="emacs" # Default editor
export GIT_EDITOR="emacs -nw" # Default git editor export GIT_EDITOR="emacs" # Default git editor
export BROWSER=vivaldi-stable # Web Browser export BROWSER=vivaldi-stable # Web Browser
export XDG_CONFIG_HOME=$HOME/.config # Set Config directory export XDG_CONFIG_HOME=$HOME/.config # Set Config directory
export QT_QPA_PLATFORMTHEME=qt5ct # QGtkStyle export QT_QPA_PLATFORMTHEME=qt5ct # QGtkStyle

Submodule .xmonad updated: 1acc6a0755...8c5c283da5

2
.zshrc
View File

@@ -185,5 +185,5 @@ alias tb='nc termbin.com 9999'
# Set your countries like --country France --country Germany -- or more. # 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' 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 neofetch

View File

@@ -113,7 +113,7 @@ Pull and update submodules
untrack = rm --cache -- untrack = rm --cache --
[core] [core]
# Emacs # Emacs
editor = "emacs -nw" editor = "emacs"
# Don't consider trailing space change as a cause for merge conflicts # Don't consider trailing space change as a cause for merge conflicts
whitespace = -trailing-space whitespace = -trailing-space
[diff] [diff]
@@ -1979,6 +1979,10 @@ Pull and update submodules
# when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious. # when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious.
# #
# unredir-if-possible = false # 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. # Delay before unredirecting the window, in milliseconds. Defaults to 0.
# unredir-if-possible-delay = 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' alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
# ENVIRONMENT VARIABLES # ENVIRONMENT VARIABLES
export EDITOR="code -w" export EDITOR="emacs"
export TERM=xterm-256color export TERM=xterm-256color
export QT_STYLE_OVERRIDE=kvantum export QT_STYLE_OVERRIDE=kvantum
export XDG_CONFIG_HOME=$HOME/.config export XDG_CONFIG_HOME=$HOME/.config
# Run neofetch
neofetch
#+end_src #+end_src
*** Zsh *** Zsh
@@ -3563,7 +3570,7 @@ Pull and update submodules
# Set your countries like --country France --country Germany -- or more. # 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' 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 neofetch
#+end_src #+end_src
@@ -6402,8 +6409,8 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
#+begin_src shell :shebang #!/bin/sh :tangle .xinitrc #+begin_src shell :shebang #!/bin/sh :tangle .xinitrc
export TERM=xterm-256color # Sets the terminal type export TERM=xterm-256color # Sets the terminal type
export SHELL=/usr/bin/fish # Preferred shell export SHELL=/usr/bin/fish # Preferred shell
export EDITOR="emacs -nw" # Default editor export EDITOR="emacs" # Default editor
export GIT_EDITOR="emacs -nw" # Default git editor export GIT_EDITOR="emacs" # Default git editor
export BROWSER=vivaldi-stable # Web Browser export BROWSER=vivaldi-stable # Web Browser
export XDG_CONFIG_HOME=$HOME/.config # Set Config directory export XDG_CONFIG_HOME=$HOME/.config # Set Config directory
export QT_QPA_PLATFORMTHEME=qt5ct # QGtkStyle export QT_QPA_PLATFORMTHEME=qt5ct # QGtkStyle