summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-06-17 22:01:54 +0200
committerJoe <rbo@gmx.us>2024-06-17 22:01:54 +0200
commitc196c8321ac3328869fe7569cda943aeb6b39cd6 (patch)
treed13c6b5d1077ab9c12cf54d529c6f8100c263d59
parentup (diff)
downloaddotfiles-bsd-c196c8321ac3328869fe7569cda943aeb6b39cd6.tar.gz
dotfiles-bsd-c196c8321ac3328869fe7569cda943aeb6b39cd6.tar.bz2
dotfiles-bsd-c196c8321ac3328869fe7569cda943aeb6b39cd6.tar.xz
dotfiles-bsd-c196c8321ac3328869fe7569cda943aeb6b39cd6.tar.zst
dotfiles-bsd-c196c8321ac3328869fe7569cda943aeb6b39cd6.zip
up
-rw-r--r--.config/go2work/go2work.toml10
-rw-r--r--.config/x11/xinitrc73
-rwxr-xr-x.local/bin/discord4
-rwxr-xr-x.local/bin/kb2
-rwxr-xr-x.local/bin/teams4
5 files changed, 79 insertions, 14 deletions
diff --git a/.config/go2work/go2work.toml b/.config/go2work/go2work.toml
index 5a0e6d8..953aaeb 100644
--- a/.config/go2work/go2work.toml
+++ b/.config/go2work/go2work.toml
@@ -4,19 +4,19 @@
files = [
# '/home/jozan/mu/rock/grunge/alice_in_chains/1992_dirt/01_them_bones.flac',
# '/home/jozan/mu/rock/stoner_rock/slo_burn/1997_amusing_the_amazing_ep/02_muezli.flac'
- '/home/jozan/mu/rock/stoner_rock/slo_burn/1997_amusing_the_amazing_ep/03_pilot_the_dune.flac'
+ # '/home/jozan/mu/rock/stoner_rock/slo_burn/1997_amusing_the_amazing_ep/03_pilot_the_dune.flac'
# '/usr/local/hdd/jozan/dl/Songs Of Anarchy/2015 Songs of Anarchy:Vol. 4 (US, 88875 06146 2)/05 Billy Valentine & The Forest Rangers - All Along The Watchtower.flac',
# 'dl/Songs Of Anarchy/2011 Songs of Anarchy:Music From Sons of Anarchy Seasons 1-4 (US, 88691 91432 2)/09 Paul Brady & The Forest Rangers - Gimme Shelter.flac',
# '/home/jozan/mu/ost/mick_gordon/2020_doom_eternal_original_game_soundtrack/54_meathook.flac',
# '/home/jozan/mu/ost/mick_gordon/2020_doom_eternal_original_game_soundtrack/21_the_super_gore_nest.flac',
# '/home/jozan/mu/progressive/progressive_black_metal/deathspell_omega/2010_paracletus/02_wings_of_predation.flac',
-# '/home/jozan/mu/metal/technical_death_metal/gojira/2016_magma/04_stranded.flac',
+ # '/home/jozan/mu/metal/technical_death_metal/gojira/2016_magma/04_stranded.flac',
# '/home/jozan/mu/metal/technical_death_metal/gojira/2005_form_mars_to_sirius/02_backbone.flac',
-# '/usr/home/jozan/mu/metal/technical_death_metal/ulcerate/2011_the_destroyers_of_all/07_the_destroyers_of_all.flac',
+ # '/usr/home/jozan/mu/metal/technical_death_metal/ulcerate/2011_the_destroyers_of_all/07_the_destroyers_of_all.flac',
#'/home/jozan/mu/rock/grunge/nirvana/2011_nevermind_20th_anniversary_deluxe_edition/cd_1/04_breed.flac',
# '/home/jozan/mu/rock/grunge/alice_in_chains/1990_facelift/02_man_in_the_box.flac',
- # '/var/hdd/files/mu/rock/grunge/alice_in_chains/1992_dirt/11_angry_chair.flac',
-# '/var/hdd/files/mu/rock/grunge/soundgarden/1994_superunknown/04_mailman.flac',
+ '/var/hdd/files/mu/rock/grunge/alice_in_chains/1992_dirt/11_angry_chair.flac',
+ # '/var/hdd/files/mu/rock/grunge/soundgarden/1994_superunknown/04_mailman.flac',
# '/var/hdd/files/mu/rock/grunge/nirvana/2005_sliver_the_best_of_the_box_compilation/03_mrs._butterworth_rehearsal_demo.flac',
# '/home/jozan/mu/rock/grunge/nirvana/2009_bleach_20th_anniversary_deluxe_edition/04_school.flac',
]
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
index ddfb330..82bbdd2 100644
--- a/.config/x11/xinitrc
+++ b/.config/x11/xinitrc
@@ -2,3 +2,76 @@
#cool-retro-term &
#exec dwm
+# vim: ft=sh
+#exec dbus-launch openbox-session
+case $(hostname -s) in
+ mother)
+ icon=" "
+ mpd="mpd"
+ xscr="xscreensaver --no-splash"
+ sleep="sleep 1"
+ ping="ping -c1 -w1 9.9.9.9 >/dev/null 2>&1"
+ ;;
+ po-rbo)
+ icon=" "
+ mpd="mpd"
+ xscr="xscreensaver"
+ sleep="sleep 1"
+ ping="ping -c1 -w1 9.9.9.9 >/dev/null 2>&1"
+ ;;
+ mars)
+ icon=" "
+ mpd="musicpd"
+ xscr="xscreensaver --no-splash"
+ sleep="gsleep 1"
+ ping="ping -c1 -t1 9.9.9.9 >/dev/null 2>&1"
+ ;;
+esac
+
+doas mkdir /var/run/jozan && doas chown -v jozan: /var/run/jozan
+
+$ping && git --git-dir="$HOME"/docs/dotfiles-bsd --work-tree="$HOME" pull
+
+startif() {
+ pgrep "$(basename "$1")" >/dev/null || "$@" >/dev/null 2>&1 &
+}
+
+export LANG='en_US.UTF-8'
+[ "$(hostname -s)" = "mother" ] && xrandr --output HDMI-0 --off \
+ --output DP-0 --mode 1440x900 --pos 0x0 --rotate normal \
+ --output DP-2 --mode 1440x900 --pos 3120x0 --rotate normal \
+ --output DP-4 --primary --mode 1680x1050 --pos 1440x0 --rotate normal \
+ --output DP-1 --off \
+ --output DP-3 --off \
+ --output DP-5 --off
+[ "$(hostname -s)" = "po-rbo" ] && xrandr \
+ --output eDP-1 --mode 1920x1200 --pos 5120x0 --rotate normal \
+ --output DP-1 --mode 2560x1440 --pos 0x0 --rotate normal \
+ --output HDMI-1 --primary --mode 2560x1440 --pos 2560x0 --rotate normal \
+ --output HDMI-2 --off \
+ --output VIRTUAL-1 --off
+
+startif dunst
+startif picom
+startif mpd-notification
+pgrep $mpd >/dev/null || $mpd >/dev/null 2>&1
+"$HOME"/.local/bin/setwp "$HOME"/pics/the_wall.png
+"$HOME"/.local/bin/kb
+xset s off
+xset -dpms
+startif $xscr
+# doas rc-service wireguard start &&
+# notify-send -u normal 'wireguard' 'WireGuard started'
+# $sleep
+startif pipewire
+$sleep
+startif pipewire-pulse
+$sleep
+startif wireplumber
+startif copyq
+startif nextcloud
+cd "$HOME"
+xrdb "$HOME"/.config/x11/xresources
+notify-send -u normal 'Welcome' "$icon Welcome back, partner!"
+
+# exec dbus-launch dwm
diff --git a/.local/bin/discord b/.local/bin/discord
deleted file mode 100755
index c98d7d7..0000000
--- a/.local/bin/discord
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-xdotool key super+8
-exec /usr/local/bin/chrome discord.com/app
diff --git a/.local/bin/kb b/.local/bin/kb
index 5da5f6c..29ba370 100755
--- a/.local/bin/kb
+++ b/.local/bin/kb
@@ -47,7 +47,7 @@
xset r rate 200 150
setxkbmap -option
setxkbmap -layout us -variant intl
-if [ "$(hostname -s)" = "marsqwe" ]; then
+if [ "$(hostname -s)" = "mother" ]; then
setxkbmap -option ctrl:swapcaps
setxkbmap -option caps:none
xmodmap -e 'keycode 9 = Tab'
diff --git a/.local/bin/teams b/.local/bin/teams
deleted file mode 100755
index 4d512f2..0000000
--- a/.local/bin/teams
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-xdotool key super+8
-exec /usr/local/bin/chrome teams.live.com