Compare commits

...

12 commits

11 changed files with 41 additions and 12 deletions

1
bin/heroic Symbolic link
View file

@ -0,0 +1 @@
waylectron

17
bin/qrconn Executable file
View file

@ -0,0 +1,17 @@
#!/bin/sh -e
if [ "$(whoami)" != root ]; then
exec sudo "$0" "$@"
fi
cd "/var/lib/connman/$(connmanctl services | head -n 1 | awk '{ print $NF }')"
get_var() {
awk -F = '($1 == "'"${1}"'") { print $2 }' settings
}
ssid="$(get_var Name)"
psk="$(get_var Passphrase)"
qrencode -s 1 -l H -o - "WIFI:T:WPA;S:${ssid};P:${psk};;" | catimg -H 0 -

View file

@ -38,10 +38,6 @@ general {
# Decoration
decoration {
rounding = 5
blur = yes
blur_size = 3
blur_passes = 1
blur_new_optimizations = on
drop_shadow = yes
shadow_range = 4
@ -49,6 +45,13 @@ decoration {
col.shadow = rgba(1a1a1aee)
inactive_opacity = 0.9
blur {
enabled = yes
size = 3
passes = 1
#new_optimizations = on
}
}
# Animations

View file

@ -27,6 +27,7 @@ return require('packer').startup(function(use)
'nvim-lualine/lualine.nvim',
requires = { 'nvim-tree/nvim-web-devicons', opt = true }
}
use 'elkowar/yuck.vim'
-- use 'feline-nvim/feline.nvim'
-- Synchroniser les paquetages si c'est la première exécution

View file

@ -31,7 +31,7 @@
"spacing": 10
},
"clock": {
"format": "{:%Y-%m-%d | %H:%M:%S}",
"format": "{:%Y-%m-%d | %H:%M:%OS}",
"interval": 1
},
"cpu": {

View file

@ -22,3 +22,6 @@ alias ip="ip --color=auto"
# util-linux
alias cal="cal -m"
# screen
alias s=screen

View file

@ -1,6 +1,3 @@
# sudo
alias s="sudo"
# wine
alias wine32="WINEPREFIX=~/.wine32 wine"

View file

@ -1,5 +1,6 @@
#!/bin/sh
sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoremove
[ "$(whoami)" != root ] && exec sudo "$0" "$@"
apt-get update
apt-get upgrade
apt-get autopurge

View file

@ -1,3 +1,4 @@
#!/bin/sh
sudo docker images --format '{{.Repository}}' | xargs -L 1 sudo docker pull
[ "$(whoami)" != root ] && exec sudo "$0" "$@"
docker images --format '{{.Repository}}' | xargs -L 1 docker pull

View file

@ -0,0 +1,3 @@
#!/bin/sh
yabridgectl sync

View file

@ -1,3 +1,5 @@
#!/bin/sh
yay -Fy
yay
yay -Qdtq | yay -Rns -