summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-10 11:34:55 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-10 11:34:55 +0200
commit64e1a2a5e932c4afe137998fcb399c71528d5910 (patch)
treef03810f4e78aa0fe5edbd336062b6129157d7a6e
parentupdate (diff)
downloaddotfiles-bsd-64e1a2a5e932c4afe137998fcb399c71528d5910.tar.gz
dotfiles-bsd-64e1a2a5e932c4afe137998fcb399c71528d5910.tar.bz2
dotfiles-bsd-64e1a2a5e932c4afe137998fcb399c71528d5910.tar.xz
dotfiles-bsd-64e1a2a5e932c4afe137998fcb399c71528d5910.tar.zst
dotfiles-bsd-64e1a2a5e932c4afe137998fcb399c71528d5910.zip
update
-rw-r--r--.config/zsh/alias.zsh17
-rwxr-xr-x.local/bin/scrwork17
2 files changed, 17 insertions, 17 deletions
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh
index 2e5e8da..1303163 100644
--- a/.config/zsh/alias.zsh
+++ b/.config/zsh/alias.zsh
@@ -18,7 +18,7 @@ tree() {
}
alias \
e='editorcmd' \
- vim='editorcmd' \
+ vim='nvim' \
c='clear' \
less='less --tabs 4' \
bc='bc -l' \
@@ -127,26 +127,27 @@ pa() {
co() {
if [ "$1" ]; then
if cd "$XDG_CONFIG_HOME"/"$1"; then
- ls
+ :
else
- cd "$XDG_CONFIG_HOME" && ls
+ cd "$XDG_CONFIG_HOME"
fi
else
- cd "$XDG_CONFIG_HOME" && ls
+ cd "$XDG_CONFIG_HOME"
fi
}
da() {
if [ "$1" ]; then
if cd "$XDG_DATA_HOME"/"$1"; then
- ls
+ :
else
- cd "$XDG_DATA_HOME" && ls
+ cd "$XDG_DATA_HOME"
fi
else
- cd "$XDG_DATA_HOME" && ls
+ cd "$XDG_DATA_HOME"
fi
}
-alias bi='cd $HOME/.local/bin && ls'
+alias bi='cd $HOME/.local/bin' \
+ sss='cd $HOME/docs/work/secuserve/scripts'
twi() {
mpview https://twitch.tv/"$1";
}
diff --git a/.local/bin/scrwork b/.local/bin/scrwork
index 881f24d..cb0b904 100755
--- a/.local/bin/scrwork
+++ b/.local/bin/scrwork
@@ -44,14 +44,13 @@
#
# Screen setup when I'm at work
-xrandr \
- --output LVDS-1 --mode 1366x768 --pos 0x600 --rotate normal \
- --output VGA-1 --mode 1920x1080 --pos 3286x0 --rotate normal \
- --output HDMI-1 --primary --mode 1920x1080 --pos 1366x0 --rotate normal \
- --output DP-1 --off \
- --output HDMI-2 --off \
- --output HDMI-3 --off \
- --output DP-2 --off \
- --output DP-3 --off
+xrandr --output LVDS-1 --off
+xrandr --output VGA-1 --mode 1280x1024 --pos 0x0 --rotate normal
+xrandr --output HDMI-1 --off
+xrandr --output DP-1 --off
+xrandr --output HDMI-2 --primary --mode 1920x1080 --pos 1280x0 --rotate normal
+xrandr --output HDMI-3 --off
+xrandr --output DP-2 --off
+xrandr --output DP-3 --off
sysctl hw.snd.default_unit=0 >/dev/null
setwp