aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidpkj <davidpenkow1@gmail.com>2024-04-17 18:39:19 +0200
committerdavidpkj <davidpenkow1@gmail.com>2024-04-17 18:39:19 +0200
commitaeae09fcd6f19f54adb108bf90c1a4545ec6aa17 (patch)
tree4250a1222cc0293e75ad235ad9a9b8b10f68d9e1
parent15b131da12cf4975307d4f7618a1f2902a1a9dc9 (diff)
readme & scriptspotato
-rw-r--r--README.adoc28
l---------scripts/.local/bin/personal/wrapper/FreeCAD1
-rwxr-xr-xscripts/.local/bin/personal/wrapper/devox3
-rwxr-xr-xscripts/.local/bin/personal/wrapper/dmenu18
-rwxr-xr-xscripts/.local/bin/personal/wrapper/fcad2
l---------scripts/.local/bin/personal/wrapper/freecad1
-rwxr-xr-xscripts/.local/bin/personal/wrapper/geforcenow3
-rwxr-xr-xscripts/.local/bin/personal/wrapper/pluto9
-rwxr-xr-xscripts/.local/bin/personal/wrapper/syncher3
-rwxr-xr-xscripts/.local/bin/personal/wrapper/via3
-rwxr-xr-xscripts/.local/bin/personal/wrapper/xres4
11 files changed, 43 insertions, 32 deletions
diff --git a/README.adoc b/README.adoc
index 82d0baa..3e7c886 100644
--- a/README.adoc
+++ b/README.adoc
@@ -1,23 +1,7 @@
-= davipkj's .files
+= potato .files
-In this directory you will find my user-specific application configuration files.
-I use `make` and `stow` to manage them, meaning the top level directories are where you will find the respective configurations.
-
-image:https://img.shields.io/badge/license-wtfpl-bf419c?style=flat-square[]
-image:https://img.shields.io/badge/made_with-love-bf419c?style=flat-square[]
-
-image::screenshot.png[Screenshot]
-
-== Requirements
-
-* I use the *JetBrains Mono font*, which can be downloaded https://github.com/JetBrains/JetBrainsMono[here].
-
-== System
-
-Don- Don't say it- ... I use arch btw!
-
-* *OS:* https://archlinux.org[Arch Linux]
-* *Device:* https://support.apple.com/kb/SP719[MacBook Pro]
-* *Window Manager:* https://git.davidpenkowoj.de/dwm.git[dwm]
-* *Terminal Emulator:* https://git.davidpenkowoj.de/st.git[st]
-* *Browser:* https://www.qutebrowser.org[qutebrowser]
+[IMPORTANT]
+====
+this repo is currently being used as a personal backup and is going to be nuked as soon as i merge all my stuff onto one device.
+so you should probably head over to the master branch and not even look at this mess.
+====
diff --git a/scripts/.local/bin/personal/wrapper/FreeCAD b/scripts/.local/bin/personal/wrapper/FreeCAD
deleted file mode 120000
index 5b3d27a..0000000
--- a/scripts/.local/bin/personal/wrapper/FreeCAD
+++ /dev/null
@@ -1 +0,0 @@
-fcad \ No newline at end of file
diff --git a/scripts/.local/bin/personal/wrapper/devox b/scripts/.local/bin/personal/wrapper/devox
new file mode 100755
index 0000000..1583ad8
--- /dev/null
+++ b/scripts/.local/bin/personal/wrapper/devox
@@ -0,0 +1,3 @@
+#!/bin/dash
+
+/usr/bin/firefox-developer-edition
diff --git a/scripts/.local/bin/personal/wrapper/dmenu b/scripts/.local/bin/personal/wrapper/dmenu
index e73c2d5..192cfa6 100755
--- a/scripts/.local/bin/personal/wrapper/dmenu
+++ b/scripts/.local/bin/personal/wrapper/dmenu
@@ -5,17 +5,21 @@
source "$XDG_CACHE_HOME/wal/colors.sh"
+gap=6
+# This didnt work with multi monitor, great otherwise
+# width="$(xdpyinfo | grep dimensions | sed -r 's/^[^0-9]*([0-9]+x[0-9]+).*$/\1/' | tr 'x' '\n' | head -n 1)"
+width="1600"
+
/usr/local/bin/dmenu \
--fn "JetBrains Mono:size=19:pixelsize=24" \
+-fn "$(xres Xft.font | sed 's/"//g')" \
-nb "$background" \
-nf "$foreground" \
-sb "$primary" \
-sf "$background" \
--x "10" \
--y "10" \
--z "2860" \
--h "44" \
+-x "$gap" \
+-y "$gap" \
+-z "$(($width - $gap - $gap))" \
+-h "26" \
+-m 0 \
-i
-# -m 0 \
-
diff --git a/scripts/.local/bin/personal/wrapper/fcad b/scripts/.local/bin/personal/wrapper/fcad
index c3f9450..e515235 100755
--- a/scripts/.local/bin/personal/wrapper/fcad
+++ b/scripts/.local/bin/personal/wrapper/fcad
@@ -1,3 +1,3 @@
#!/bin/dash
-/usr/bin/FreeCAD "$@"
+/usr/bin/freecad "$@"
diff --git a/scripts/.local/bin/personal/wrapper/freecad b/scripts/.local/bin/personal/wrapper/freecad
deleted file mode 120000
index 5b3d27a..0000000
--- a/scripts/.local/bin/personal/wrapper/freecad
+++ /dev/null
@@ -1 +0,0 @@
-fcad \ No newline at end of file
diff --git a/scripts/.local/bin/personal/wrapper/geforcenow b/scripts/.local/bin/personal/wrapper/geforcenow
new file mode 100755
index 0000000..ce27866
--- /dev/null
+++ b/scripts/.local/bin/personal/wrapper/geforcenow
@@ -0,0 +1,3 @@
+#!/bin/dash
+
+/usr/bin/chromium --disable-features=UserAgentClientHint
diff --git a/scripts/.local/bin/personal/wrapper/pluto b/scripts/.local/bin/personal/wrapper/pluto
new file mode 100755
index 0000000..74b7485
--- /dev/null
+++ b/scripts/.local/bin/personal/wrapper/pluto
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+PORT=3773
+
+/usr/bin/brave --app="http://localhost:$PORT/" &
+
+/usr/bin/julia \
+ --project=/home/me/software/c_uni/medtech/ \
+ -e "using Pluto; Pluto.run(port=$PORT, launch_browser=false, require_secret_for_open_links=false, require_secret_for_access=false)"
diff --git a/scripts/.local/bin/personal/wrapper/syncher b/scripts/.local/bin/personal/wrapper/syncher
new file mode 100755
index 0000000..9d34694
--- /dev/null
+++ b/scripts/.local/bin/personal/wrapper/syncher
@@ -0,0 +1,3 @@
+#!/bin/dash
+
+/usr/bin/brave --app='http://localhost:8384/'
diff --git a/scripts/.local/bin/personal/wrapper/via b/scripts/.local/bin/personal/wrapper/via
new file mode 100755
index 0000000..9238d21
--- /dev/null
+++ b/scripts/.local/bin/personal/wrapper/via
@@ -0,0 +1,3 @@
+#!/bin/dash
+
+/usr/bin/brave --app='https://usevia.app/test'
diff --git a/scripts/.local/bin/personal/wrapper/xres b/scripts/.local/bin/personal/wrapper/xres
new file mode 100755
index 0000000..4cf79e5
--- /dev/null
+++ b/scripts/.local/bin/personal/wrapper/xres
@@ -0,0 +1,4 @@
+#!/bin/dash
+
+/usr/bin/xrdb -query | /usr/bin/grep "$1" | /usr/bin/awk '{$1=""; print}'
+