summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcellus <msimon_fr@hotmail.com>2024-05-14 20:07:34 +0200
committermarcellus <msimon_fr@hotmail.com>2024-05-14 20:07:34 +0200
commita9bc8d767e74eee1925fbd5a00c1f0a8336781b1 (patch)
treed8ab741816af827e989044c35d42d6d2952fbdfc
parent0173c966ca715c14c9483b2e5e44d27173604638 (diff)
update: few changes -> read the diff
-rw-r--r--baguette21
-rw-r--r--fontconfig/fonts.conf4
-rw-r--r--htop/htoprc6
-rw-r--r--redshift/redshift.conf2
-rwxr-xr-xscripts/bar2
-rwxr-xr-xscripts/glitchlock2
-rw-r--r--scripts/icstocal.c22
-rwxr-xr-xsx/sxrc10
-rwxr-xr-xsx/sxrc.b9
-rw-r--r--sxhkd/sxhkdrc2
10 files changed, 67 insertions, 13 deletions
diff --git a/baguette b/baguette
new file mode 100644
index 0000000..93052e3
--- /dev/null
+++ b/baguette
@@ -0,0 +1,21 @@
+ ..
+ -=**#%*
+ :+=+*#%@@-
+ :=-+##%@@%
+ ===*#%%@@:
+ -=++#%%@@=
+ :+-=#%#@@*
+ =*=+=##%@#
+ =*=+=*#%@#
+ .*-***##%%
+ ==-**#%%%.
+ .+-=##%%%:
+ :-==*@%@%:
+ :*==++%%@%-
+ .#===+*%%%=
+ *+=+*#%@@=
+ -+=*%%%@@+
+ :+==%@@%@*
+ =%=*%%%%*
+ -#=*%##*
+ -*##*+
diff --git a/fontconfig/fonts.conf b/fontconfig/fonts.conf
index 1f32825..3248f2b 100644
--- a/fontconfig/fonts.conf
+++ b/fontconfig/fonts.conf
@@ -32,9 +32,9 @@
<alias>
<family>dwm</family>
<prefer>
- <family>Tintin</family>
+ <family>tintin</family>
</prefer>
-</alias>
+ </alias>
</fontconfig>
diff --git a/htop/htoprc b/htop/htoprc
index be9b5bf..351aefb 100644
--- a/htop/htoprc
+++ b/htop/htoprc
@@ -1,6 +1,6 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
-htop_version=3.2.2
+htop_version=3.3.0
config_reader_min_version=3
fields=0 48 17 18 38 39 40 2 46 47 49 1
hide_kernel_threads=1
@@ -48,16 +48,16 @@ all_branches_collapsed=0
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
.sort_key=PERCENT_CPU
.tree_sort_key=PERCENT_CPU
-.tree_view=1
.tree_view_always_by_pid=0
+.tree_view=1
.sort_direction=-1
.tree_sort_direction=-1
.all_branches_collapsed=0
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
.sort_key=IO_PRIORITY
.tree_sort_key=PID
-.tree_view=0
.tree_view_always_by_pid=0
+.tree_view=0
.sort_direction=1
.tree_sort_direction=1
.all_branches_collapsed=0
diff --git a/redshift/redshift.conf b/redshift/redshift.conf
index dbfd6da..295c219 100644
--- a/redshift/redshift.conf
+++ b/redshift/redshift.conf
@@ -28,7 +28,7 @@ fade=1
; brightness=0.9
; It is also possible to use different settings for day and night
; since version 1.8.
-brightness-day=0.9
+brightness-day=1
brightness-night=0.75
; Set the screen gamma (for all colors, or each color channel
; individually)
diff --git a/scripts/bar b/scripts/bar
index 84671cd..86dff67 100755
--- a/scripts/bar
+++ b/scripts/bar
@@ -49,8 +49,8 @@ cock(){
s=$(date "+%S")
COCK="$h:$m:$s"
ICON2='󰥔'
- ICON='  '
fi
+ ICON='  '
COCK="%{U#87ceeb B#87ceeb O3 +u +o B#076678 A:swatch:} $ICON2 %{A}$COCK - $(LC_ALL="fr_FR.UTF-8" date "+%A %d %B") $ICON %{B#87ceeb O3 -u -o B-}"
echo -n $COCK
}
diff --git a/scripts/glitchlock b/scripts/glitchlock
index 9bb8d6c..b9b5157 100755
--- a/scripts/glitchlock
+++ b/scripts/glitchlock
@@ -52,4 +52,4 @@ file=/tmp/lock.png
convert "$file" "${LOCK[@]}" "$file"
-LC_ALL="fr_FR.UTF-8" i3lock -f --indicator -k --time-color="458588ff" --date-color="458588ff" --verif-text="Vérification..." --wrong-text="Bonjour non." --noinput-text="Vide" -i "$file" --date-str="%A %e %B" > /dev/null 2>&1
+LC_ALL="fr_FR.UTF-8" i3lock -f --indicator -k --time-color="458588ff" --date-color="458588ff" --verif-text="Vérification..." --wrong-text="" --wrong-font="Cousine Nerd Font" --noinput-text="Vide" -i "$file" --date-str="%A %e %B" > /dev/null 2>&1
diff --git a/scripts/icstocal.c b/scripts/icstocal.c
new file mode 100644
index 0000000..73feefb
--- /dev/null
+++ b/scripts/icstocal.c
@@ -0,0 +1,22 @@
+// A supposedly better version of icstocal, originally written by Ratakor
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <err.h>
+#include <string.h>
+
+#define TIMEZONE 2 // as UTC+2
+#define IN "en" // 'en' means 'in' in french
+
+int main(int argc, char** argv)
+{
+ if (argc < 3)
+ {
+ printf("Usage: icstocal calendar.ics $XDG_DATA_HOME/quand/calendar");
+ errx(EXIT_FAILURE, "Bad usage");
+ }
+
+
+
+ return EXIT_SUCCESS;
+}
diff --git a/sx/sxrc b/sx/sxrc
index 94ed5dc..1bdff7a 100755
--- a/sx/sxrc
+++ b/sx/sxrc
@@ -1,9 +1,9 @@
setxkbmap fr
killall scron
-scron -f ~/.config/crontab
-$HOME/.config/scripts/randwp
-sxhkd&
+scron -f $HOME/.config/crontab
picom&
-dwmblocks&
redshift&
-exec dwm
+(bar | barhandler)&
+sxhkd&
+randwp
+exec Fluorite
diff --git a/sx/sxrc.b b/sx/sxrc.b
new file mode 100755
index 0000000..94ed5dc
--- /dev/null
+++ b/sx/sxrc.b
@@ -0,0 +1,9 @@
+setxkbmap fr
+killall scron
+scron -f ~/.config/crontab
+$HOME/.config/scripts/randwp
+sxhkd&
+picom&
+dwmblocks&
+redshift&
+exec dwm
diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc
index 0f4e327..85552e1 100644
--- a/sxhkd/sxhkdrc
+++ b/sxhkd/sxhkdrc
@@ -20,6 +20,8 @@ super + m
music
super + shift + m
musiccmd
+super + c
+ [ $(cat /tmp/swatch) = "0" ] && echo 1 > /tmp/swatch || echo 0 > /tmp/swatch
XF86Tools
selectopt
XF86Audio{Prev,Next,Play}