Tray Maxsize, Trackpad Toggle Script, & Gitmodules Update

- Increase tray maxsize from (15, 30) -> (20, 40)
- Add trackpad control (enable / disable) script
- Add dwm-flexipatch commit that adds trackpad toggle keybinding
- Add branch tracking for dwm-flexipatch and fallout grub theme to .gitmodules
This commit is contained in:
Sravan Balaji
2021-08-04 09:11:01 -04:00
parent f727ff2965
commit d940f26e8d
4 changed files with 22 additions and 5 deletions

View File

@@ -45,7 +45,7 @@
#define BAR_HEIGHT 25
#define MODULE_MARGIN 1
#define MODULE_PADDING 2
#define TRAY_MAXSIZE 15
#define TRAY_MAXSIZE 20
#define TRAY_SCALE 1
#define BORDER_SIZE 2
#define INNER_GAPS 20

2
.gitmodules vendored
View File

@@ -69,6 +69,8 @@
[submodule ".config/dwm-flexipatch"]
path = .config/dwm-flexipatch
url = git@github.com:balajsra/dwm-flexipatch.git
branch = master
[submodule ".themes/fallout-grub-theme"]
path = .themes/fallout-grub-theme
url = git@github.com:shvchk/fallout-grub-theme.git
branch = master

View File

@@ -7014,7 +7014,7 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
#define BAR_HEIGHT 25
#define MODULE_MARGIN 2
#define MODULE_PADDING 2
#define TRAY_MAXSIZE 15
#define TRAY_MAXSIZE 20
#define TRAY_SCALE 1
#define BORDER_SIZE 2
#define INNER_GAPS 20
@@ -7029,7 +7029,7 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
#define BAR_HEIGHT 25
#define MODULE_MARGIN 1
#define MODULE_PADDING 2
#define TRAY_MAXSIZE 15
#define TRAY_MAXSIZE 20
#define TRAY_SCALE 1
#define BORDER_SIZE 2
#define INNER_GAPS 20
@@ -7045,7 +7045,7 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
#define BAR_HEIGHT 50
#define MODULE_MARGIN 1
#define MODULE_PADDING 2
#define TRAY_MAXSIZE 30
#define TRAY_MAXSIZE 40
#define TRAY_SCALE 1
#define BORDER_SIZE 4
#define INNER_GAPS 40
@@ -7238,6 +7238,21 @@ Configuration for Alacritty, the GPU enhanced terminal emulator.
main $@
#+end_src
** Trackpad Control
#+begin_src shell :shebang #!/bin/bash :tangle .scripts/trackpad.sh
trackpad_id=13
if xinput list-props $trackpad_id | grep "Device Enabled (.*):.*1" >/dev/null
then
xinput disable $trackpad_id
notify-send -u low -i mouse "Trackpad disabled"
else
xinput enable $trackpad_id
notify-send -u low -i mouse "Trackpad enabled"
fi
#+end_src
** System76 Power Control
#+begin_src shell :shebang #!/bin/bash :tangle .scripts/system76-power.sh