From 4cd8f5fa8060a2f231df806ab111ebaea6719945 Mon Sep 17 00:00:00 2001 From: "J. Elfring" Date: Sat, 2 Nov 2024 13:39:20 +0100 Subject: [PATCH] Summarize to i3-session --- .../dot-config/alacritty/alacritty.toml | 0 .../alacritty/color/Papertheme.toml | 0 .../alacritty/color/Tokyo_night.toml | 0 .../dot-config/alacritty/color/baitong.toml | 0 .../alacritty/color/cyber_punk_neon.toml | 0 .../alacritty/color/dark_pride.toml | 0 .../alacritty/color/gnome_terminal.toml | 0 .../dot-config/alacritty/color/palenight.toml | 0 .../dot-config/alacritty/color/rose_pine.toml | 0 .../alacritty/color/rose_pine_dawn.toml | 0 .../alacritty/color/rose_pine_moon.toml | 0 .../dot-config/alacritty/color/seashells.toml | 0 .../dot-config/alacritty/color/sourcerer.toml | 0 .../dot-config/alacritty/color/spacegray.toml | 0 .../alacritty/color/synthwave_84.toml | 0 .../alacritty/color/tokyo_night_enhanced.toml | 0 .../alacritty/color/tokyo_night_storm.toml | 0 .../dot-config/alacritty/color/ubuntu.toml | 0 .../{i3 => i3-session}/dot-config/i3/config | 0 .../{i3 => i3-session}/dot-config/i3/dunstrc | 0 .../dot-config/i3/i3-status.conf | 0 .../dot-config/i3/i3status-rs.conf | 0 dotfiles/{xorg => i3-session}/dot-xprofile | 0 dotfiles/my-binaries/dot-bin/fzpass | 6 --- .../my-binaries/dot-bin/reconnectfritzbox.sh | 25 ---------- dotfiles/my-binaries/dot-bin/server.py | 22 --------- .../my-binaries/dot-bin/waybar_restart.sh | 4 ++ dotfiles/my-binaries/dot-bin/wdavmaild | 17 ------- dotfiles/my-binaries/dot-bin/wdockerd | 26 ----------- dotfiles/xorg/xprofile+gpdp2 | 46 ------------------- 30 files changed, 4 insertions(+), 142 deletions(-) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/alacritty.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/Papertheme.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/Tokyo_night.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/baitong.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/cyber_punk_neon.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/dark_pride.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/gnome_terminal.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/palenight.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/rose_pine.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/rose_pine_dawn.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/rose_pine_moon.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/seashells.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/sourcerer.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/spacegray.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/synthwave_84.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/tokyo_night_enhanced.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/tokyo_night_storm.toml (100%) rename dotfiles/{alacritty => i3-session}/dot-config/alacritty/color/ubuntu.toml (100%) rename dotfiles/{i3 => i3-session}/dot-config/i3/config (100%) rename dotfiles/{i3 => i3-session}/dot-config/i3/dunstrc (100%) rename dotfiles/{i3 => i3-session}/dot-config/i3/i3-status.conf (100%) rename dotfiles/{i3 => i3-session}/dot-config/i3/i3status-rs.conf (100%) rename dotfiles/{xorg => i3-session}/dot-xprofile (100%) delete mode 100755 dotfiles/my-binaries/dot-bin/reconnectfritzbox.sh delete mode 100755 dotfiles/my-binaries/dot-bin/server.py create mode 100755 dotfiles/my-binaries/dot-bin/waybar_restart.sh delete mode 100755 dotfiles/my-binaries/dot-bin/wdavmaild delete mode 100755 dotfiles/my-binaries/dot-bin/wdockerd delete mode 100644 dotfiles/xorg/xprofile+gpdp2 diff --git a/dotfiles/alacritty/dot-config/alacritty/alacritty.toml b/dotfiles/i3-session/dot-config/alacritty/alacritty.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/alacritty.toml rename to dotfiles/i3-session/dot-config/alacritty/alacritty.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/Papertheme.toml b/dotfiles/i3-session/dot-config/alacritty/color/Papertheme.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/Papertheme.toml rename to dotfiles/i3-session/dot-config/alacritty/color/Papertheme.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/Tokyo_night.toml b/dotfiles/i3-session/dot-config/alacritty/color/Tokyo_night.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/Tokyo_night.toml rename to dotfiles/i3-session/dot-config/alacritty/color/Tokyo_night.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/baitong.toml b/dotfiles/i3-session/dot-config/alacritty/color/baitong.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/baitong.toml rename to dotfiles/i3-session/dot-config/alacritty/color/baitong.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/cyber_punk_neon.toml b/dotfiles/i3-session/dot-config/alacritty/color/cyber_punk_neon.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/cyber_punk_neon.toml rename to dotfiles/i3-session/dot-config/alacritty/color/cyber_punk_neon.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/dark_pride.toml b/dotfiles/i3-session/dot-config/alacritty/color/dark_pride.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/dark_pride.toml rename to dotfiles/i3-session/dot-config/alacritty/color/dark_pride.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/gnome_terminal.toml b/dotfiles/i3-session/dot-config/alacritty/color/gnome_terminal.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/gnome_terminal.toml rename to dotfiles/i3-session/dot-config/alacritty/color/gnome_terminal.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/palenight.toml b/dotfiles/i3-session/dot-config/alacritty/color/palenight.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/palenight.toml rename to dotfiles/i3-session/dot-config/alacritty/color/palenight.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/rose_pine.toml b/dotfiles/i3-session/dot-config/alacritty/color/rose_pine.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/rose_pine.toml rename to dotfiles/i3-session/dot-config/alacritty/color/rose_pine.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/rose_pine_dawn.toml b/dotfiles/i3-session/dot-config/alacritty/color/rose_pine_dawn.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/rose_pine_dawn.toml rename to dotfiles/i3-session/dot-config/alacritty/color/rose_pine_dawn.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/rose_pine_moon.toml b/dotfiles/i3-session/dot-config/alacritty/color/rose_pine_moon.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/rose_pine_moon.toml rename to dotfiles/i3-session/dot-config/alacritty/color/rose_pine_moon.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/seashells.toml b/dotfiles/i3-session/dot-config/alacritty/color/seashells.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/seashells.toml rename to dotfiles/i3-session/dot-config/alacritty/color/seashells.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/sourcerer.toml b/dotfiles/i3-session/dot-config/alacritty/color/sourcerer.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/sourcerer.toml rename to dotfiles/i3-session/dot-config/alacritty/color/sourcerer.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/spacegray.toml b/dotfiles/i3-session/dot-config/alacritty/color/spacegray.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/spacegray.toml rename to dotfiles/i3-session/dot-config/alacritty/color/spacegray.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/synthwave_84.toml b/dotfiles/i3-session/dot-config/alacritty/color/synthwave_84.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/synthwave_84.toml rename to dotfiles/i3-session/dot-config/alacritty/color/synthwave_84.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/tokyo_night_enhanced.toml b/dotfiles/i3-session/dot-config/alacritty/color/tokyo_night_enhanced.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/tokyo_night_enhanced.toml rename to dotfiles/i3-session/dot-config/alacritty/color/tokyo_night_enhanced.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/tokyo_night_storm.toml b/dotfiles/i3-session/dot-config/alacritty/color/tokyo_night_storm.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/tokyo_night_storm.toml rename to dotfiles/i3-session/dot-config/alacritty/color/tokyo_night_storm.toml diff --git a/dotfiles/alacritty/dot-config/alacritty/color/ubuntu.toml b/dotfiles/i3-session/dot-config/alacritty/color/ubuntu.toml similarity index 100% rename from dotfiles/alacritty/dot-config/alacritty/color/ubuntu.toml rename to dotfiles/i3-session/dot-config/alacritty/color/ubuntu.toml diff --git a/dotfiles/i3/dot-config/i3/config b/dotfiles/i3-session/dot-config/i3/config similarity index 100% rename from dotfiles/i3/dot-config/i3/config rename to dotfiles/i3-session/dot-config/i3/config diff --git a/dotfiles/i3/dot-config/i3/dunstrc b/dotfiles/i3-session/dot-config/i3/dunstrc similarity index 100% rename from dotfiles/i3/dot-config/i3/dunstrc rename to dotfiles/i3-session/dot-config/i3/dunstrc diff --git a/dotfiles/i3/dot-config/i3/i3-status.conf b/dotfiles/i3-session/dot-config/i3/i3-status.conf similarity index 100% rename from dotfiles/i3/dot-config/i3/i3-status.conf rename to dotfiles/i3-session/dot-config/i3/i3-status.conf diff --git a/dotfiles/i3/dot-config/i3/i3status-rs.conf b/dotfiles/i3-session/dot-config/i3/i3status-rs.conf similarity index 100% rename from dotfiles/i3/dot-config/i3/i3status-rs.conf rename to dotfiles/i3-session/dot-config/i3/i3status-rs.conf diff --git a/dotfiles/xorg/dot-xprofile b/dotfiles/i3-session/dot-xprofile similarity index 100% rename from dotfiles/xorg/dot-xprofile rename to dotfiles/i3-session/dot-xprofile diff --git a/dotfiles/my-binaries/dot-bin/fzpass b/dotfiles/my-binaries/dot-bin/fzpass index 36c49d0..239dd97 100755 --- a/dotfiles/my-binaries/dot-bin/fzpass +++ b/dotfiles/my-binaries/dot-bin/fzpass @@ -44,12 +44,6 @@ C-u: Update (pull, push); C-r: Remove' test "_$password" = "_" && exit -## Disable clipman -command -v clipctl >/dev/null && clipctl disable - ## Copy pass and show otp, exit silently if anything fails pass show -c "$password" pass otp "$password" 2>/dev/null || exit 0 - -## Re-Enable clipman -command -v clipctl >/dev/null && clipctl enable diff --git a/dotfiles/my-binaries/dot-bin/reconnectfritzbox.sh b/dotfiles/my-binaries/dot-bin/reconnectfritzbox.sh deleted file mode 100755 index 07646ed..0000000 --- a/dotfiles/my-binaries/dot-bin/reconnectfritzbox.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -# Reconnect a Fritz.Box with activated UPnP - -oldIp=$(curl -s https://v4.ident.me) - -curl "http://fritz.box:49000/igdupnp/control/WANIPConn1" \ - -H 'Content-Type: text/xml; charset="utf-8"' \ - -H 'SoapAction: urn:schemas-upnp-org:service:WANIPConnection:1#ForceTermination' \ - -d ' - - - - - ' \ - -s - -sleep 5 - -newIp=$(curl -s https://v4.ident.me) - - -notify-send "Renew IP" "Old IP: $oldIp\nNew IP: $newIp" diff --git a/dotfiles/my-binaries/dot-bin/server.py b/dotfiles/my-binaries/dot-bin/server.py deleted file mode 100755 index 1e22a3c..0000000 --- a/dotfiles/my-binaries/dot-bin/server.py +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env python3 - -import http.server as SimpleHTTPServer -import socketserver as SocketServer -import logging - -PORT = 8000 - -class GetHandler( - SimpleHTTPServer.SimpleHTTPRequestHandler - ): - - def do_GET(self): - logging.error(self.headers) - SimpleHTTPServer.SimpleHTTPRequestHandler.do_GET(self) - - -Handler = GetHandler -httpd = SocketServer.TCPServer(("", PORT), Handler) - -httpd.serve_forever() - diff --git a/dotfiles/my-binaries/dot-bin/waybar_restart.sh b/dotfiles/my-binaries/dot-bin/waybar_restart.sh new file mode 100755 index 0000000..6f59b39 --- /dev/null +++ b/dotfiles/my-binaries/dot-bin/waybar_restart.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +killall waybar +waybar & diff --git a/dotfiles/my-binaries/dot-bin/wdavmaild b/dotfiles/my-binaries/dot-bin/wdavmaild deleted file mode 100755 index 4affdbd..0000000 --- a/dotfiles/my-binaries/dot-bin/wdavmaild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -############################################################################ -## -# wddavmaild -# -# -# - -## Check for a tmux session with docker fo:wqr root is already running -if tmux has-session -t wdavmaild -then - echo "A wdavmaild session is already running. Attaching." - tmux attach -t wdavmaild -else - echo "Starting a new wdavmaild tmux-session." - tmux new-session -d -s wdavmaild davmail ~/.local/etc/davmail.conf -fi diff --git a/dotfiles/my-binaries/dot-bin/wdockerd b/dotfiles/my-binaries/dot-bin/wdockerd deleted file mode 100755 index 4a37d26..0000000 --- a/dotfiles/my-binaries/dot-bin/wdockerd +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -############################################################################ -## -# wdockerd -# Start dockerd inside a tmux session for use in WSL -# -# - -## Ask for sudo credentials -sudo --validate - -if ! $(sudo --non-interactive /bin/true) -then - echo "We cannot become root with sudo. Exiting." - exit 1 -fi - -## Check for a tmux session with docker fo:wqr root is already running -if $(sudo --non-interactive bash -c 'tmux has-session -t wdockerd') -then - echo "A wdockerd session is already running. Attaching." - sudo --non-interactive tmux attach -t wdockerd -else - echo "Starting a new dockerd tmux-session." - sudo --non-interactive tmux new-session -d -s wdockerd dockerd -fi diff --git a/dotfiles/xorg/xprofile+gpdp2 b/dotfiles/xorg/xprofile+gpdp2 deleted file mode 100644 index 76312a1..0000000 --- a/dotfiles/xorg/xprofile+gpdp2 +++ /dev/null @@ -1,46 +0,0 @@ -## Start Keyring-Daemon -eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) -export SSH_AUTH_SOCK - -## Import exports -source ~/.exports - -## Setup Keyboard -xmodmap -e 'keycode 49 = Multi_key' # Kanji-key -xmodmap -e 'keycode 132 = grave asciitilde' # grave-key -xmodmap -e 'keycode 29 = z Z z Z' # y-z -xmodmap -e 'keycode 52 = y Y y Y' # z-y - -## Setup resources -test -f ~/.local/Xresources && xrdb -merge ~/.local/Xresources - -## Setup Screen -test -x ~/.screenlayout/.default && ~/.screenlayout/.default -test -x ~/.fehbg && ~/.fehbg - - - - -## Start Keyring-Daemon -eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) -export SSH_AUTH_SOCK -## Start Keyring-Daemon -#eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) -#export SSH_AUTH_SOCK - -## Import exports -source ~/.exports - -## Setup Keyboard -xmodmap -e 'keycode 135 = Multi_key' # remaps context-menu-key to Compose - -## Setup resources -test -f ~/.local/Xresources && xrdb -merge ~/.local/Xresources - -## Setup Screen -test -x ~/.screenlayout/.default && ~/.screenlayout/.default -test -x ~/.fehbg && ~/.fehbg - -## Add fonts -xset fp+ /usr/share/fonts/3270 -