Bunch of Configuration Changes & Fixes

- Update MangoHud config output a bit
- Remove some spaces for comments in autorandr postswitch script
- Comment out some hardware status options in neofetch config
- Add peek to background blur exclude list in picom config
- Set tooltip opacity to 1.0 in picom config
- Increase icon size in rofi centertab-dracula theme
- Add vkBasalt configuration output by GOverlay
- Add mixer option to pactl.sh to open pavucontrol
- Remove bauh from startup.sh
- Change blueman-tray to blueman-applet in startup.sh
- Add nyrna back to startup.sh
- Add java environment variable to .xinitrc to fix MATLAB issue
This commit is contained in:
Sravan Balaji 2021-07-23 16:53:52 -04:00
parent 092b7b7853
commit 86e86df0a9
12 changed files with 147 additions and 109 deletions

View File

@ -1,3 +1,6 @@
toggle_fps_limit=F1
legacy_layout=false
gpu_stats
gpu_temp
@ -13,6 +16,7 @@ cpu_temp
cpu_power
cpu_mhz
cpu_load_change
core_load_change
cpu_load_value=50,90
cpu_load_color=FFFFFF,FF7800,CC0000
cpu_color=2e97cb

View File

@ -1,3 +1,3 @@
#!/bin/bash
/usr/bin/nitrogen --restore # Restore wallpaper
/home/sravan/.scripts/session.sh --restart # Restart dwm
/usr/bin/nitrogen --restore # Restore wallpaper
/home/sravan/.scripts/session.sh --restart # Restart dwm

@ -1 +1 @@
Subproject commit bf17542c0709306da354c73a5e4ce16832e68b17
Subproject commit f06abf8a2aaf746ff7293beea283a020bc52bf2a

View File

@ -11,21 +11,21 @@ print_info() {
info "Packages" packages
info "Shell" shell
# info "Resolution" resolution
# info "DE" de
info "DE" de
info "WM" wm
# info "WM Theme" wm_theme
# info "Theme" theme
# info "Icons" icons
# info "Terminal" term
# info "Terminal Font" term_font
info "WM Theme" wm_theme
info "Theme" theme
info "Icons" icons
info "Terminal" term
info "Terminal Font" term_font
info "CPU" cpu
info "GPU" gpu
# info "GPU Driver" gpu_driver # Linux/macOS only
info "CPU Usage" cpu_usage
info "Memory" memory
info "Disk" disk
info "Battery" battery
# info "Font" font
# info "CPU Usage" cpu_usage
# info "Memory" memory
# info "Disk" disk
# info "Battery" battery
info "Font" font
# info "Song" song
# [[ "$player" ]] && prin "Music Player" "$player"
# info "Local IP" local_ip

View File

@ -174,7 +174,6 @@ popup_menu = { opacity = 1.0; }
# dropdown_menu = { opacity = 0.8; }
dropdown_menu = { opacity = 1.0; }
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
# inactive-opacity-override = true
inactive-opacity-override = false;
@ -273,6 +272,8 @@ blur-background-exclude = [
# prevents picom from blurring the background
# when taking selection screenshot with `main`
# https://github.com/naelstrof/maim/issues/130
"class_g = 'peek'",
"class_g = 'Peek'",
"class_g = 'slop'",
"class_g = 'zoom'",
"_GTK_FRAME_EXTENTS@:c"
@ -499,7 +500,7 @@ log-level = "info";
wintypes:
{
normal = { fade = false; shadow = false; }
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
tooltip = { fade = true; shadow = true; opacity = 1.0; focus = true; full-shadow = false; };
dock = { shadow = false; }
dnd = { shadow = false; }
# popup_menu = { opacity = 0.8; }

View File

@ -85,6 +85,10 @@ element {
padding: 10px;
}
element-icon {
size: 2.00ch;
}
entry {
expand: false;
text-color: @normal-foreground;

View File

@ -0,0 +1,3 @@
casSharpness=1.0
toggleKey = Home
effects = cas

View File

@ -14,6 +14,7 @@ rofi_menu() {
" Raise Volume - raise"
" Lower Volume - lower"
" Mute - mute"
" Mixer - mixer"
" Quit - quit"
)
@ -43,6 +44,9 @@ main() {
--mute)
pactl set-sink-mute @DEFAULT_SINK@ toggle
;;
--mixer)
pavucontrol
;;
--rofi)
rofi_menu
;;

View File

@ -4,10 +4,10 @@ declare -a startup_array=(\
"bash /home/sravan/.scripts/deadd.sh --on" \ # Deadd Notification Center
"bash /home/sravan/.scripts/picom.sh --on" \ # Picom Compositor
"/usr/bin/greenclip daemon" \ # Greenclip Clipboard Manager
"/usr/bin/redshift -x" \ # Reset redshift display gamma
"/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" \ # GNOME Polkit Authentication Agent
"/usr/bin/light-locker --lock-on-suspend --lock-on-lid" \ # Screen lock for lightdm
"/usr/lib/kdeconnectd --replace" \ # KDE Connect Daemon
"/usr/bin/redshift -x" \ # Redshift Blue Light Filter
)
declare -a kill_startup_array=(\
@ -15,22 +15,22 @@ declare -a kill_startup_array=(\
"killall deadd-notificat" \ # Deadd Notification Center
"killall picom" \ # Picom Compositor
"killall greenclip" \ # Greenclip Clipboard Manager
"killall redshift" \ # Redshift Blue Light Filter
"killall polkit" \ # GNOME Polkit Authentication Agent
"killall light-locker" \ # Screen lock for lightdm
"killall kdeconnectd" \ # KDE Connect Daemon
"killall redshift" \ # Redshift Blue Light Filter
)
declare -a delay_array=(\
# System Tray Applications
"/usr/bin/redshift-gtk" \ # Redshift Blue Light Filter
"/usr/bin/bauh-tray" \ # Bauh Package Management GUI
"/usr/bin/blueman-tray" \ # Blueman Bluetooth Manager
"/usr/bin/blueman-applet" \ # Blueman Bluetooth Manager
"/usr/bin/nm-applet" \ # Network Manager Applet
"/usr/bin/kdeconnect-indicator" \ # KDE Connect Indicator
"/usr/bin/flameshot" \ # Flameshot Screenshot Tool
"/usr/bin/xfce4-power-manager" \ # XFCE4 Power Manager
"/usr/bin/volctl" \ # PulseAudio Volume Control
"/usr/bin/nyrna" \ # Nyrna
# System Restore Processes
"/usr/bin/autorandr --change --force" \ # Auto restore screen layout
"/usr/bin/numlockx on" \ # Enable numlock
@ -39,13 +39,13 @@ declare -a delay_array=(\
declare -a kill_delay_array=(\
# System Tray Applications
"killall redshift" \ # Redshift Blue Light Filter
"killall bauh-tray" \ # Bauh Package Management GUI
"killall blueman-tray" \ # Blueman Bluetooth Manager
"killall blueman-applet" \ # Blueman Bluetooth Manager
"killall nm-applet" \ # Network Manager Applet
"killall kdeconnect-indicator" \ # KDE Connect Indicator
"killall flameshot" \ # Flameshot Screenshot Tool
"killall xfce4-power-manager" \ # XFCE4 Power Manager
"killall volctl" \ # PulseAudio Volume Control
"killall nyrna" \ # Nyrna
)

@ -1 +1 @@
Subproject commit 24134877e0e9f626dc5662df1e16b50dfd93e85f
Subproject commit aeb94d6bfba46bb428cdeb5eb47f2082ec395478

View File

@ -1,11 +1,12 @@
#!/bin/sh
export TERM=xterm-256color # Sets the terminal type
export SHELL=/usr/bin/fish # Preferred shell
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
export TERM=xterm-256color # Sets the terminal type
export SHELL=/usr/bin/fish # Preferred shell
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
export _JAVA_AWT_WM_NONREPARENTING=1 # Java fix for Window Managers
xrdb ~/.Xresources

View File

@ -1485,6 +1485,10 @@ Each label is represented as a clickable button in the notification center. The
padding: 10px;
}
element-icon {
size: 2.00ch;
}
entry {
expand: false;
text-color: @normal-foreground;
@ -2080,8 +2084,8 @@ See [[https://github.com/phillipberndt/autorandr#hook-scripts][autorandr hook sc
*** Post Switch
#+begin_src shell :shebang #!/bin/bash :tangle .config/autorandr/postswitch
/usr/bin/nitrogen --restore # Restore wallpaper
/home/sravan/.scripts/session.sh --restart # Restart dwm
/usr/bin/nitrogen --restore # Restore wallpaper
/home/sravan/.scripts/session.sh --restart # Restart dwm
#+end_src
** Compositor
@ -2282,7 +2286,6 @@ See [[https://github.com/phillipberndt/autorandr#hook-scripts][autorandr hook sc
# dropdown_menu = { opacity = 0.8; }
dropdown_menu = { opacity = 1.0; }
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
# inactive-opacity-override = true
inactive-opacity-override = false;
@ -2385,6 +2388,8 @@ See [[https://github.com/phillipberndt/autorandr#hook-scripts][autorandr hook sc
# prevents picom from blurring the background
# when taking selection screenshot with `main`
# https://github.com/naelstrof/maim/issues/130
"class_g = 'peek'",
"class_g = 'Peek'",
"class_g = 'slop'",
"class_g = 'zoom'",
"_GTK_FRAME_EXTENTS@:c"
@ -2615,7 +2620,7 @@ See [[https://github.com/phillipberndt/autorandr#hook-scripts][autorandr hook sc
wintypes:
{
normal = { fade = false; shadow = false; }
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
tooltip = { fade = true; shadow = true; opacity = 1.0; focus = true; full-shadow = false; };
dock = { shadow = false; }
dnd = { shadow = false; }
# popup_menu = { opacity = 0.8; }
@ -2707,63 +2712,63 @@ See [[https://github.com/phillipberndt/autorandr#hook-scripts][autorandr hook sc
*** Redshift
#+begin_src conf :tangle .config/redshift/redshift.conf
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=6500
temp-night=3500
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=6500
temp-night=3500
; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature.
transition=1
; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature.
transition=1
; Set the screen brightness. Default is 1.0.
;brightness=0.9
; It is also possible to use different settings for day and night
; since version 1.8.
;brightness-day=0.7
;brightness-night=0.4
; Set the screen gamma (for all colors, or each color channel
; individually)
; gamma=0.8
;gamma=0.8:0.7:0.8
; This can also be set individually for day and night since
; version 1.10.
;gamma-day=0.8:0.7:0.8
;gamma-night=0.6
; Set the screen brightness. Default is 1.0.
;brightness=0.9
; It is also possible to use different settings for day and night
; since version 1.8.
;brightness-day=0.7
;brightness-night=0.4
; Set the screen gamma (for all colors, or each color channel
; individually)
; gamma=0.8
;gamma=0.8:0.7:0.8
; This can also be set individually for day and night since
; version 1.10.
;gamma-day=0.8:0.7:0.8
;gamma-night=0.6
; Set the location-provider: 'geoclue', 'geoclue2', 'manual'
; type 'redshift -l list' to see possible values.
; The location provider settings are in a different section.
location-provider=manual
; Set the location-provider: 'geoclue', 'geoclue2', 'manual'
; type 'redshift -l list' to see possible values.
; The location provider settings are in a different section.
location-provider=manual
; Set the adjustment-method: 'randr', 'vidmode'
; type 'redshift -m list' to see all possible values.
; 'randr' is the preferred method, 'vidmode' is an older API.
; but works in some cases when 'randr' does not.
; The adjustment method settings are in a different section.
adjustment-method=randr
; Set the adjustment-method: 'randr', 'vidmode'
; type 'redshift -m list' to see all possible values.
; 'randr' is the preferred method, 'vidmode' is an older API.
; but works in some cases when 'randr' does not.
; The adjustment method settings are in a different section.
adjustment-method=randr
; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings.
; ex: 'redshift -l manual:help'
; Keep in mind that longitudes west of Greenwich (e.g. the Americas)
; are negative numbers.
[manual]
; Farmington Hills, MI
lat=42.4990
lon=-83.3677
; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings.
; ex: 'redshift -l manual:help'
; Keep in mind that longitudes west of Greenwich (e.g. the Americas)
; are negative numbers.
[manual]
; Farmington Hills, MI
lat=42.4990
lon=-83.3677
; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings.
; ex: 'redshift -m randr:help'
; In this example, randr is configured to adjust screen 1.
; Note that the numbering starts from 0, so this is actually the
; second screen. If this option is not specified, Redshift will try
; to adjust _all_ screens.
; [randr]
; screen=1
; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings.
; ex: 'redshift -m randr:help'
; In this example, randr is configured to adjust screen 1.
; Note that the numbering starts from 0, so this is actually the
; second screen. If this option is not specified, Redshift will try
; to adjust _all_ screens.
; [randr]
; screen=1
#+end_src
* Terminal & Shell
@ -2888,21 +2893,21 @@ See [[https://github.com/phillipberndt/autorandr#hook-scripts][autorandr hook sc
info "Packages" packages
info "Shell" shell
# info "Resolution" resolution
# info "DE" de
info "DE" de
info "WM" wm
# info "WM Theme" wm_theme
# info "Theme" theme
# info "Icons" icons
# info "Terminal" term
# info "Terminal Font" term_font
info "WM Theme" wm_theme
info "Theme" theme
info "Icons" icons
info "Terminal" term
info "Terminal Font" term_font
info "CPU" cpu
info "GPU" gpu
# info "GPU Driver" gpu_driver # Linux/macOS only
info "CPU Usage" cpu_usage
info "Memory" memory
info "Disk" disk
info "Battery" battery
# info "Font" font
# info "CPU Usage" cpu_usage
# info "Memory" memory
# info "Disk" disk
# info "Battery" battery
info "Font" font
# info "Song" song
# [[ "$player" ]] && prin "Music Player" "$player"
# info "Local IP" local_ip
@ -6834,6 +6839,9 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
** MangoHUD
#+begin_src conf :tangle .config/MangoHud/MangoHud.conf
toggle_fps_limit=F1
legacy_layout=false
gpu_stats
gpu_temp
@ -6849,6 +6857,7 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
cpu_power
cpu_mhz
cpu_load_change
core_load_change
cpu_load_value=50,90
cpu_load_color=FFFFFF,FF7800,CC0000
cpu_color=2e97cb
@ -6882,6 +6891,13 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
output_folder=/home/sravan
media_player_name=spotify
#+end_src
** vkBasalt
#+begin_src conf :tangle .config/vkBasalt/vkBasalt.conf
casSharpness=1.0
toggleKey = Home
effects = cas
#+end_src
* SSH
@ -6906,13 +6922,14 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
*** Environment Variables
#+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" # 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
export TERM=xterm-256color # Sets the terminal type
export SHELL=/usr/bin/fish # Preferred shell
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
export _JAVA_AWT_WM_NONREPARENTING=1 # Java fix for Window Managers
#+end_src
*** Load Xresources
@ -7178,6 +7195,7 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
" Raise Volume - raise"
" Lower Volume - lower"
" Mute - mute"
" Mixer - mixer"
" Quit - quit"
)
@ -7207,6 +7225,9 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
--mute)
pactl set-sink-mute @DEFAULT_SINK@ toggle
;;
--mixer)
pavucontrol
;;
--rofi)
rofi_menu
;;
@ -7433,10 +7454,10 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
"bash /home/sravan/.scripts/deadd.sh --on" \ # Deadd Notification Center
"bash /home/sravan/.scripts/picom.sh --on" \ # Picom Compositor
"/usr/bin/greenclip daemon" \ # Greenclip Clipboard Manager
"/usr/bin/redshift -x" \ # Reset redshift display gamma
"/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" \ # GNOME Polkit Authentication Agent
"/usr/bin/light-locker --lock-on-suspend --lock-on-lid" \ # Screen lock for lightdm
"/usr/lib/kdeconnectd --replace" \ # KDE Connect Daemon
"/usr/bin/redshift -x" \ # Redshift Blue Light Filter
)
declare -a kill_startup_array=(\
@ -7444,22 +7465,22 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
"killall deadd-notificat" \ # Deadd Notification Center
"killall picom" \ # Picom Compositor
"killall greenclip" \ # Greenclip Clipboard Manager
"killall redshift" \ # Redshift Blue Light Filter
"killall polkit" \ # GNOME Polkit Authentication Agent
"killall light-locker" \ # Screen lock for lightdm
"killall kdeconnectd" \ # KDE Connect Daemon
"killall redshift" \ # Redshift Blue Light Filter
)
declare -a delay_array=(\
# System Tray Applications
"/usr/bin/redshift-gtk" \ # Redshift Blue Light Filter
"/usr/bin/bauh-tray" \ # Bauh Package Management GUI
"/usr/bin/blueman-tray" \ # Blueman Bluetooth Manager
"/usr/bin/blueman-applet" \ # Blueman Bluetooth Manager
"/usr/bin/nm-applet" \ # Network Manager Applet
"/usr/bin/kdeconnect-indicator" \ # KDE Connect Indicator
"/usr/bin/flameshot" \ # Flameshot Screenshot Tool
"/usr/bin/xfce4-power-manager" \ # XFCE4 Power Manager
"/usr/bin/volctl" \ # PulseAudio Volume Control
"/usr/bin/nyrna" \ # Nyrna
# System Restore Processes
"/usr/bin/autorandr --change --force" \ # Auto restore screen layout
"/usr/bin/numlockx on" \ # Enable numlock
@ -7468,13 +7489,13 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
declare -a kill_delay_array=(\
# System Tray Applications
"killall redshift" \ # Redshift Blue Light Filter
"killall bauh-tray" \ # Bauh Package Management GUI
"killall blueman-tray" \ # Blueman Bluetooth Manager
"killall blueman-applet" \ # Blueman Bluetooth Manager
"killall nm-applet" \ # Network Manager Applet
"killall kdeconnect-indicator" \ # KDE Connect Indicator
"killall flameshot" \ # Flameshot Screenshot Tool
"killall xfce4-power-manager" \ # XFCE4 Power Manager
"killall volctl" \ # PulseAudio Volume Control
"killall nyrna" \ # Nyrna
)