mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Changes :)
This commit is contained in:
16
scripts/3screens
Executable file
16
scripts/3screens
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
TOP_LEFT="DP-0.1"
|
||||
TOP_RIGHT="DP-0.2.1"
|
||||
BOTTOM_LEFT="HDMI-0"
|
||||
BOTTOM_RIGHT="DP-0.2.2.1"
|
||||
|
||||
#--output $BOTTOM_LEFT --primary --mode 1920x1080 --pos 0x1080 --rotate normal \
|
||||
xrandr \
|
||||
--output $BOTTOM_LEFT --off \
|
||||
--output $TOP_LEFT --mode 1920x1080 --pos 0x0 --rotate inverted \
|
||||
--output $TOP_RIGHT --mode 1920x1080 --pos 1920x0 --rotate inverted \
|
||||
--output $BOTTOM_RIGHT --mode 1920x1080 --pos 1920x1080 --rotate normal --primary
|
||||
|
||||
[ -e ~/.fehbg ] && ~/.fehbg
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
set -ex
|
||||
|
||||
# Based on https://github.com/vincentbernat/awesome-configuration/blob/master/bin/xsettingsd-setup
|
||||
|
||||
@ -15,6 +15,8 @@ mkdir -p "$CONF_DIR"
|
||||
|
||||
# Build xsettingsd.local
|
||||
{
|
||||
# echo Gdk/WindowScalingFactor $(echo "$dpi/96" | bc -l | xargs printf '%.f')
|
||||
# echo Gdk/UnscaledDPI $(echo "($dpi*1024)/($dpi/96)" | bc -l | xargs printf '%.f')
|
||||
cat $CONF_DIR/xsettingsd.conf 2>/dev/null || true
|
||||
echo Xft/DPI $(( $dpi*1024 ))
|
||||
echo Gdk/WindowScalingFactor $(( $dpi/96 ))
|
||||
|
2
scripts/gtav
Executable file
2
scripts/gtav
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec xdg-open steam://rungameid/271590
|
@ -57,9 +57,8 @@ function notify() {
|
||||
}
|
||||
|
||||
function display() {
|
||||
fontawesome=$(cat "$FONTAWESOME_FILE" | grep -v '#' | grep -v '^[[:space:]]*$')
|
||||
update=""$'\t'"Update Font Awesome cache"
|
||||
fontawesome=$(printf "$fontawesome\n$update")
|
||||
update=$'\tUpdate Font Awesome cache'
|
||||
fontawesome=$(grep -v '#\|^[[:space:]]*$' "$FONTAWESOME_FILE"; printf "$update\n")
|
||||
line=$(echo "$fontawesome" | rofi -dmenu -i -p fontawesome -normal-window -kb-custom-1 Ctrl+c -kb-row-tab '' -kb-row-select Tab $@)
|
||||
exit_code=$?
|
||||
|
||||
@ -69,7 +68,6 @@ function display() {
|
||||
return
|
||||
fi
|
||||
|
||||
#IFS=$'\t'
|
||||
line=($line)
|
||||
last=${line[${#line[@]}-1]}
|
||||
|
||||
|
@ -9,7 +9,7 @@ FILENAME="$(date '+%s%N' | sha256sum | head -c7).png"
|
||||
DIRECTORY="$HOME/pictures/screenshots"
|
||||
|
||||
SCP_HOST=frebib@Poseidon.nerdhouse.io
|
||||
SCP_PATH=/dave/www/frebib.net/s
|
||||
SCP_PATH=/services/www/files/frebib.net/s
|
||||
URL_PATH=https://frebib.net/s
|
||||
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
Reference in New Issue
Block a user