Add scripts

master
Hektor Misplon 2020-09-06 00:18:31 +02:00
parent 52920558e5
commit f0767b4618
3 changed files with 13 additions and 0 deletions

2
.bin/aurpac Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
git clone https://aur.archlinux.org/$1.git

9
.bin/brave-launcher Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
BRAVE_USER_FLAGS_FILE="$XDG_CONFIG_HOME/brave-flags.conf"
if [[ -f $BRAVE_USER_FLAGS_FILE ]]; then
USER_FLAGS="$(cat $BRAVE_USER_FLAGS_FILE | sed 's/#.*//')"
fi
/usr/bin/brave $@ $USER_FLAGS

2
.bin/laptop-only Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
xrandr --output eDP --dpi 180 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-0 --off