Xmonad Switch to Polybar & Other Small Changes

- Add oryx pro 7 specific Xresource settings
- Remove exec fish from bashrc so bash is actually usable
- Org document cleanup
- Add zoom to blur background exclude in picom config
- Xmonad switch from Xmobar to Polybar
This commit is contained in:
Sravan Balaji
2021-05-10 23:56:40 -04:00
parent 392e8d9b4d
commit 7d772e0eea
6 changed files with 40 additions and 14 deletions

View File

@@ -40,16 +40,25 @@
*.color15: WHITE1 *.color15: WHITE1
*.color16: ORANGE *.color16: ORANGE
! Regular DPI Parameters ! System76 Oryx Pro 7 DPI Parameters
#define DPI 96 #define DPI 96
#define BAR_HEIGHT 25 #define BAR_HEIGHT 25
#define MODULE_MARGIN 2 #define MODULE_MARGIN 1
#define MODULE_PADDING 2
#define TRAY_MAXSIZE 15 #define TRAY_MAXSIZE 15
#define TRAY_SCALE 1 #define TRAY_SCALE 1
#define BORDER_SIZE 2 #define BORDER_SIZE 2
#define INNER_GAPS 20 #define INNER_GAPS 20
#define OUTER_GAPS 10 #define OUTER_GAPS 10
#define MAXLEN 75 #define MAXLEN 50
#define CURSOR_SIZE 16
! Polybar
polybar.bar-height: BAR_HEIGHT
polybar.module-margin: MODULE_MARGIN
polybar.tray-maxsize: TRAY_MAXSIZE
polybar.tray-scale: TRAY_SCALE
polybar.maxlen: MAXLEN
! Dunst ! Dunst
dunst.geometry-x: OUTER_GAPS dunst.geometry-x: OUTER_GAPS
@@ -71,3 +80,4 @@ dunst.critical-frame: PURPLE1
! Display Scaling ! Display Scaling
*.dpi: DPI *.dpi: DPI
Xcursor.size: CURSOR_SIZE

View File

@@ -124,6 +124,3 @@ export EDITOR="code -w"
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
# Set fish as interactive shell only
exec fish

View File

@@ -272,6 +272,7 @@ blur-background-exclude = [
# when taking selection screenshot with `main` # when taking selection screenshot with `main`
# https://github.com/naelstrof/maim/issues/130 # https://github.com/naelstrof/maim/issues/130
"class_g = 'slop'", "class_g = 'slop'",
"class_g = 'zoom'",
"_GTK_FRAME_EXTENTS@:c" "_GTK_FRAME_EXTENTS@:c"
]; ];

Submodule .xmonad updated: 1bb3509736...f803927440

View File

@@ -1817,6 +1817,7 @@ Pull and update submodules
# when taking selection screenshot with `main` # when taking selection screenshot with `main`
# https://github.com/naelstrof/maim/issues/130 # https://github.com/naelstrof/maim/issues/130
"class_g = 'slop'", "class_g = 'slop'",
"class_g = 'zoom'",
"_GTK_FRAME_EXTENTS@:c" "_GTK_FRAME_EXTENTS@:c"
]; ];
#+end_src #+end_src
@@ -3276,9 +3277,6 @@ Pull and update submodules
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
# Set fish as interactive shell only
exec fish
#+end_src #+end_src
*** Zsh *** Zsh
@@ -5574,17 +5572,35 @@ Pull and update submodules
*** Sizes *** Sizes
#+begin_src conf :tangle .Xresources *NOT IN USE*
#+begin_src conf :tangle no
! Regular DPI Parameters ! Regular DPI Parameters
#define DPI 96 #define DPI 96
#define BAR_HEIGHT 25 #define BAR_HEIGHT 25
#define MODULE_MARGIN 2 #define MODULE_MARGIN 2
#define MODULE_PADDING 2
#define TRAY_MAXSIZE 15 #define TRAY_MAXSIZE 15
#define TRAY_SCALE 1 #define TRAY_SCALE 1
#define BORDER_SIZE 2 #define BORDER_SIZE 2
#define INNER_GAPS 20 #define INNER_GAPS 20
#define OUTER_GAPS 10 #define OUTER_GAPS 10
#define MAXLEN 75 #define MAXLEN 75
#define CURSOR_SIZE 16
#+end_src
#+begin_src conf :tangle .Xresources
! System76 Oryx Pro 7 DPI Parameters
#define DPI 96
#define BAR_HEIGHT 25
#define MODULE_MARGIN 1
#define MODULE_PADDING 2
#define TRAY_MAXSIZE 15
#define TRAY_SCALE 1
#define BORDER_SIZE 2
#define INNER_GAPS 20
#define OUTER_GAPS 10
#define MAXLEN 50
#define CURSOR_SIZE 16
#+end_src #+end_src
*NOT IN USE* *NOT IN USE*
@@ -5593,12 +5609,14 @@ Pull and update submodules
#define DPI 192 #define DPI 192
#define BAR_HEIGHT 50 #define BAR_HEIGHT 50
#define MODULE_MARGIN 1 #define MODULE_MARGIN 1
#define MODULE_PADDING 2
#define TRAY_MAXSIZE 30 #define TRAY_MAXSIZE 30
#define TRAY_SCALE 1 #define TRAY_SCALE 1
#define BORDER_SIZE 4 #define BORDER_SIZE 4
#define INNER_GAPS 40 #define INNER_GAPS 40
#define OUTER_GAPS 20 #define OUTER_GAPS 20
#define MAXLEN 45 #define MAXLEN 45
#define CURSOR_SIZE 32
#+end_src #+end_src
*** Application Specific Changes *** Application Specific Changes
@@ -5623,8 +5641,7 @@ Pull and update submodules
**** Polybar **** Polybar
*NOT IN USE* #+begin_src conf :tangle .Xresources
#+begin_src conf :tangle no
! Polybar ! Polybar
polybar.bar-height: BAR_HEIGHT polybar.bar-height: BAR_HEIGHT
polybar.module-margin: MODULE_MARGIN polybar.module-margin: MODULE_MARGIN
@@ -5660,6 +5677,7 @@ Pull and update submodules
#+begin_src conf :tangle .Xresources #+begin_src conf :tangle .Xresources
! Display Scaling ! Display Scaling
,*.dpi: DPI ,*.dpi: DPI
Xcursor.size: CURSOR_SIZE
#+end_src #+end_src
* Acknowledgements * Acknowledgements