summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README4
-rw-r--r--picom/picom.conf135
-rwxr-xr-xscripts/bar156
-rwxr-xr-xscripts/barhandler15
-rwxr-xr-xscripts/dmenuquit27
-rwxr-xr-xscripts/glitchlock2
-rwxr-xr-xscripts/music2
-rwxr-xr-xscripts/musiccmd9
-rw-r--r--sxhkd/sxhkdrc24
-rw-r--r--zsh/.zprofile2
-rw-r--r--zsh/.zshrc17
11 files changed, 323 insertions, 70 deletions
diff --git a/README b/README
index 6f35cf0..22c98b6 100644
--- a/README
+++ b/README
@@ -1,2 +1,2 @@
-This is my config files for my Artix Linux installation.
-I will complete this repository with configs over time, mostly with my own config files for Ratakor's builds of suckless softwares (go check him out, he rules: https://github.com/Ratakor). \ No newline at end of file
+These are my config files for my Artix Linux installation.
+I will complete this repository with configs over time, mostly with my own config files for Ratakor's builds of suckless softwares (go check him out, he rules: https://github.com/Ratakor).
diff --git a/picom/picom.conf b/picom/picom.conf
index 573f1d6..4cf5b90 100644
--- a/picom/picom.conf
+++ b/picom/picom.conf
@@ -1,4 +1,33 @@
#################################
+# Animations #
+#################################
+
+
+# fly-in: Windows fly in from random directions to the screen
+# maximize: Windows pop from center of the screen to their respective positions
+# minimize: Windows minimize from their position to the center of the screen
+# slide-in-center: Windows move from upper-center of the screen to their respective positions
+# slide-out-center: Windows move to the upper-center of the screen
+# slide-left: Windows are created from the right-most window position and slide leftwards
+# slide right: Windows are created from the left-most window position and slide rightwards
+# slide-down: Windows are moved from the top of the screen and slide downward
+# slide-up: Windows are moved from their position to top of the screen
+# squeeze: Windows are either closed or created to/from their center y-position (the animation is similar to a blinking eye)
+# squeeze-bottom: Similar to squeeze, but the animation starts from bottom-most y-position
+# zoom: Windows are either created or destroyed from/to their center (not the screen center)
+
+animations = true;
+animation-stiffness = 90;
+animation-window-mass = 0.5;
+animation-dampening = 10;
+animation-for-transient-window = "fly-in";
+animation-for-unmap-window = "fly-in";
+animation-for-open-window = "fly-in";
+
+# animating-rule-open = ["zoom:class_g = 'code'"];
+# animating-rule-unmap = ["zoom:class_g = 'code'"];
+
+#################################
# Shadows #
#################################
@@ -12,18 +41,18 @@ shadow = false;
# The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12
-shadow-radius = 10;
+shadow-radius = 7;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
# shadow-opacity = .75
# The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15
-shadow-offset-x = -10;
+shadow-offset-x = -7;
# The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15
-shadow-offset-y = -10;
+shadow-offset-y = -7;
# Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0
@@ -61,9 +90,23 @@ shadow-exclude = [
#
# shadow-exclude-reg = ""
-# Crop shadow of a window fully on a particular Xinerama screen to the screen.
-# xinerama-shadow-crop = false
+# Crop shadow of a window fully on a particular monitor to that monitor. This is
+# currently implemented using the X RandR extension.
+# crop-shadow-to-monitor = false
+
+# shadow-color-rule = ["#FFFFFF:class_g = 'fly-term'"];
+# shadow-opacity-rule = ["20:class_g = 'fly-term'" ];
+# shadow-offset-x-rule = ["-100:class_g = 'fly-term'"];
+# shadow-offset-y-rule = ["-100:class_g = 'fly-term'"];
+# shadow-radius-rule = ["100:class_g = 'fly-term'"];
+# If shadow-active is 'true' the tweaks below will be applied to the currently focused window
+# shadow-active = true;
+# shadow-color-active = "#FFFFF";
+# shadow-opacity-active = 0.5;
+# shadow-radius-active = 50;
+# shadow-offset-x-active = -50;
+# shadow-offset-y-active = -50;
#################################
# Fading #
@@ -103,18 +146,18 @@ fade-out-step = 0.03;
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1
-inactive-opacity = 0.95;
+# inactive-opacity = 0.8;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0
-frame-opacity = 0.9;
+# frame-opacity = 0.7;
# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
# inactive-opacity-override = true
-inactive-opacity-override = true;
+inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
-active-opacity = 0.95;
+# active-opacity = 1.0
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0
@@ -131,7 +174,10 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Note we don't make any guarantee about possible conflicts with other
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
# example:
-opacity-rule = [ "100:class_g= 'mpv'", "95:name *= 'librewolf'" ];
+opacity-rule = [
+ "95:class_g = 'Polybar'",
+];
+#
# opacity-rule = []
@@ -142,14 +188,16 @@ opacity-rule = [ "100:class_g= 'mpv'", "95:name *= 'librewolf'" ];
# Sets the radius of rounded window corners. When > 0, the compositor will
# round the corners of windows. Does not interact well with
# `transparent-clipping`.
-corner-radius = 0;
+corner-radius = 5
# Exclude conditions for rounded corners.
rounded-corners-exclude = [
"window_type = 'dock'",
- "window_type = 'desktop'"
+ "window_type = 'desktop'",
+ "class_g = 'Polybar'",
];
+# corners-rounding-rule = [ "10:class_g = 'fly-term'" ];
#################################
# Background-Blurring #
@@ -157,12 +205,10 @@ rounded-corners-exclude = [
# Parameters for background blurring, see the *BLUR* section for more information.
-# blur-method =
+# blur-method = "kawase"
# blur-size = 12
-#
-# blur-deviation = false
-#
-# blur-strength = 5;
+# # blur-deviation = false
+# blur-strength = 10
# Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior.
@@ -175,7 +221,7 @@ rounded-corners-exclude = [
# blur-background
# Bad in performance, with driver-dependent behavior. The name may change.
#
-# blur-background-frame = false
+# blur-background-frame = true
# Use fixed blur strength rather than adjusting according to window opacity.
@@ -187,7 +233,7 @@ rounded-corners-exclude = [
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
#
# blur-kern = ""
-blur-kern = "3x3box";
+# blur-kern = "3x3box";
# Exclude conditions for background blur.
@@ -198,6 +244,11 @@ blur-background-exclude = [
"_GTK_FRAME_EXTENTS@:c"
];
+# blur-method-rule = [ "kawase:class_g = 'fly-term'" ];
+# blur-size-rule = [ "10:class_g = 'fly-term'" ];
+# blur-strength-rule = [ "1:class_g = 'fly-term'" ];
+# blur-deviation-rule = [ "10:class_g = 'fly-term'" ];
+
#################################
# General Settings #
#################################
@@ -208,19 +259,21 @@ blur-background-exclude = [
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
# daemon = false
-# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
+# Specify the backend to use: `xrender`, `glx`, `egl` or `xr_glx_hybrid`.
# `xrender` is the default one.
#
# backend = "glx"
backend = "xrender";
+# Use higher precision during rendering, and apply dither when presenting the
+# rendered screen. Reduces banding artifacts, but might cause performance
+# degradation. Only works with OpenGL.
+dithered-present = false;
+
# Enable/disable VSync.
# vsync = false
vsync = true;
-# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
-# dbus = false
-
# Try to detect WM windows (a non-override-redirect window with no
# child that has 'WM_STATE') and mark them as active.
#
@@ -297,7 +350,7 @@ detect-transient = true;
# practically happened) and may not work with blur-background.
# My tests show a 15% performance boost. Recommended.
#
-glx-no-stencil = true;
+# glx-no-stencil = false
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes,
@@ -312,7 +365,7 @@ glx-no-stencil = true;
# The opposing option is use-damage
#
# no-use-damage = false
-use-damage = true;
+use-damage = false;
# Use X Sync fence to sync clients' draw calls, to make sure all draw
# calls are finished before picom starts drawing. Needed on nvidia-drivers
@@ -417,11 +470,31 @@ log-level = "warn";
# set, and doesn't want certain window to cause unnecessary screen redirection,
# you can set this to `true`.
#
-wintypes:
+
+wintypes :
{
- tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
- dock = { shadow = false; clip-shadow-above = true; }
- dnd = { shadow = false; }
- popup_menu = { opacity = 0.8; }
- dropdown_menu = { opacity = 0.8; }
+ tooltip :
+ {
+ animation = "squeeze";
+ };
+ popup_menu :
+ {
+ animation = "slide-up";
+ };
+ dropdown_menu :
+ {
+ animation = "slide-down";
+ };
+ dialog :
+ {
+ animation = "squeeze";
+ };
+ menu :
+ {
+ animation = "slide-down";
+ };
+ notification :
+ {
+ animation = "squeeze";
+ };
};
diff --git a/scripts/bar b/scripts/bar
new file mode 100755
index 0000000..84671cd
--- /dev/null
+++ b/scripts/bar
@@ -0,0 +1,156 @@
+# export SWATCH=0
+echo 1 > /tmp/swatch
+
+workspace(){
+ WORKSPACE=$(xprop -root _NET_CURRENT_DESKTOP | awk '{print $3}')
+ case $WORKSPACE in
+ 0)
+ WORKSPACE="%{B#cc241d U#ffd769} 0 %{B#fb4934 U#ff8c69} 1 2 3 4 5 6 7 8 9 "
+ ;;
+ 1)
+ WORKSPACE=" 0 %{B#cc241d U#ffd769} 1 %{B#fb4934 U#ff8c69} 2 3 4 5 6 7 8 9 "
+ ;;
+ 2)
+ WORKSPACE=" 0 1 %{B#cc241d U#ffd769} 2 %{B#fb4934 U#ff8c69} 3 4 5 6 7 8 9 "
+ ;;
+ 3)
+ WORKSPACE=" 0 1 2 %{B#cc241d U#ffd769} 3 %{B#fb4934 U#ff8c69} 4 5 6 7 8 9 "
+ ;;
+ 4)
+ WORKSPACE=" 0 1 2 3 %{B#cc241d U#ffd769} 4 %{B#fb4934 U#ff8c69} 5 6 7 8 9 "
+ ;;
+ 5)
+ WORKSPACE=" 0 1 2 3 4 %{B#cc241d U#ffd769} 5 %{B#fb4934 U#ff8c69} 6 7 8 9 "
+ ;;
+ 6)
+ WORKSPACE=" 0 1 2 3 4 5 %{B#cc241d U#ffd769} 6 %{B#fb4934 U#ff8c69} 7 8 9 "
+ ;;
+ 7)
+ WORKSPACE=" 0 1 2 3 4 5 6 %{B#cc241d U#ffd769} 7 %{B#fb4934 U#ff8c69} 8 9 "
+ ;;
+ 8)
+ WORKSPACE=" 0 1 2 3 4 5 6 7 %{B#cc241d U#ffd769} 8 %{B#fb4934 U#ff8c69} 9 "
+ ;;
+ 9)
+ WORKSPACE=" 0 1 2 3 4 5 6 7 8 %{B#cc241d U#ffd769} 9 %{B#fb4934 U#ff8c69}"
+ ;;
+ esac
+ echo -n "%{B#ff8c69 O3 B#fb4934 U#ff8c69 +u +o}$WORKSPACE%{B#ff8c69 O3 B- -u -o}"
+}
+
+cock(){
+ SWATCH=$(cat /tmp/swatch)
+ if [ $SWATCH = "1" ]; then
+ COCK=$(cswatch)
+ ICON2=''
+ else
+ h=$(date "+%H")
+ m=$(date "+%M")
+ s=$(date "+%S")
+ COCK="$h:$m:$s"
+ ICON2='󰥔'
+ ICON='  '
+ fi
+ 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
+}
+
+bat(){
+ CAP=$(cat /sys/class/power_supply/BAT0/capacity)
+ STATUS=$(cat /sys/class/power_supply/BAT0/status)
+ case CAP in
+ [01][0-5])
+ ICON='󰁺 '
+ COLOR="%{B#fb4934}"
+ ;;
+ 1[6-9]|[2-4][0-9])
+ ICON='󰁼 '
+ COLOR="%{B#fe8019}"
+ ;;
+ 5[0-9]|6[0-5])
+ ICON='󰁾 '
+ COLOR="%{B#b8bb26}"
+ ;;
+ *)
+ ICON='󰁹 '
+ COLOR="%{B#b8bb26}"
+ ;;
+ esac
+ if [ "$STATUS" = "Charging" ]; then
+ ICON='󰂄 '
+ COLOR="%{B#fabd2f}"
+ fi
+ echo -n "%{U#7fff00 B#7fff00 +u +o O3}$COLOR $ICON $CAP %% %{-u -o B#7fff00 O3 B-}"
+
+}
+
+
+strip() {
+ tmp="${1##{\"data\":\"}"
+ printf '%s\n' "${tmp%%\",\"request_id\":0,\"error\":\"success\"\}}"
+}
+
+music(){
+ TITLE="$(pactl list | grep YouTube | sed 's/.*media\.name = "//g' | sed 's/( - )?YouTube.Music"//g' -E)"
+ ICON=''
+ if [ -z "$TITLE" ]; then
+ [ $(pgrep music) ] 2> /dev/null && echo -n ""
+ ICON_PAUSE=''
+ ICON_PLAY=''
+ PAUSE="$(strip "$(printf '{ "command": ["get_property_string", "pause"] }\n'\
+ | socat - /tmp/mpvsocket 2> /dev/null)")"
+ TITLE="$(strip "$(printf '{ "command": ["get_property", "media-title"] }\n'\
+ | socat - /tmp/mpvsocket 2> /dev/null)")"
+ fi
+ if [ "$PAUSE" = "yes" ]; then
+ ICON=$ICON_PAUSE
+ elif [ "$PAUSE" = "no" ]; then
+ ICON=$ICON_PLAY
+ fi
+ echo -n "%{B#ffc0cb O3 U#ffc0cb +u +o B#ff8da1 A:selectopt:} $ICON $TITLE %{A B#ffc0cb O3 -u -o B-}"
+ # TITLE=""
+}
+
+volume(){
+ VOL=$(pamixer --get-volume-human | sed 's/%//g')
+ case $VOL in
+ 100|[6-9][0-9])
+ ICON='󰕾'
+ ;;
+ [3-5][0-9])
+ ICON='󰖀'
+ ;;
+ [0-9]|[12][0-9])
+ ICON='󰕿'
+ ;;
+ muted)
+ ICON='󰖁'
+ ;;
+ esac
+ echo -n "%{B#ffc0cb O3 U#ffc0cb +u +o B#ff8da1} $ICON $VOL%{B#ffc0cb O3 -u -o B-}"
+}
+
+loop(){
+ i=1
+ m=1
+ while true; do
+ # [ ${#msc} -gt 13 ] && TITLE=$(echo -n $msc| cut -b $i-$(( i + 13 )) )
+
+
+ # l=$(( ${#msc} - 2 ))
+
+ echo "%{l}$(workspace)%{c}$(music)$(volume) %{r} $(bat) $(cock)"
+
+ # (( i += m ))
+ # if [ $i -ge $l ]; then
+ # m=-1
+ # fi
+ # if [ $i -eq 1 ]; then
+ # m=1
+ # fi
+
+ sleep 0.1s
+ done
+}
+
+loop | lemonbar -g 1340x30+13+5 -d -p -B "#00000000" -f "tintin:normal:size=16" -f "Cousine Nerd Font:normal:size=12" -u 3
diff --git a/scripts/barhandler b/scripts/barhandler
new file mode 100755
index 0000000..fa696e7
--- /dev/null
+++ b/scripts/barhandler
@@ -0,0 +1,15 @@
+while true; do
+ read input
+ case $input in
+ selectopt)
+ setsid --fork selectopt
+ ;;
+ swatch)
+ SWATCH=$(cat /tmp/swatch)
+ ([ $SWATCH = "0" ] && echo "1" || echo "0") > /tmp/swatch
+ ;;
+ *)
+ echo $input
+ ;;
+ esac
+done
diff --git a/scripts/dmenuquit b/scripts/dmenuquit
new file mode 100755
index 0000000..c072e30
--- /dev/null
+++ b/scripts/dmenuquit
@@ -0,0 +1,27 @@
+#!/bin/sh
+#
+# author: marcellus
+#
+# shellcheck disable=SC2012
+
+if [ "$1" = "--shuffle" ]; then
+ SHUFFLE=yes
+ shift
+fi
+
+OPTION="$(printf "no\\nyes\\nrestart" | dmenu -i -p "Exit Fluorite ")"
+
+case $OPTION in
+ "no")
+ exit 0
+ ;;
+ "yes")
+ killall Fluorite
+ ;;
+ "restart")
+ killall Fluorite; startx
+ ;;
+ *)
+ exit 1
+ ;;
+esac
diff --git a/scripts/glitchlock b/scripts/glitchlock
index 16016a9..9bb8d6c 100755
--- a/scripts/glitchlock
+++ b/scripts/glitchlock
@@ -52,4 +52,4 @@ file=/tmp/lock.png
convert "$file" "${LOCK[@]}" "$file"
-i3lock -f --indicator -k --time-color="458588ff" --date-color="458588ff" --verif-text="Vérification\n..." --wrong-text="Bonjour non." --noinput-text="Pas de putes internes" -i "$file" > /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="Bonjour non." --noinput-text="Vide" -i "$file" --date-str="%A %e %B" > /dev/null 2>&1
diff --git a/scripts/music b/scripts/music
index 677f673..33522fc 100755
--- a/scripts/music
+++ b/scripts/music
@@ -37,4 +37,4 @@ fi
printf 'stop\n' | socat - /tmp/mpvsocket 2> /dev/null
mpv --vid=no --input-ipc-server=/tmp/mpvsocket --loop-playlist\
- --ytdl-format=ba --script="$SCRIPT" --shuffle="$SHUFFLE" "$MUSIC"
+ --ytdl-format=ba --script="$SCRIPT" --shuffle="$SHUFFLE" --really-quiet "$MUSIC"
diff --git a/scripts/musiccmd b/scripts/musiccmd
index ecaf437..3407434 100755
--- a/scripts/musiccmd
+++ b/scripts/musiccmd
@@ -65,13 +65,6 @@ getthumbnail() {
main() {
- if ! pgrep -x music >/dev/null; then
- kill -35 "$(pidof dwmblocks)"
- herbe "Error: There is no music playing"\
- "Do you want to play some ?" &&
- music
- return 1
- fi
cmd="${1:-$(printf '⏯️pause/play\n⏭️next\n⏮️prev\n📢volume\n🔳stop
⭐favorite\n⬇️download\n🖼️thumbnail' | dmenu -i -p "musiccmd")}"
@@ -90,7 +83,7 @@ main() {
| socat - /tmp/mpvsocket 1> /dev/null ;;
*stop)
printf 'stop\n' | socat - /tmp/mpvsocket
- kill -35 "$(pidof dwmblocks)" ;;
+ pidof dwmblocks && kill -35 "$(pidof dwmblocks)" ;;
*favorite|fav)
getpath
addtofav ;;
diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc
index bfa8be7..0f4e327 100644
--- a/sxhkd/sxhkdrc
+++ b/sxhkd/sxhkdrc
@@ -1,15 +1,9 @@
super + Escape
kill -10 $(pidof sxhkd)
-super + shift + Escape
- kill -10 $(pidof dwmblocks)
-{super + Return,button8}
- $TERMINAL
super + d
- dmenu_run -hp "browser,mail,librewolf,discord,anki,steam,monero-wallet-gui"
-{super + shift + x}
- glitchlock
-Scroll_Lock
- themeswap
+ dmenu_run -hp "browser,mail,librewolf,discord,steam"
+super + shift + e
+ dmenuquit
Print
screenshot
XF86Explorer
@@ -18,16 +12,6 @@ super + g
st -e lfub ~/games
XF86WakeUp
nsxiv -f ~/img/wakeup.png
-XF86MonBrightnessUp
- BRIGHTNESS=$(($BRIGHTNESS+0.1));setbrightness $BRIGHTNESS
-XF86MonBrightnessDown
- BRIGHTNESS=$(($BRIGHTNESS-0.1));setbrightness $BRIGHTNESS
-XF86AudioRaiseVolume
- pamixer -i 5; kill -44 $(pidof dwmblocks)
-XF86AudioLowerVolume
- pamixer -d 5; kill -44 $(pidof dwmblocks)
-XF86AudioMute
- pamixer -t; kill -44 $(pidof dwmblocks)
XF86Mail
betterbird
XF86Calculator
@@ -41,7 +25,7 @@ XF86Tools
XF86Audio{Prev,Next,Play}
musiccmd {prev,next,cycle}
XF86AudioStop
- musiccmd stop; kill $(pidof glava)
+ musiccmd stop
super + {s,a,y,w,e}
dmenusearch {web,aur,youtube,man,emoji}
super + shift + w
diff --git a/zsh/.zprofile b/zsh/.zprofile
index dad305e..fdc7db6 100644
--- a/zsh/.zprofile
+++ b/zsh/.zprofile
@@ -2,4 +2,4 @@ curl -m 3 -s "$CAL_PERSO" | grep -v END:VCALENDAR >/tmp/calendar.ics
curl -m 3 -s "$CAL_SCHOOL" | grep -v BEGIN:VCALENDAR >> /tmp/calendar.ics
icstocal /tmp/calendar.ics /tmp/calendar >/dev/null
-[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec sx
+#[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec sx
diff --git a/zsh/.zshrc b/zsh/.zshrc
index f41f210..1a50658 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -1,12 +1,16 @@
autoload -U colors && colors # Load colors
-PS1="%B%F{214}Martial %F{209}%~ %f%F{45} %f%b "
+# SPATH=$(pwd | sed 's/\/home\/marcellus/~/' | sed 's/[^\/]*\/[^\/]*\/[^\/]*\/[^\/]*/~\/.../')
+PS1=$(echo "%B%F{214}Martial %F{209}%~ %f%F{45} %f%b " | sed 's/[^\/]*\/[^\/]*\/[^\/]*\/[^\/]*/~\/.../' -E)
RPS1="%f(%B%(?.%F{green}0%f.%F{red}%?%f)%b%)"
-# To do
+# To do - as if I read that
cat ~/todo
+# Developer Quote
+curl -m 3 -s https://api.tabliss.io/v1/developer-excuses | jq .data
-alias ls="ls -a --color=auto"
+
+alias ls="ls -AhH --color=auto"
alias shut="sudo openrc-shutdown -p now"
alias shutr="sudo openrc-shutdown -r now"
alias upd="sudo pacman -Syuu; setxkbmap fr"
@@ -25,7 +29,7 @@ alias {atome_de_code,ato}="git commit -m" # voir bitoduc.fr, Commit
alias {pousser,pous}="git push"
alias {poussétiquettes,poussE}="git push --follow-tags"
alias {difference,ference}="git diff"
-alias {tronc,tr}="git log"
+alias tronc="git log"
alias {resto,restau}="git restore"
alias {étiquette,etiqu}="git tag"
alias branche="git branch"
@@ -42,6 +46,7 @@ alias cspt="$HOME/.config/scripts"
alias cz="$HOME/.config/zsh"
alias czr="v $ZDOTDIR/.zshrc && source $ZDOTDIR/.zshrc"
alias cn="$XDG_CONFIG_HOME/nvim"
+alias dl="$HOME/Downloads"
alias rps="echo help | nc ratakor.com 9998"
alias v="nvim"
alias cdmnt="sudo mount -t iso9660 -o ro /dev/sr0 $HOME/cdrom"
@@ -49,8 +54,8 @@ alias py="python3"
alias wtr="curl wttr.in/Lyon"
alias doc="$HOME/Documents"
alias usbmnt="sudo mount /dev/sdb1 $HOME/usb"
-alias sss="ssh root@marcelus.net"
-alias ssg="ssh git@marcelus.net"
+alias sss="ssh root@marcellus.cc"
+alias ssg="ssh git@marcellus.cc"
alias mpv="xset -dpms && xset s off && mpv"
alias doc="~/Documents"