From 046e0b9f0123a3c4bd8aa32431b72de486c60671 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 1 Nov 2023 15:26:30 +0000 Subject: Disable clang-format-mode for C/C++ Should be enabled project wide if wanted. Quite annoying when not needed. --- Emacs/.config/emacs/config.org | 3 --- 1 file changed, 3 deletions(-) diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 5d62ac2..b90c650 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1744,9 +1744,6 @@ my dotfiles). :after cc-mode :commands (+code/clang-format-region-or-buffer clang-format-mode) - :hook - (c-mode-hook . clang-format-mode) - (c++-mode-hook . clang-format-mode) :general (code-leader :keymaps '(c-mode-map c++-mode-map) -- cgit v1.2.3-13-gbd6f From 0c6adbaabcf7eea23507fa33f814ae9d70cadd0a Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 31 May 2024 16:03:35 +0100 Subject: (XServer)~clean up configuration a bit --- XServer/.xinitrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- cgit v1.2.3-13-gbd6f From 0bd2bcb172bd4acc96c859536e2b36f033eed9b1 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 31 May 2024 16:04:30 +0100 Subject: (Scripts)+repo_find and rgrep --- Scripts/.local/scripts/repo_find | 3 +++ Scripts/.local/scripts/rgrep | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 Scripts/.local/scripts/repo_find create mode 100755 Scripts/.local/scripts/rgrep 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 "{}" ";" -- cgit v1.2.3-13-gbd6f