Switch from Xmonad to DWM, MangoHud Config Changes, & Fallout Grub Theme
- Change "~" to "=" in some places in README.org - Update MangoHud config to show info about RAM, Disk, GPU, etc. - Switch from xmonad to dwm - Add dwm-flexipatch submodule - Add fallout grub theme submodule - Add notifications to session control script - Remove nyrna from autostart - Add Bauh package management GUI to autostart - Comment out turning picom off when starting game since it stops when a program goes fullscreen now
This commit is contained in:
13
.Xresources
13
.Xresources
@@ -53,6 +53,19 @@
|
|||||||
#define MAXLEN 50
|
#define MAXLEN 50
|
||||||
#define CURSOR_SIZE 16
|
#define CURSOR_SIZE 16
|
||||||
|
|
||||||
|
! DWM
|
||||||
|
dwm.normbordercolor: BLACK2
|
||||||
|
dwm.normbgcolor: BACKGROUND
|
||||||
|
dwm.normfgcolor: FOREGROUND
|
||||||
|
dwm.selbordercolor: PURPLE1
|
||||||
|
dwm.selbgcolor: PURPLE1
|
||||||
|
dwm.selfgcolor: BACKGROUND
|
||||||
|
dwm.borderpx: BORDER_SIZE
|
||||||
|
dwm.gappih: INNER_GAPS
|
||||||
|
dwm.gappiv: INNER_GAPS
|
||||||
|
dwm.gappoh: OUTER_GAPS
|
||||||
|
dwm.gappov: OUTER_GAPS
|
||||||
|
|
||||||
! Polybar
|
! Polybar
|
||||||
polybar.bar-height: BAR_HEIGHT
|
polybar.bar-height: BAR_HEIGHT
|
||||||
polybar.module-margin: MODULE_MARGIN
|
polybar.module-margin: MODULE_MARGIN
|
||||||
|
@@ -1,22 +1,41 @@
|
|||||||
cpu_stats
|
legacy_layout=false
|
||||||
cpu_temp
|
|
||||||
cpu_color=2e97cb
|
|
||||||
cpu_text=CPU
|
|
||||||
gpu_stats
|
gpu_stats
|
||||||
gpu_temp
|
gpu_temp
|
||||||
gpu_core_clock
|
gpu_core_clock
|
||||||
gpu_mem_clock
|
gpu_mem_clock
|
||||||
vulkan_driver
|
gpu_power
|
||||||
gpu_name
|
gpu_load_change
|
||||||
gpu_color=2e9762
|
gpu_load_value=50,90
|
||||||
|
gpu_load_color=FFFFFF,FF7800,CC0000
|
||||||
gpu_text=GPU
|
gpu_text=GPU
|
||||||
|
cpu_stats
|
||||||
|
cpu_temp
|
||||||
|
cpu_power
|
||||||
|
cpu_mhz
|
||||||
|
cpu_load_change
|
||||||
|
cpu_load_value=50,90
|
||||||
|
cpu_load_color=FFFFFF,FF7800,CC0000
|
||||||
|
cpu_color=2e97cb
|
||||||
|
cpu_text=CPU
|
||||||
|
io_stats
|
||||||
|
io_read
|
||||||
|
io_write
|
||||||
|
io_color=a491d3
|
||||||
|
swap
|
||||||
vram
|
vram
|
||||||
vram_color=ad64c1
|
vram_color=ad64c1
|
||||||
ram
|
ram
|
||||||
ram_color=c26693
|
ram_color=c26693
|
||||||
io_color=a491d3
|
fps
|
||||||
|
engine_color=eb5b5b
|
||||||
|
gpu_name
|
||||||
|
gpu_color=2e9762
|
||||||
|
vulkan_driver
|
||||||
|
wine
|
||||||
|
wine_color=eb5b5b
|
||||||
frame_timing=1
|
frame_timing=1
|
||||||
frametime_color=00ff00
|
frametime_color=00ff00
|
||||||
|
media_player_color=ffffff
|
||||||
background_alpha=0.4
|
background_alpha=0.4
|
||||||
font_size=24
|
font_size=24
|
||||||
background_color=020202
|
background_color=020202
|
||||||
@@ -24,5 +43,5 @@ position=top-left
|
|||||||
text_color=ffffff
|
text_color=ffffff
|
||||||
toggle_hud=Shift_R+F12
|
toggle_hud=Shift_R+F12
|
||||||
toggle_logging=Shift_L+F2
|
toggle_logging=Shift_L+F2
|
||||||
output_file=/home/sravan/mangohud_log_
|
output_folder=/home/sravan
|
||||||
media_player_name=spotify
|
media_player_name=spotify
|
||||||
|
1
.config/dwm-flexipatch
Submodule
1
.config/dwm-flexipatch
Submodule
Submodule .config/dwm-flexipatch added at d5ddc83bed
Submodule .config/emacs updated: e24d5057db...5c9d8fb5c7
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -66,3 +66,9 @@
|
|||||||
path = .themes/dracula-qbittorrent
|
path = .themes/dracula-qbittorrent
|
||||||
url = git@github.com:dracula/qbittorrent.git
|
url = git@github.com:dracula/qbittorrent.git
|
||||||
branch = master
|
branch = master
|
||||||
|
[submodule ".config/dwm-flexipatch"]
|
||||||
|
path = .config/dwm-flexipatch
|
||||||
|
url = git@github.com:balajsra/dwm-flexipatch.git
|
||||||
|
[submodule ".themes/fallout-grub-theme"]
|
||||||
|
path = .themes/fallout-grub-theme
|
||||||
|
url = git@github.com:shvchk/fallout-grub-theme.git
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/home/sravan/.scripts/picom.sh --off
|
# /home/sravan/.scripts/picom.sh --off
|
||||||
/home/sravan/.scripts/dunst.sh --dnd
|
/home/sravan/.scripts/dunst.sh --dnd
|
||||||
|
@@ -11,7 +11,7 @@ help_menu() {
|
|||||||
|
|
||||||
rofi_menu() {
|
rofi_menu() {
|
||||||
declare -a options=(
|
declare -a options=(
|
||||||
" Recompile & Restart Xmonad - restart"
|
"勒 Restart Dwm - restart"
|
||||||
" Logout - logout"
|
" Logout - logout"
|
||||||
" Lock - lock"
|
" Lock - lock"
|
||||||
"⏾ Sleep - sleep"
|
"⏾ Sleep - sleep"
|
||||||
@@ -39,26 +39,32 @@ main() {
|
|||||||
help_menu
|
help_menu
|
||||||
;;
|
;;
|
||||||
--logout)
|
--logout)
|
||||||
notify-send -t 0 "Session Control" "Press M-S-q to exit xmonad"
|
notify-send "Session Control" "Logging Out of Dwm"
|
||||||
|
xdotool key Super+Shift_L+q
|
||||||
;;
|
;;
|
||||||
--lock)
|
--lock)
|
||||||
|
notify-send "Session Control" "Locking Session"
|
||||||
light-locker-command --lock
|
light-locker-command --lock
|
||||||
;;
|
;;
|
||||||
--sleep)
|
--sleep)
|
||||||
|
notify-send "Session Control" "Going to Sleep"
|
||||||
systemctl suspend
|
systemctl suspend
|
||||||
;;
|
;;
|
||||||
--reboot)
|
--reboot)
|
||||||
|
notify-send "Session Control" "Rebooting System"
|
||||||
reboot
|
reboot
|
||||||
;;
|
;;
|
||||||
--shutdown)
|
--shutdown)
|
||||||
|
notify-send "Session Control" "Shutting Down System"
|
||||||
shutdown now
|
shutdown now
|
||||||
;;
|
;;
|
||||||
--hibernate)
|
--hibernate)
|
||||||
|
notify-send "Session Control" "Hibernating System"
|
||||||
systemctl hibernate
|
systemctl hibernate
|
||||||
;;
|
;;
|
||||||
--restart)
|
--restart)
|
||||||
xmonad --recompile
|
notify-send "Session Control" "Restarting Dwm"
|
||||||
xmonad --restart
|
xdotool key Super+Control_L+Shift_L+q
|
||||||
;;
|
;;
|
||||||
--rofi)
|
--rofi)
|
||||||
rofi_menu
|
rofi_menu
|
||||||
|
@@ -28,7 +28,7 @@ declare -a kill_system_array=(\
|
|||||||
declare -a apps_array=(\
|
declare -a apps_array=(\
|
||||||
# System Tray Applications
|
# System Tray Applications
|
||||||
"redshift-gtk" \ # Redshift Blue Light Filter
|
"redshift-gtk" \ # Redshift Blue Light Filter
|
||||||
"nyrna" \ # Nyrna Application Suspend
|
"bauh-tray" \ # Bauh Package Management GUI
|
||||||
"blueman-tray" \ # Blueman Bluetooth Manager
|
"blueman-tray" \ # Blueman Bluetooth Manager
|
||||||
"nm-applet" \ # Network Manager Applet
|
"nm-applet" \ # Network Manager Applet
|
||||||
"kdeconnect-indicator" \ # KDE Connect Indicator
|
"kdeconnect-indicator" \ # KDE Connect Indicator
|
||||||
@@ -40,7 +40,7 @@ declare -a apps_array=(\
|
|||||||
declare -a kill_apps_array=(\
|
declare -a kill_apps_array=(\
|
||||||
# System Tray Applications
|
# System Tray Applications
|
||||||
"killall redshift" \ # Redshift Blue Light Filter
|
"killall redshift" \ # Redshift Blue Light Filter
|
||||||
"killall nyrna" \ # Nyrna Application Suspend
|
"killall bauh-tray" \ # Bauh Package Management GUI
|
||||||
"killall blueman-tray" \ # Blueman Bluetooth Manager
|
"killall blueman-tray" \ # Blueman Bluetooth Manager
|
||||||
"killall nm-applet" \ # Network Manager Applet
|
"killall nm-applet" \ # Network Manager Applet
|
||||||
"killall kdeconnect-indicator" \ # KDE Connect Indicator
|
"killall kdeconnect-indicator" \ # KDE Connect Indicator
|
||||||
|
1
.themes/fallout-grub-theme
Submodule
1
.themes/fallout-grub-theme
Submodule
Submodule .themes/fallout-grub-theme added at 211348f7fe
2
.xinitrc
2
.xinitrc
@@ -19,4 +19,4 @@ xrdb ~/.Xresources
|
|||||||
/home/sravan/.scripts/startup.sh --kill-apps &&
|
/home/sravan/.scripts/startup.sh --kill-apps &&
|
||||||
/home/sravan/.scripts/startup.sh --apps) &
|
/home/sravan/.scripts/startup.sh --apps) &
|
||||||
|
|
||||||
exec xmonad
|
exec dwm
|
||||||
|
2
.xmonad
2
.xmonad
Submodule .xmonad updated: 8c5c283da5...0dbd47799c
71
README.org
71
README.org
@@ -1,6 +1,7 @@
|
|||||||
#+title: Personal Dotfiles
|
#+title: Personal Dotfiles
|
||||||
#+author: Sravan Balaji
|
#+author: Sravan Balaji
|
||||||
#+auto_tangle: t
|
#+auto_tangle: t
|
||||||
|
#+startup: showeverything
|
||||||
|
|
||||||
* Installation
|
* Installation
|
||||||
|
|
||||||
@@ -12,7 +13,7 @@ Prior to the installation, create alias for config
|
|||||||
alias config="GIT_WORK_TREE=~ GIT_DIR=~/.cfg"
|
alias config="GIT_WORK_TREE=~ GIT_DIR=~/.cfg"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Add ~.cfg~ to ~.gitignore~
|
Add =.cfg= to ~.gitignore~
|
||||||
|
|
||||||
#+begin_src shell
|
#+begin_src shell
|
||||||
echo ".cfg" >> .gitignore
|
echo ".cfg" >> .gitignore
|
||||||
@@ -58,7 +59,7 @@ Re-run checkout
|
|||||||
config git checkout
|
config git checkout
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Set the flag ~showUntrackedFiles~ to ~no~ on this specific (local) repo
|
Set the flag =showUntrackedFiles= to =no= on this specific (local) repo
|
||||||
|
|
||||||
#+begin_src shell
|
#+begin_src shell
|
||||||
config git config --local status.showUntrackedFiles no
|
config git config --local status.showUntrackedFiles no
|
||||||
@@ -6354,25 +6355,44 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
|
|||||||
** MangoHUD
|
** MangoHUD
|
||||||
|
|
||||||
#+begin_src conf :tangle .config/MangoHud/MangoHud.conf
|
#+begin_src conf :tangle .config/MangoHud/MangoHud.conf
|
||||||
cpu_stats
|
legacy_layout=false
|
||||||
cpu_temp
|
|
||||||
cpu_color=2e97cb
|
|
||||||
cpu_text=CPU
|
|
||||||
gpu_stats
|
gpu_stats
|
||||||
gpu_temp
|
gpu_temp
|
||||||
gpu_core_clock
|
gpu_core_clock
|
||||||
gpu_mem_clock
|
gpu_mem_clock
|
||||||
vulkan_driver
|
gpu_power
|
||||||
gpu_name
|
gpu_load_change
|
||||||
gpu_color=2e9762
|
gpu_load_value=50,90
|
||||||
|
gpu_load_color=FFFFFF,FF7800,CC0000
|
||||||
gpu_text=GPU
|
gpu_text=GPU
|
||||||
|
cpu_stats
|
||||||
|
cpu_temp
|
||||||
|
cpu_power
|
||||||
|
cpu_mhz
|
||||||
|
cpu_load_change
|
||||||
|
cpu_load_value=50,90
|
||||||
|
cpu_load_color=FFFFFF,FF7800,CC0000
|
||||||
|
cpu_color=2e97cb
|
||||||
|
cpu_text=CPU
|
||||||
|
io_stats
|
||||||
|
io_read
|
||||||
|
io_write
|
||||||
|
io_color=a491d3
|
||||||
|
swap
|
||||||
vram
|
vram
|
||||||
vram_color=ad64c1
|
vram_color=ad64c1
|
||||||
ram
|
ram
|
||||||
ram_color=c26693
|
ram_color=c26693
|
||||||
io_color=a491d3
|
fps
|
||||||
|
engine_color=eb5b5b
|
||||||
|
gpu_name
|
||||||
|
gpu_color=2e9762
|
||||||
|
vulkan_driver
|
||||||
|
wine
|
||||||
|
wine_color=eb5b5b
|
||||||
frame_timing=1
|
frame_timing=1
|
||||||
frametime_color=00ff00
|
frametime_color=00ff00
|
||||||
|
media_player_color=ffffff
|
||||||
background_alpha=0.4
|
background_alpha=0.4
|
||||||
font_size=24
|
font_size=24
|
||||||
background_color=020202
|
background_color=020202
|
||||||
@@ -6380,7 +6400,7 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
|
|||||||
text_color=ffffff
|
text_color=ffffff
|
||||||
toggle_hud=Shift_R+F12
|
toggle_hud=Shift_R+F12
|
||||||
toggle_logging=Shift_L+F2
|
toggle_logging=Shift_L+F2
|
||||||
output_file=/home/sravan/mangohud_log_
|
output_folder=/home/sravan
|
||||||
media_player_name=spotify
|
media_player_name=spotify
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@@ -6439,7 +6459,7 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
|
|||||||
*** Launch Environment
|
*** Launch Environment
|
||||||
|
|
||||||
#+begin_src shell :shebang #!/bin/sh :tangle .xinitrc
|
#+begin_src shell :shebang #!/bin/sh :tangle .xinitrc
|
||||||
exec xmonad
|
exec dwm
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Xresources
|
** Xresources
|
||||||
@@ -6543,15 +6563,14 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
|
|||||||
|
|
||||||
**** dwm
|
**** dwm
|
||||||
|
|
||||||
*NOT IN USE*
|
#+begin_src conf :tangle .Xresources
|
||||||
#+begin_src conf :tangle no
|
|
||||||
! DWM
|
! DWM
|
||||||
dwm.normbgcolor: BACKGROUND
|
|
||||||
dwm.normbordercolor: BLACK2
|
dwm.normbordercolor: BLACK2
|
||||||
|
dwm.normbgcolor: BACKGROUND
|
||||||
dwm.normfgcolor: FOREGROUND
|
dwm.normfgcolor: FOREGROUND
|
||||||
dwm.selfgcolor: BACKGROUND
|
|
||||||
dwm.selbordercolor: PURPLE1
|
dwm.selbordercolor: PURPLE1
|
||||||
dwm.selbgcolor: PURPLE1
|
dwm.selbgcolor: PURPLE1
|
||||||
|
dwm.selfgcolor: BACKGROUND
|
||||||
dwm.borderpx: BORDER_SIZE
|
dwm.borderpx: BORDER_SIZE
|
||||||
dwm.gappih: INNER_GAPS
|
dwm.gappih: INNER_GAPS
|
||||||
dwm.gappiv: INNER_GAPS
|
dwm.gappiv: INNER_GAPS
|
||||||
@@ -6863,7 +6882,7 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
|
|||||||
|
|
||||||
rofi_menu() {
|
rofi_menu() {
|
||||||
declare -a options=(
|
declare -a options=(
|
||||||
" Recompile & Restart Xmonad - restart"
|
"勒 Restart Dwm - restart"
|
||||||
" Logout - logout"
|
" Logout - logout"
|
||||||
" Lock - lock"
|
" Lock - lock"
|
||||||
"⏾ Sleep - sleep"
|
"⏾ Sleep - sleep"
|
||||||
@@ -6891,26 +6910,32 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
|
|||||||
help_menu
|
help_menu
|
||||||
;;
|
;;
|
||||||
--logout)
|
--logout)
|
||||||
notify-send -t 0 "Session Control" "Press M-S-q to exit xmonad"
|
notify-send "Session Control" "Logging Out of Dwm"
|
||||||
|
xdotool key Super+Shift_L+q
|
||||||
;;
|
;;
|
||||||
--lock)
|
--lock)
|
||||||
|
notify-send "Session Control" "Locking Session"
|
||||||
light-locker-command --lock
|
light-locker-command --lock
|
||||||
;;
|
;;
|
||||||
--sleep)
|
--sleep)
|
||||||
|
notify-send "Session Control" "Going to Sleep"
|
||||||
systemctl suspend
|
systemctl suspend
|
||||||
;;
|
;;
|
||||||
--reboot)
|
--reboot)
|
||||||
|
notify-send "Session Control" "Rebooting System"
|
||||||
reboot
|
reboot
|
||||||
;;
|
;;
|
||||||
--shutdown)
|
--shutdown)
|
||||||
|
notify-send "Session Control" "Shutting Down System"
|
||||||
shutdown now
|
shutdown now
|
||||||
;;
|
;;
|
||||||
--hibernate)
|
--hibernate)
|
||||||
|
notify-send "Session Control" "Hibernating System"
|
||||||
systemctl hibernate
|
systemctl hibernate
|
||||||
;;
|
;;
|
||||||
--restart)
|
--restart)
|
||||||
xmonad --recompile
|
notify-send "Session Control" "Restarting Dwm"
|
||||||
xmonad --restart
|
xdotool key Super+Control_L+Shift_L+q
|
||||||
;;
|
;;
|
||||||
--rofi)
|
--rofi)
|
||||||
rofi_menu
|
rofi_menu
|
||||||
@@ -6954,7 +6979,7 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
|
|||||||
declare -a apps_array=(\
|
declare -a apps_array=(\
|
||||||
# System Tray Applications
|
# System Tray Applications
|
||||||
"redshift-gtk" \ # Redshift Blue Light Filter
|
"redshift-gtk" \ # Redshift Blue Light Filter
|
||||||
"nyrna" \ # Nyrna Application Suspend
|
"bauh-tray" \ # Bauh Package Management GUI
|
||||||
"blueman-tray" \ # Blueman Bluetooth Manager
|
"blueman-tray" \ # Blueman Bluetooth Manager
|
||||||
"nm-applet" \ # Network Manager Applet
|
"nm-applet" \ # Network Manager Applet
|
||||||
"kdeconnect-indicator" \ # KDE Connect Indicator
|
"kdeconnect-indicator" \ # KDE Connect Indicator
|
||||||
@@ -6966,7 +6991,7 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
|
|||||||
declare -a kill_apps_array=(\
|
declare -a kill_apps_array=(\
|
||||||
# System Tray Applications
|
# System Tray Applications
|
||||||
"killall redshift" \ # Redshift Blue Light Filter
|
"killall redshift" \ # Redshift Blue Light Filter
|
||||||
"killall nyrna" \ # Nyrna Application Suspend
|
"killall bauh-tray" \ # Bauh Package Management GUI
|
||||||
"killall blueman-tray" \ # Blueman Bluetooth Manager
|
"killall blueman-tray" \ # Blueman Bluetooth Manager
|
||||||
"killall nm-applet" \ # Network Manager Applet
|
"killall nm-applet" \ # Network Manager Applet
|
||||||
"killall kdeconnect-indicator" \ # KDE Connect Indicator
|
"killall kdeconnect-indicator" \ # KDE Connect Indicator
|
||||||
@@ -7075,7 +7100,7 @@ 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/picom.sh --off
|
# /home/sravan/.scripts/picom.sh --off
|
||||||
/home/sravan/.scripts/dunst.sh --dnd
|
/home/sravan/.scripts/dunst.sh --dnd
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user