Compare commits

..

16 Commits

Author SHA1 Message Date
23d9070173 MàJ adresse température 2024-11-14 10:45:12 +01:00
16dfbeeb86 CHROMIUM: configuration pour fonctionner sous i3 2021-12-05 06:16:49 +01:00
143ad34587 BATTERY: utilisation de .profile pour définir la batterie BAT0 2021-12-05 06:16:49 +01:00
f7bd0463f3 POLYBAR: nouvelle interface Ethernet pour la prise USB3 externe 2021-12-05 06:16:49 +01:00
7c4f29eb9b MàJ adresse température 2021-12-05 06:16:46 +01:00
5d508392ff Zia: spécificité avec le wifi, wlp2s0 2021-12-05 06:15:30 +01:00
484b1cbbd5 ZSH: coloration syntaxique de la commande IP 2021-12-05 06:15:04 +01:00
380fef687a Kitty: Passage à xterm-256color comme valeur par défaut de TERM 2021-12-04 19:48:00 +01:00
29a6649a49 SSH: Mise à jour du serveur OVH (nouveau port 4555) 2021-12-04 19:48:00 +01:00
b70caa2bb8 Variables d'environnement : utilisation de envvars.conf pour Sway (script maison) 2021-08-09 10:01:52 +02:00
ad2e5660dd KITTY: Utilisation d'un thème DARK par défaut 2021-08-02 13:54:21 +02:00
34caaae5fb SWAY: Configuration du touchpad du PC portable 2021-07-21 10:33:39 +02:00
a2e6853a1c SWAYIDLE: used to lock screen after 6min 2021-07-19 22:29:13 +02:00
117a0ee6c8 KITTY (terminal): utilisation d'un thème pour les couleurs 2021-07-19 22:24:40 +02:00
b80eadc6f7 WAYBAR: ajout du bouton "redémarrer" 2021-07-13 13:14:10 +02:00
137212b13d TMUX: utilisation du terminal par défaut comme commande par défaut 2021-07-11 17:38:14 +02:00
12 changed files with 78 additions and 6 deletions

View File

@ -1,3 +1,3 @@
# Permet à Chromium de se lancer dans Wayland # Permet à Chromium de se lancer dans Wayland
--enable-features=UseOzonePlatform #--enable-features=UseOzonePlatform
--ozone-platform=wayland #--ozone-platform=wayland

View File

@ -1,2 +1,4 @@
# Active wayland pour Firefox # Active wayland pour Firefox
MOZ_ENABLE_WAYLAND=1 MOZ_ENABLE_WAYLAND=1
# Modifie le comportement JAVA pour PHPStorm
_JAVA_AWT_WM_NONREPARENTING=1

21
.config/kitty/dark.conf Normal file
View File

@ -0,0 +1,21 @@
background #001e26
foreground #708183
cursor #708183
selection_background #002731
color0 #002731
color8 #465a61
color1 #d01b24
color9 #bd3612
color2 #728905
color10 #465a61
color3 #a57705
color11 #52676f
color4 #2075c7
color12 #708183
color5 #c61b6e
color13 #5856b9
color6 #259185
color14 #81908f
color7 #e9e2cb
color15 #fcf4dc
selection_foreground #001e26

View File

@ -184,7 +184,8 @@ rectangle_select_modifiers ctrl+alt
allow_remote_control no allow_remote_control no
# The value of the TERM environment variable to set # The value of the TERM environment variable to set
term xterm-kitty #term xterm-kitty
term xterm-256color
# The width (in pts) of window borders. Will be rounded to the nearest number of pixels based on screen resolution. # The width (in pts) of window borders. Will be rounded to the nearest number of pixels based on screen resolution.
# Note that borders are displayed only when more than one window is visible. They are meant to separate multiple windows. # Note that borders are displayed only when more than one window is visible. They are meant to separate multiple windows.
@ -423,3 +424,7 @@ macos_option_as_alt yes
# The number is a percentage of maximum volume. # The number is a percentage of maximum volume.
# See man XBell for details. # See man XBell for details.
x11_bell_volume 80 x11_bell_volume 80
# Ajout du thème Solarized Light sur https://github.com/dexpota/kitty-themes
include ./dark.conf

21
.config/kitty/light.conf Normal file
View File

@ -0,0 +1,21 @@
background #fdf6e3
foreground #52676f
cursor #52676f
selection_background #e9e2cb
color0 #e4e4e4
color8 #ffffd7
color1 #d70000
color9 #d75f00
color2 #5f8700
color10 #585858
color3 #af8700
color11 #626262
color4 #0087ff
color12 #808080
color5 #af005f
color13 #5f5faf
color6 #00afaf
color14 #8a8a8a
color7 #262626
color15 #1c1c1c
selection_foreground #fcf4dc

View File

@ -58,7 +58,14 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
# You can get the names of your inputs by running: swaymsg -t get_inputs # You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section. # Read `man 5 sway-input` for more information about this section.
input * { input type:touchpad {
dwt enabled
tap enabled
natural_scroll enabled
middle_emulation enabled
}
input type:keyboard {
xkb_layout "fr" xkb_layout "fr"
xkb_variant "oss" xkb_variant "oss"
xkb_options "grp:alt_space_toggle" xkb_options "grp:alt_space_toggle"

View File

@ -3,3 +3,6 @@
# Écran # Écran
unbindsym $mod+l unbindsym $mod+l
bindsym $mod+l exec swaylock bindsym $mod+l exec swaylock
# Automatique
exec swayidle -w timeout 300 'swaylock -f' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f'

View File

@ -100,6 +100,6 @@
}, },
"custom/power": { "custom/power": {
"format": " ", "format": " ",
"on-click": "swaynag -t warning -m 'Menu gestion alimentation' -b 'Déconnexion' 'swaymsg exit' -b 'Veille' 'swaymsg exec systemctl suspend' -b 'Arrêter' 'shutdown now'" "on-click": "swaynag -t warning -m 'Menu gestion alimentation' -b 'Déconnexion' 'swaymsg exit' -b 'Veille' 'swaymsg exec systemctl suspend' -b 'Redémarrer' 'swaymsg exec systemctl reboot' -b 'Arrêter' 'shutdown now'"
} }
} }

View File

@ -26,6 +26,13 @@ fi
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
case $HOST in case $HOST in
fuz | fuztest) fuz | fuztest)
variables_file="${HOME}/.config/environment.d/envvars.conf"
if [[ -f "${variables_file}" ]]; then
# charge seulement les lignes sans "#" (non commentées)
for line in `cat "${variables_file}"|grep -Ev '^#'`; do
export "$line"
done
fi
exec sway exec sway
;; ;;
*) *)
@ -33,3 +40,4 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
;; ;;
esac esac
fi fi
# vim: ts=2 sw=2 et nu

View File

@ -26,7 +26,7 @@ Port 22
Host ovh Host ovh
Hostname 37.187.17.29 Hostname 37.187.17.29
User od User od
Port 22 Port 4555
# ?? # ??
Host pi Host pi

View File

@ -8,6 +8,9 @@
# make tmux display things in 256 colors # make tmux display things in 256 colors
set -g default-terminal "tmux-256color" set -g default-terminal "tmux-256color"
# make tmux use the default terminal
set -g default-command "${SHELL}"
# set scrollback history to 10000 (10k) # set scrollback history to 10000 (10k)
set -g history-limit 10000 set -g history-limit 10000

2
.zshrc
View File

@ -136,6 +136,8 @@ alias pyt='poetry run pytest -vvs --no-cov --disable-warnings'
alias pytc='poetry run pytest -vvs --disable-warnings --cov-report=xml:cov.xml' alias pytc='poetry run pytest -vvs --disable-warnings --cov-report=xml:cov.xml'
# projet rero # projet rero
alias rero="ALIAS=rero /home/od/rero/logik/agnes" alias rero="ALIAS=rero /home/od/rero/logik/agnes"
# coloration de la commande IP
alias ip='ip -c'
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ -f ~/.p10k.zsh ]] && source ~/.p10k.zsh [[ -f ~/.p10k.zsh ]] && source ~/.p10k.zsh