diff options
| -rw-r--r-- | baguette | 21 | ||||
| -rw-r--r-- | fontconfig/fonts.conf | 4 | ||||
| -rw-r--r-- | htop/htoprc | 6 | ||||
| -rw-r--r-- | redshift/redshift.conf | 2 | ||||
| -rwxr-xr-x | scripts/bar | 2 | ||||
| -rwxr-xr-x | scripts/glitchlock | 2 | ||||
| -rw-r--r-- | scripts/icstocal.c | 22 | ||||
| -rwxr-xr-x | sx/sxrc | 10 | ||||
| -rwxr-xr-x | sx/sxrc.b | 9 | ||||
| -rw-r--r-- | sxhkd/sxhkdrc | 2 |
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; +} @@ -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} |
