summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-01-24 12:23:41 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-01-24 12:23:41 -0500
commit7e621b5759422f7e59d62d8cb560498f82443a7b (patch)
tree33c21f221d51744726dfc28db590c1324687f260
parent2c5a050641d5400843facfc65e58a2bef5d87422 (diff)
parent0ad11de796d2b5657757fd7b860bf1f4938af4c7 (diff)
Merge branch 'master' of github.com:ChausseBenjamin/dotfiles
-rwxr-xr-x.config/startup/intern8
-rwxr-xr-x.config/startup/workstation3
-rw-r--r--.profile16
3 files changed, 11 insertions, 16 deletions
diff --git a/.config/startup/intern b/.config/startup/intern
deleted file mode 100755
index d6ae6bd..0000000
--- a/.config/startup/intern
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-# Pipewire setup:
-dbus-launch --sh-syntax --exit-with-session; pulseaudio --kill; pipewire &
-
-# Standard dual screen layout
-$HOME/.screenlayout/office.sh &
-
diff --git a/.config/startup/workstation b/.config/startup/workstation
index 413e79a..afbc776 100755
--- a/.config/startup/workstation
+++ b/.config/startup/workstation
@@ -6,5 +6,8 @@ gentoo-pipewire-launcher &
# Autolock the screen after 5 minutes with xautolock (slock)
xautolock -time 5 -locker slock &
+# Configure monitor layout (and wallpaper)
+"$XDG_CONFIG_HOME/screenlayout/workstation-singlemon" &
+
# Automatically start dropbox
dropbox start &
diff --git a/.profile b/.profile
index c35dc08..c960b88 100644
--- a/.profile
+++ b/.profile
@@ -1,6 +1,6 @@
# Path
export SCRIPTS=$HOME/.local/bin
-export PATH=$PATH$( find $SCRIPTS/ -type d -printf ":%p" )
+export PATH=$PATH$(find $SCRIPTS/ -type d -printf ":%p")
export GOPATH=$HOME/.go
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$HOME/.cargo/bin
@@ -25,11 +25,11 @@ export TEXMFHOME=$XDG_DATA_HOME/texmf
export TEXSRC=$HOME/.local/src/sherbrooke-tex
# Applications
-export EDITOR=$(which nvim)
-export READER=$(which zathura)
-export TERMINAL=$(which alacritty)
-export TERM=$(which alacritty)
-export BROWSER=$(which firefox)
+export EDITOR=/usr/bin/nvim
+export READER=/usr/bin/zathura
+export TERMINAL=/usr/bin/alacritty
+export TERM=/usr/bin/alacritty
+export BROWSER=/usr/bin/firefox
# less/man colors
export LESS=-R
@@ -47,10 +47,10 @@ aliasgen
# Ensure XDG_RUNTIME_DIR is set
if test -z "$XDG_RUNTIME_DIR"; then
- export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
+ export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
fi
# Start Desktop Environment if on the main TTY
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
- startx
+ startx
fi