Kernel update fixed odd font sizing; added randr scripts to dock and undock
This commit is contained in:
parent
20dd842226
commit
5fd194f3ff
@ -1,6 +1,6 @@
|
||||
background_opacity 0.85
|
||||
font_family Operator Mono Book
|
||||
font_size 5.7
|
||||
font_size 15.0
|
||||
allow_remote_control yes
|
||||
|
||||
include ./theme.conf
|
||||
|
31
config/xserver/screenlayout/hdmidock.sh
Executable file
31
config/xserver/screenlayout/hdmidock.sh
Executable file
@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
xrandr --output DP-0 --off\
|
||||
--output DP-1 --off\
|
||||
--output DP-3 --off\
|
||||
--output DP-4 --off\
|
||||
--output DP-2 --primary --mode 2880x1800 --scale 0.8x0.8 --pos 0x0 --rotate normal\
|
||||
--output HDMI-0 --mode 1920x1080 --pos 2880x0 --rotate normal
|
||||
|
||||
ROLL=$(($RANDOM%4));
|
||||
|
||||
if [ $ROLL -eq 0 ]; then
|
||||
feh --bg-fill\
|
||||
$HOME/Pictures/bg/midoriya.jpg\
|
||||
$HOME/Pictures/bg/vegeta.jpg\
|
||||
>/dev/null 2>&1
|
||||
elif [ $ROLL -eq 1 ]; then
|
||||
feh --bg-fill\
|
||||
$HOME/Pictures/bg/ike_vs_bk.jpg\
|
||||
$HOME/Pictures/bg/seiros_vs_nemesis.jpg\
|
||||
>/dev/null 2>&1
|
||||
elif [ $ROLL -eq 2 ]; then
|
||||
feh --bg-fill\
|
||||
$HOME/Pictures/bg/captainfalcon.jpg\
|
||||
$HOME/Pictures/bg/link.jpg\
|
||||
>/dev/null 2>&1
|
||||
elif [ $ROLL -eq 3 ]; then
|
||||
feh --bg-fill\
|
||||
$HOME/Pictures/bg/fe8.jpg\
|
||||
$HOME/Pictures/bg/micaiah.jpg\
|
||||
>/dev/null 2>&1
|
||||
fi
|
@ -1,2 +1,18 @@
|
||||
#!/bin/sh
|
||||
xrandr --output DP-0 --off --output DP-1 --off --output HDMI-0 --primary --mode 3840x2160 --pos 2880x0 --rotate normal --output DP-2 --off --output DP-3 --off --output DP-4 --off
|
||||
xrandr --output DP-0 --off\
|
||||
--output DP-1 --off\
|
||||
--output DP-2 --off\
|
||||
--output DP-3 --off\
|
||||
--output DP-4 --off\
|
||||
--output HDMI-0 --primary --mode 3840x2160 --pos 2880x0 --rotate normal
|
||||
|
||||
|
||||
ROLL=$(($RANDOM%3));
|
||||
|
||||
if [ $ROLL -eq 0 ]; then
|
||||
feh --bg-fill $HOME/Pictures/bg/detective.jpg >/dev/null 2>&1
|
||||
elif [ $ROLL -eq 1 ]; then
|
||||
feh --bg-fill $HOME/Pictures/bg/link.png >/dev/null 2>&1
|
||||
elif [ $ROLL -eq 2 ]; then
|
||||
feh --bg-fill $HOME/Pictures/bg/snow2.jpg >/dev/null 2>&1
|
||||
fi
|
||||
|
@ -1,2 +1,30 @@
|
||||
#!/bin/sh
|
||||
xrandr --output DP-0 --off --output DP-1 --off --output HDMI-0 --off --output DP-2 --primary --mode 2880x1800 --scale 0.7x0.7 --pos 0x0 --rotate normal --output DP-3 --off --output DP-4 --off
|
||||
xrandr --output DP-0 --off\
|
||||
--output DP-1 --off\
|
||||
--output HDMI-0 --off\
|
||||
--output DP-3 --off --output DP-4 --off\
|
||||
--output DP-2 --primary --mode 2880x1800 --scale 0.8x0.8 --pos 0x0 --rotate normal
|
||||
|
||||
ROLL=$(($RANDOM%10));
|
||||
|
||||
if [ $ROLL -eq 0 ]; then
|
||||
feh --bg-fill $HOME/Pictures/bg/vegeta.jpg >/dev/null 2>&1
|
||||
elif [ $ROLL -eq 1 ]; then
|
||||
feh --bg-fill $HOME/Pictures/bg/claude.jpg >/dev/null 2>&1
|
||||
elif [ $ROLL -eq 2 ]; then
|
||||
feh --bg-fill $HOME/Pictures/bg/ike_vs_bk.jpg >/dev/null 2>&1
|
||||
elif [ $ROLL -eq 3 ]; then
|
||||
feh --bg-fill $HOME/Pictures/bg/snow1.jpg >/dev/null 2>&1
|
||||
elif [ $ROLL -eq 4 ]; then
|
||||
feh --bg-fill $HOME/Pictures/bg/midoriya.jpg >/dev/null 2>&1
|
||||
elif [ $ROLL -eq 5 ]; then
|
||||
feh --bg-fill $HOME/Pictures/bg/pikachu.jpg >/dev/null 2>&1
|
||||
elif [ $ROLL -eq 6 ]; then
|
||||
feh --bg-fill $HOME/Pictures/bg/captainfalcon.jpg >/dev/null 2>&1
|
||||
elif [ $ROLL -eq 7 ]; then
|
||||
feh --bg-fill $HOME/Pictures/bg/seiros_vs_nemesis.jpg >/dev/null 2>&1
|
||||
elif [ $ROLL -eq 8 ]; then
|
||||
feh --bg-fill $HOME/Pictures/bg/kirito.jpg >/dev/null 2>&1
|
||||
elif [ $ROLL -eq 9 ]; then
|
||||
feh --bg-fill $HOME/Pictures/bg/altaria.jpg >/dev/null 2>&1
|
||||
fi
|
||||
|
@ -1,4 +1,36 @@
|
||||
#!/bin/sh
|
||||
xrandr --output DP-0 --off --output DP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-0 --off --output DP-2 --mode 2880x1800 --pos 3840x0 --rotate normal --output DP-3 --mode 1920x1080 --pos 1920x0 --rotate normal --output DP-4 --off
|
||||
xrandr --output DP-0 --off\
|
||||
--output DP-4 --off\
|
||||
--output HDMI-0 --off\
|
||||
--output DP-1 --mode 1920x1080 --pos 0x0 --rotate normal\
|
||||
--output DP-2 --mode 2880x1800 --pos 3840x0 --rotate normal --scale 0.8x0.8\
|
||||
--output DP-3 --mode 1920x1080 --pos 1920x0 --rotate normal
|
||||
|
||||
xrandr --output DP-2 --scale 0.7x0.7 && feh --bg-fill $HOME/Pictures/bg/vegeta.jpg $HOME/Pictures/bg/altaria.jpg $HOME/Pictures/bg/captainfalcon.jpg >/dev/null 2>/dev/null
|
||||
|
||||
ROLL=$(($RANDOM%4));
|
||||
|
||||
if [ $ROLL -eq 0 ]; then
|
||||
feh --bg-fill\
|
||||
$HOME/Pictures/bg/midoriya.jpg\
|
||||
$HOME/Pictures/bg/altaria.jpg\
|
||||
$HOME/Pictures/bg/captainfalcon.jpg\
|
||||
>/dev/null 2>&1
|
||||
elif [ $ROLL -eq 1 ]; then
|
||||
feh --bg-fill\
|
||||
$HOME/Pictures/bg/dimitri.jpg\
|
||||
$HOME/Pictures/bg/claude.jpg\
|
||||
$HOME/Pictures/bg/edelgard.jpg\
|
||||
>/dev/null 2>&1
|
||||
elif [ $ROLL -eq 2 ]; then
|
||||
feh --bg-fill\
|
||||
$HOME/Pictures/bg/roy.jpg\
|
||||
$HOME/Pictures/bg/fe8.jpg\
|
||||
$HOME/Pictures/bg/micaiah.jpg\
|
||||
>/dev/null 2>&1
|
||||
elif [ $ROLL -eq 3 ]; then
|
||||
feh --bg-fill\
|
||||
$HOME/Pictures/bg/chrom.jpg\
|
||||
$HOME/Pictures/bg/byleth.jpg\
|
||||
$HOME/Pictures/bg/link.jpg\
|
||||
>/dev/null 2>&1
|
||||
fi
|
||||
|
@ -1,6 +1,11 @@
|
||||
#!/bin/bash
|
||||
source $HOME/.my_bash_env
|
||||
|
||||
XSERVER_DIR="$DOTWRYN/config/xserver"
|
||||
|
||||
CUSTOM_DMENU_COMMANDS="$HOME/.local/custom_dmenu"
|
||||
[ -d $CUSTOM_DMENU_COMMANDS]
|
||||
export PATH="$CUSTOM_DMENU_COMMANDS:$PATH"
|
||||
|
||||
"$XSERVER_DIR/set_randr_layout" &
|
||||
exec i3
|
||||
|
Loading…
Reference in New Issue
Block a user