diff options
author | Patrick Simianer <p@simianer.de> | 2018-10-19 08:34:38 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2018-10-19 08:34:38 +0200 |
commit | cbbebb3770b572514baf7b67458f4b9d047ff0f4 (patch) | |
tree | a0e8540954a36eff3598f4219baa9b14cf22a3d6 | |
parent | cf7179a73d41a705ef072fcee373c23be2366e88 (diff) | |
parent | 081b22319924e46107b3e3d03a29afb705f9914a (diff) |
merge
-rwxr-xr-x | autostart | 36 | ||||
-rwxr-xr-x | browser | 11 | ||||
-rwxr-xr-x | net-profile | 3 |
3 files changed, 36 insertions, 14 deletions
@@ -1,26 +1,34 @@ #!/bin/sh -feh --no-xinerama --image-bg black --bg-center "$HOME/images/MIPS_R3000A_die-1024x1024.jpg" +feh --no-xinerama --image-bg black --bg-fill "$HOME/image/MIPS-R3000A-die.jpg" & -mkdir -p /tmp/pks/.cache /tmp/pks/.ccache +mkdir -p /tmp/pks/.cache /tmp/pks/.ccache /tmp/mutt & -xmodmap - -xbindkeys +exec xmodmap ${HOME}/.Xmodmap & +xbindkeys & ~/.local/bin/urxvtd -q -f -o -xrandr --output VGA-0 --off -xrandr --output VGA0 --off -xrandr --output VGA-1 --off -xrandr --output VGA1 --off +imwheel & +unclutter -idle 5 & + +xset s 0 & +xset b off & -imwheel +~/.local/bin/notification-daemon-launch & -xset s 0 -xset b off +exec ${HOME}/bin/ratcpi & +exec ${HOME}/.local/bin/mouse-settings & -unclutter -idle 5 & +if [[ $(hostname) == "bryant" ]]; then + exec xrandr --output DP-7 --rotate right & + exec sudo nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan-0]/GPUTargetFanSpeed=1" & +fi -~/.local/bin/notification-daemon-launch & +if [[ $(hostname) == "bogues" ]]; then + xrandr --output VGA-0 --off & + xrandr --output VGA0 --off & + xrandr --output VGA-1 --off & + xrandr --output VGA1 --off & +fi @@ -0,0 +1,11 @@ +#!/usr/bin/env zsh + +dpi=`xdpyinfo | grep -oP 'resolution:\s+\K\S+'` +host=$(hostname) + +if [[ $dpi == 96x96 ]]; then + GDK_DPI_SCALE=1.6 /usr/bin/env firefox +else + /usr/bin/env firefox +fi + diff --git a/net-profile b/net-profile index 7cb353d..607cb5b 100755 --- a/net-profile +++ b/net-profile @@ -1,6 +1,9 @@ #!/bin/sh DEV=`ls -1 /sys/class/net | grep wlan` +if [[ $DEV == "" ]]; then + DEV=`ls -1 /sys/class/net | grep wlp` +fi setup_wifi() { |