This commit is contained in:
Frieder Schlesier 2020-11-07 19:05:22 +01:00
parent acaaeca54d
commit 6ce1eda75a
6 changed files with 38 additions and 13 deletions

View File

@ -111,16 +111,22 @@ assign [class=".*ee.*ass.*"] $WS8
# https://faq.i3wm.org/question/3726/workspace-output-multiple-values/index.html%3Fanswer=3731.html#post-id-3731
set $LAPTOP LVDS-1
set $CENTER VGA-1
#set $CENTER HDMI-1
#set $CENTER DP-1
set $CENTER HDMI-1
set $RIGHT VGA-1
# monitor settings
bindsym $mod+m mode "monitor"
mode "monitor" {
# only laptop
bindsym 1 exec xrandr --output $LAPTOP --auto --primary --output $CENTER --off $RIGHT --off
bindsym 2 exec xrandr --output $CENTER --primary --auto --output $LAPTOP --auto --left-of $CENTER
#bindsym 3 exec xrandr --output $CENTER --primary --auto --output $LAPTOP --auto --left-of $CENTER --output $RIGHT --auto --right-of $CENTER
# HDMI main, laptop secondary
bindsym 2 exec xrandr --output $CENTER --primary --auto --output $LAPTOP --auto --left-of $CENTER --output $RIGHT --off
# HDMI main, laptop left, VGA right, *not* supported on X230
bindsym 3 exec xrandr --output $CENTER --primary --auto --output $LAPTOP --auto --left-of $CENTER --output $RIGHT --auto --right-of $CENTER
# VGA main, laptop left, HDMI off
bindsym 8 exec xrandr --output $RIGHT --primary --auto --output $LAPTOP --auto --left-of $RIGHT --output $CENTER --off
# HDMI main, VGA right, laptop off
bindsym 9 exec xrandr --output $CENTER --primary --auto --output $RIGHT --auto --right-of $CENTER --output $LAPTOP --off
# back to normal: Enter or Escape
bindsym Return mode "default"
@ -224,8 +230,7 @@ bar {
bar {
output $CENTER
output DP-1
output HDMI-1
output $RIGHT
status_command i3status --config ~/.i3/status_small.conf
tray_output $LAPTOP
}
@ -240,6 +245,7 @@ bar {
#exec xrdb -merge /home/jessie/.Xresources
#exec xrdb -merge /home/jessie/.Xdefaults
# startup programs
exec amixer set Master 1+ off
exec amixer set Master 54
@ -253,3 +259,4 @@ exec --no-startup-id i3-msg 'exec thunderbird'
exec --no-startup-id i3-msg 'exec keepassxc'
# exec --no-startup-id i3-msg 'exec nextcloud'
exec --no-startup-id i3-msg 'workspace $WS3; exec urxvt;'

View File

@ -25,7 +25,7 @@ order += "path_exists VPN"
#order += "ipv6"
order += "wireless wlp3s0"
order += "ethernet enp0s25"
order += "volume master"
order += "volume Master"
order += "battery 0"
#order += "cpu_temperature 0"
order += "load"
@ -112,7 +112,7 @@ disk "/media/driveBay" {
format = "/ %avail"
}
volume master {
volume Master {
format = " %volume"
format_muted = " %volume"
device = "default"

View File

@ -21,7 +21,8 @@ order += "run_watch Docker"
order += "run_watch DHCP"
order += "path_exists VPN"
order += "wireless wlp3s0"
order += "ethernet eth0"
# order += "ethernet eth0"
order += "ethernet enp0s25"
order += "volume master"
order += "battery 0"
order += "load"
@ -43,7 +44,8 @@ wireless wlp3s0 {
format_down = " -"
}
ethernet eth0 {
# ethernet eth0 {
ethernet enp0s25 {
# if you use %speed, i3status requires root privileges
format_up = "E: up"
format_down = "E: down"

2
.path
View File

@ -1,4 +1,4 @@
#export GOROOT=/usr/local/go/bin
# export GOPATH=/home/fschl/projects/go_projects
export PATH=${PATH}:/usr/local/go/bin:${GOPATH}/bin
export PATH=${PATH}:/usr/local/go/bin:/home/fschl/go/bin

View File

@ -327,6 +327,9 @@ you should place your code here."
rustauto-completion :variables
auto-completion-enable-snippets-in-popup t
auto-completion-enable-help-tooltip t)))
(setq org-ref-default-bibliography '("~/Documents/WHZ/MA/latex/references.bib")
org-ref-pdf-directory "~/Documents/WHZ/MA/references/"
org-ref-bibliography-notes "~/Documents/WHZ/MA/notes.org")
)
;; Do not write anything past this comment. This is where Emacs will

View File

@ -167,11 +167,14 @@ install_latex() {
evince \
texlive \
texlive-bibtex-extra \
texlive-fonts-extra \
texlive-fonts-recommended \
texlive-lang-english \
texlive-lang-german \
texlive-latex-extra \
texlive-latex-recommended \
texlive-pictures \
zathura \
--no-install-recommends
}
@ -242,6 +245,16 @@ install_i3() {
xorg \
--no-install-recommends
# install Syncthing via apt
# Add the release PGP keys:
curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
# Add the "stable" channel to your APT sources:
echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
# Update and install syncthing:
sudo apt-get update
sudo apt-get install syncthing
echo "... DONE... cleaning up\n\n"
apt autoremove
apt autoclean
@ -385,7 +398,7 @@ get_dotfiles() {
# install/update golang from source
install_golang() {
export GO_VERSION=1.13.0
export GO_VERSION=1.15.0
export GO_SRC=/usr/local/go
# if we are passing the version