summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/.bin/disp3
-rwxr-xr-xsxhkd/.config/sxhkd/sxhkdrc2
-rwxr-xr-xzsh/.zshrc4
3 files changed, 6 insertions, 3 deletions
diff --git a/bin/.bin/disp b/bin/.bin/disp
index 43d6987..1ebbd8d 100755
--- a/bin/.bin/disp
+++ b/bin/.bin/disp
@@ -2,7 +2,8 @@
2 2
3status=$(cat /sys/class/drm/card0/*HDMI*/status) 3status=$(cat /sys/class/drm/card0/*HDMI*/status)
4if [ $status == "connected" ]; then 4if [ $status == "connected" ]; then
5 xrandr --output eDP-1 --mode 1920x1080 --pos 0x1076 --rotate normal --output HDMI-1 --primary --mode 1366x768 --scale 1.4x1.4 --pos 0x0 --rotate normal --output DP-1 --off 5 # xrandr --output eDP-1 --mode 1920x1080 --pos 0x1076 --rotate normal --output HDMI-1 --primary --mode 1366x768 --scale 1.4x1.4 --pos 0x0 --rotate normal --output DP-1 --off
6 xrandr --output eDP-1 --mode 1920x1080 --pos 0x768 --scale 1 --output HDMI-1 --primary --mode 1366x768 --pos 318x0 --scale 1
6 bspc wm -r 7 bspc wm -r
7else 8else
8 xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-1 --off --output DisplayPort-0 --off 9 xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-1 --off --output DisplayPort-0 --off
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
index 2b6de5d..4573545 100755
--- a/sxhkd/.config/sxhkd/sxhkdrc
+++ b/sxhkd/.config/sxhkd/sxhkdrc
@@ -16,8 +16,6 @@ super + n
16 urxvtc -e nvim ~/.cache/bujo/todo.md 16 urxvtc -e nvim ~/.cache/bujo/todo.md
17Print 17Print
18 maim ~/screens/$(date +%d-%b-%y-%I:%M%p).png 18 maim ~/screens/$(date +%d-%b-%y-%I:%M%p).png
19control + Print
20 maim -i $(xdotool getactivewindow) ~/screens/$(date +%d-%b-%y-%I:%M%p).png
21control + alt + Print 19control + alt + Print
22 maim -s ~/screens/$(date +%d-%b-%y-%I:%M%p).png 20 maim -s ~/screens/$(date +%d-%b-%y-%I:%M%p).png
23super + shift + p 21super + shift + p
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 8316cb9..fa6a5c2 100755
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -65,6 +65,10 @@ bind() {
65 ssh -L localhost\:$1\:localhost\:$1 $2 65 ssh -L localhost\:$1\:localhost\:$1 $2
66} 66}
67 67
68findstr() {
69 find . -type f -exec grep -H "$1" {} \;
70}
71
68# Enable colors and change prompt: 72# Enable colors and change prompt:
69autoload -U colors && colors 73autoload -U colors && colors
70fpath+=$HOME/.cache/zsh/pure 74fpath+=$HOME/.cache/zsh/pure