updates
This commit is contained in:
parent
acaaeca54d
commit
6ce1eda75a
21
.i3/config
21
.i3/config
|
@ -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
|
# https://faq.i3wm.org/question/3726/workspace-output-multiple-values/index.html%3Fanswer=3731.html#post-id-3731
|
||||||
set $LAPTOP LVDS-1
|
set $LAPTOP LVDS-1
|
||||||
set $CENTER VGA-1
|
set $CENTER HDMI-1
|
||||||
#set $CENTER HDMI-1
|
set $RIGHT VGA-1
|
||||||
#set $CENTER DP-1
|
|
||||||
|
|
||||||
# monitor settings
|
# monitor settings
|
||||||
bindsym $mod+m mode "monitor"
|
bindsym $mod+m mode "monitor"
|
||||||
mode "monitor" {
|
mode "monitor" {
|
||||||
|
# only laptop
|
||||||
bindsym 1 exec xrandr --output $LAPTOP --auto --primary --output $CENTER --off $RIGHT --off
|
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
|
# HDMI main, laptop secondary
|
||||||
#bindsym 3 exec xrandr --output $CENTER --primary --auto --output $LAPTOP --auto --left-of $CENTER --output $RIGHT --auto --right-of $CENTER
|
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
|
# back to normal: Enter or Escape
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
|
@ -224,8 +230,7 @@ bar {
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
output $CENTER
|
output $CENTER
|
||||||
output DP-1
|
output $RIGHT
|
||||||
output HDMI-1
|
|
||||||
status_command i3status --config ~/.i3/status_small.conf
|
status_command i3status --config ~/.i3/status_small.conf
|
||||||
tray_output $LAPTOP
|
tray_output $LAPTOP
|
||||||
}
|
}
|
||||||
|
@ -240,6 +245,7 @@ bar {
|
||||||
#exec xrdb -merge /home/jessie/.Xresources
|
#exec xrdb -merge /home/jessie/.Xresources
|
||||||
#exec xrdb -merge /home/jessie/.Xdefaults
|
#exec xrdb -merge /home/jessie/.Xdefaults
|
||||||
|
|
||||||
|
|
||||||
# startup programs
|
# startup programs
|
||||||
exec amixer set Master 1+ off
|
exec amixer set Master 1+ off
|
||||||
exec amixer set Master 54
|
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 keepassxc'
|
||||||
# exec --no-startup-id i3-msg 'exec nextcloud'
|
# exec --no-startup-id i3-msg 'exec nextcloud'
|
||||||
exec --no-startup-id i3-msg 'workspace $WS3; exec urxvt;'
|
exec --no-startup-id i3-msg 'workspace $WS3; exec urxvt;'
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ order += "path_exists VPN"
|
||||||
#order += "ipv6"
|
#order += "ipv6"
|
||||||
order += "wireless wlp3s0"
|
order += "wireless wlp3s0"
|
||||||
order += "ethernet enp0s25"
|
order += "ethernet enp0s25"
|
||||||
order += "volume master"
|
order += "volume Master"
|
||||||
order += "battery 0"
|
order += "battery 0"
|
||||||
#order += "cpu_temperature 0"
|
#order += "cpu_temperature 0"
|
||||||
order += "load"
|
order += "load"
|
||||||
|
@ -112,7 +112,7 @@ disk "/media/driveBay" {
|
||||||
format = "/ %avail"
|
format = "/ %avail"
|
||||||
}
|
}
|
||||||
|
|
||||||
volume master {
|
volume Master {
|
||||||
format = " %volume"
|
format = " %volume"
|
||||||
format_muted = " %volume"
|
format_muted = " %volume"
|
||||||
device = "default"
|
device = "default"
|
||||||
|
|
|
@ -21,7 +21,8 @@ order += "run_watch Docker"
|
||||||
order += "run_watch DHCP"
|
order += "run_watch DHCP"
|
||||||
order += "path_exists VPN"
|
order += "path_exists VPN"
|
||||||
order += "wireless wlp3s0"
|
order += "wireless wlp3s0"
|
||||||
order += "ethernet eth0"
|
# order += "ethernet eth0"
|
||||||
|
order += "ethernet enp0s25"
|
||||||
order += "volume master"
|
order += "volume master"
|
||||||
order += "battery 0"
|
order += "battery 0"
|
||||||
order += "load"
|
order += "load"
|
||||||
|
@ -43,7 +44,8 @@ wireless wlp3s0 {
|
||||||
format_down = " -"
|
format_down = " -"
|
||||||
}
|
}
|
||||||
|
|
||||||
ethernet eth0 {
|
# ethernet eth0 {
|
||||||
|
ethernet enp0s25 {
|
||||||
# if you use %speed, i3status requires root privileges
|
# if you use %speed, i3status requires root privileges
|
||||||
format_up = "E: up"
|
format_up = "E: up"
|
||||||
format_down = "E: down"
|
format_down = "E: down"
|
||||||
|
|
2
.path
2
.path
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
#export GOROOT=/usr/local/go/bin
|
#export GOROOT=/usr/local/go/bin
|
||||||
# export GOPATH=/home/fschl/projects/go_projects
|
# 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
|
|
@ -327,6 +327,9 @@ you should place your code here."
|
||||||
rustauto-completion :variables
|
rustauto-completion :variables
|
||||||
auto-completion-enable-snippets-in-popup t
|
auto-completion-enable-snippets-in-popup t
|
||||||
auto-completion-enable-help-tooltip 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
|
;; Do not write anything past this comment. This is where Emacs will
|
||||||
|
|
|
@ -167,11 +167,14 @@ install_latex() {
|
||||||
evince \
|
evince \
|
||||||
texlive \
|
texlive \
|
||||||
texlive-bibtex-extra \
|
texlive-bibtex-extra \
|
||||||
|
texlive-fonts-extra \
|
||||||
|
texlive-fonts-recommended \
|
||||||
texlive-lang-english \
|
texlive-lang-english \
|
||||||
texlive-lang-german \
|
texlive-lang-german \
|
||||||
texlive-latex-extra \
|
texlive-latex-extra \
|
||||||
texlive-latex-recommended \
|
texlive-latex-recommended \
|
||||||
texlive-pictures \
|
texlive-pictures \
|
||||||
|
zathura \
|
||||||
--no-install-recommends
|
--no-install-recommends
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -242,6 +245,16 @@ install_i3() {
|
||||||
xorg \
|
xorg \
|
||||||
--no-install-recommends
|
--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"
|
echo "... DONE... cleaning up\n\n"
|
||||||
apt autoremove
|
apt autoremove
|
||||||
apt autoclean
|
apt autoclean
|
||||||
|
@ -385,7 +398,7 @@ get_dotfiles() {
|
||||||
|
|
||||||
# install/update golang from source
|
# install/update golang from source
|
||||||
install_golang() {
|
install_golang() {
|
||||||
export GO_VERSION=1.13.0
|
export GO_VERSION=1.15.0
|
||||||
export GO_SRC=/usr/local/go
|
export GO_SRC=/usr/local/go
|
||||||
|
|
||||||
# if we are passing the version
|
# if we are passing the version
|
||||||
|
|
Loading…
Reference in New Issue