aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-05-31 20:54:47 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-05-31 20:54:47 +0530
commita882d15a3f458fb561620a5ccdc6ec3f1dea67cf (patch)
treee12b3963ac2a7dcad4f65547d75ca82e929816da
parent47655b7f03b5efebbfb5f0a414ebf137699c3ffb (diff)
parent0bd2bcb172bd4acc96c859536e2b36f033eed9b1 (diff)
downloaddotfiles-a882d15a3f458fb561620a5ccdc6ec3f1dea67cf.tar.gz
dotfiles-a882d15a3f458fb561620a5ccdc6ec3f1dea67cf.tar.bz2
dotfiles-a882d15a3f458fb561620a5ccdc6ec3f1dea67cf.zip
Merge remote-tracking branch 'origin/master'
-rw-r--r--Emacs/.config/emacs/config.org7
-rwxr-xr-xScripts/.local/scripts/repo_find3
-rwxr-xr-xScripts/.local/scripts/rgrep3
-rw-r--r--XServer/.xinitrc5
4 files changed, 8 insertions, 10 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index eb1ef23..4e0d4be 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -3652,13 +3652,6 @@ my dotfiles).
:after cc-mode
:commands (+code/clang-format-region-or-buffer
clang-format-mode)
- ;;; 2024-04-24: disabled as it's annoying on projects where a
- ;;; .clang-format isn't defined. Furthermore, does it make sense
- ;;; for *every* file you open and edit to have a format function run
- ;;; right after? seems a bit slow.
- ;; :hook
- ;; (c-mode-hook . clang-format-mode)
- ;; (c++-mode-hook . clang-format-mode)
:general
(code-leader
:keymaps '(c-mode-map c++-mode-map)
diff --git a/Scripts/.local/scripts/repo_find b/Scripts/.local/scripts/repo_find
new file mode 100755
index 0000000..94c8580
--- /dev/null
+++ b/Scripts/.local/scripts/repo_find
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+ssh git@git.aryadevchavali.com "ls /git" | grep $1
diff --git a/Scripts/.local/scripts/rgrep b/Scripts/.local/scripts/rgrep
new file mode 100755
index 0000000..c95a42a
--- /dev/null
+++ b/Scripts/.local/scripts/rgrep
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+find -type 'f' -name $1 -exec grep --color=always -inH $2 "{}" ";"
diff --git a/XServer/.xinitrc b/XServer/.xinitrc
index f7f24d1..b0f8483 100644
--- a/XServer/.xinitrc
+++ b/XServer/.xinitrc
@@ -6,10 +6,10 @@ killall sxhkd;
sh .xprofile;
xset s 1800;
-xrandr --auto --output HDMI1 --primary;
xrandr --auto --output eDP1 --right-of HDMI1;
+xrandr --auto --output HDMI1 --primary;
+xrandr --auto --output DP1 --right-of VGA1 --mode 1280x1024;
xrandr --auto --output VGA1 --primary --mode 1920x1080;
-xrandr --auto --output DP1 --left-of VGA1 --mode 1280x1024;
$(xss-lock --transfer-sleep-lock -- $HOME/.local/scripts/lock) &
$HOME/.local/scripts/background &
@@ -19,7 +19,6 @@ picom --backend xrender --vsync --no-fading-openclose &
sxhkd &
dwmblocks &
-# $HOME/.config/bspwm/bspwmrc
while :; do
dwm
done