Merge remote-tracking branch 'origin/master'

This commit is contained in:
2024-05-31 20:54:47 +05:30
4 changed files with 8 additions and 10 deletions

View File

@@ -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)

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
ssh git@git.aryadevchavali.com "ls /git" | grep $1

3
Scripts/.local/scripts/rgrep Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
find -type 'f' -name $1 -exec grep --color=always -inH $2 "{}" ";"

View File

@@ -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