summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/go2work/go2work.toml4
-rw-r--r--.config/msmtp/config2
-rw-r--r--.config/x11/xinitrc3
-rwxr-xr-x.local/bin/dmbookm2
-rwxr-xr-x.local/bin/dmpass23
5 files changed, 24 insertions, 10 deletions
diff --git a/.config/go2work/go2work.toml b/.config/go2work/go2work.toml
index 58d28df..eea99b0 100644
--- a/.config/go2work/go2work.toml
+++ b/.config/go2work/go2work.toml
@@ -10,7 +10,7 @@ files = [
# '/home/jozan/mu/ost/mick_gordon/2020_doom_eternal_original_game_soundtrack/02_cultist_base.flac',
# '/home/jozan/mu/rock/punk/guerilla_poubelle/2007_punk_existentialisme/10_dans_la_diagonale.flac',
# '/home/jozan/mu/rock/punk/guerilla_poubelle/2005_il_faut_repeindre_le_monde_en_noir/15_exception_culturelle_trafic_darmes.flac',
- # '/home/jozan/mu/ost/mick_gordon/2020_doom_eternal_original_game_soundtrack/21_the_super_gore_nest.flac',
+ '/home/jozan/mu/ost/mick_gordon/2020_doom_eternal_original_game_soundtrack/21_the_super_gore_nest.flac',
# '/home/jozan/16-441/06_conflagration.wav',
# '/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',
@@ -23,7 +23,7 @@ files = [
# '/home/jozan/mu/rock/grunge/soundgarden/1994_superunknown/04_mailman.flac',
# '/home/jozan/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',
- '/var/dev/mid/sort/headstrong.opus',
+ # '/var/dev/mid/sort/headstrong.opus',
]
# The program used to play the music files
# Default: 'mpv'
diff --git a/.config/msmtp/config b/.config/msmtp/config
index e0f4fc8..4ada845 100644
--- a/.config/msmtp/config
+++ b/.config/msmtp/config
@@ -2,7 +2,7 @@
defaults
auth on
-tls on
+tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile /home/jozan/.config/msmtp/msmtp.log
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
index 02d95d9..45d985b 100644
--- a/.config/x11/xinitrc
+++ b/.config/x11/xinitrc
@@ -41,7 +41,7 @@ dunst_shit() {
kill -9 $pid
done
[ $host = "po-rbo" ] && feh --no-fehbg --image-bg '#1d2021' \
- --no-xinerama --bg-center "$HOME"/pics/wp.jpg
+ --no-xinerama --bg-fill "$HOME"/pics/wp.jpg
"$HOME"/.local/bin/kb &
}
@@ -62,7 +62,6 @@ export LANG='en_US.UTF-8'
--output VIRTUAL-1 --off
dunst_shit
-[ $host = "po-rbo" ] && startif picom
xset s off
xset -dpms
[ $host = "mother" ] && hc 85 30 0
diff --git a/.local/bin/dmbookm b/.local/bin/dmbookm
index e7004a8..7578500 100755
--- a/.local/bin/dmbookm
+++ b/.local/bin/dmbookm
@@ -17,6 +17,8 @@ use constant LIST => {
chatgpt => 'https://chatgpt.com/',
discord => 'https://discord.com/',
protondb => 'https://www.protondb.com/',
+ vultr => 'https://my.vultr.com/',
+ epik => 'https://epik.com/',
nua_grafana => 'https://grafana.nuabee.fr/',
nua_gr_linux_servers => 'https://grafana.nuabee.fr/d/xfpJB9FGz/linux-servers',
nua_gr_restops => 'https://grafana.nuabee.fr/d/Mz11bd07k/vue-d-ensemble-machines-atelier',
diff --git a/.local/bin/dmpass b/.local/bin/dmpass
index 475b96e..c315be1 100755
--- a/.local/bin/dmpass
+++ b/.local/bin/dmpass
@@ -1,5 +1,6 @@
#!/bin/sh
+name=0
full=0
color='#cc241d';
if [ "$1" = "--full" ]; then
@@ -7,6 +8,11 @@ if [ "$1" = "--full" ]; then
if echo "$2" | grep '^#' 2>&1; then
color="$2"
fi
+elif [ "$1" = "--name" ]; then
+ name=1
+ if echo "$2" | grep '^#' 2>&1; then
+ color="$2"
+ fi
elif echo "$1" | grep '^#' 2>&1; then
color="$1"
fi
@@ -32,21 +38,28 @@ password=$(printf "%s\n" "${password_files}" | $dmenu)
p="$(pass show "$password")"
-if [ $full -eq 1 ]; then
+if [ $full -eq 1 ] || [ $name -eq 1 ]; then
id=$(printf "%s" "$password" | sed 's/.*___//')
printf "%s\n" $id | { IFS= read -r pass; printf %s "$id"; } | $xdotool
+ if [ $name -eq 1 ]; then
+ exit
+ fi
+fi
+
+if [ $full -eq 1 ]; then
if [ -n "$WAYLAND_DISPLAY" ]; then
ydotool key 15:1 15:0
else
xdotool key Tab
fi
- printf "%s\n" "$p" | { IFS= read -r pass; printf %s "$pass"; } | $xdotool
+fi
+
+printf "%s\n" "$p" | { IFS= read -r pass; printf %s "$pass"; } | $xdotool
+
+if [ $full -eq 1 ]; then
if [ -n "$WAYLAND_DISPLAY" ]; then
ydotool key 28:1 28:0
else
xdotool key Return
fi
- exit
fi
-
-printf "%s\n" "$p" | { IFS= read -r pass; printf %s "$pass"; } | $xdotool