mirror of https://github.com/balkian/dotfiles.git
Long time no see
parent
444fc3706a
commit
c46c149046
@ -1 +0,0 @@
|
||||
dual-monitor.sputnik
|
@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
case $1 in
|
||||
"single")
|
||||
#xrandr --auto --output eDP1 --primary --output DP1 --off
|
||||
~/.screenlayout/gsi-single.sh
|
||||
xrandr --output HDMI1 --off --output DVI-1 --off --output DP1 --off --output eDP1 --mode 1920x1080 --pos 0x0 --rotate normal --output VGA1 --off
|
||||
;;
|
||||
"dual")
|
||||
case $2 in
|
||||
"home")
|
||||
xrandr --output DP1 --off --output VIRTUAL1 --off --output eDP1 --mode 1920x1080 --pos 0x1080 --rotate normal --output HDMI1 --mode 1920x1080 --pos 0x0 --rotate normal --output VGA1 --off
|
||||
;;
|
||||
*)
|
||||
#xrandr --auto --output eDP1 --primary --right-of DP1
|
||||
xrandr --output VIRTUAL1 --off --output DP1 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output eDP1 --mode 1920x1080 --pos 0x1080 --rotate normal --output VGA1 --off
|
||||
xrandr --output "DVI-1-0" --off
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if [ `command -v nitrogen` ]; then
|
||||
nitrogen --restore
|
||||
fi
|
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
shopt -s nullglob globstar
|
||||
|
||||
password_files=( ~/.password-store/**/*.gpg )
|
||||
password_files=( "${password_files[@]##*/.password-store/}" )
|
||||
password_files=( "${password_files[@]%.gpg}" )
|
||||
|
||||
password=$(printf '%s\n' "${password_files[@]}" | dmenu "$@")
|
||||
|
||||
pass -c "$password"
|
@ -1 +0,0 @@
|
||||
single-monitor.sputnik
|
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
[ -f /etc/xprofile ] && source /etc/xprofile
|
||||
[ -f ~/.xprofile ] && source ~/.xprofile
|
||||
#[ -f ~/.Xresources ] && xrdb ~/.Xresources
|
||||
#caps:swapescape
|
||||
|
Loading…
Reference in New Issue