Compare commits
16 Commits
6f7a5d98de
...
23d9070173
Author | SHA1 | Date | |
---|---|---|---|
23d9070173 | |||
16dfbeeb86 | |||
143ad34587 | |||
f7bd0463f3 | |||
7c4f29eb9b | |||
5d508392ff | |||
484b1cbbd5 | |||
380fef687a | |||
29a6649a49 | |||
b70caa2bb8 | |||
ad2e5660dd | |||
34caaae5fb | |||
a2e6853a1c | |||
117a0ee6c8 | |||
b80eadc6f7 | |||
137212b13d |
@ -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
|
||||||
|
@ -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
21
.config/kitty/dark.conf
Normal 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
|
@ -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
21
.config/kitty/light.conf
Normal 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
|
@ -217,7 +217,7 @@ label = %percentage_used%%
|
|||||||
|
|
||||||
[module/wlan]
|
[module/wlan]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
interface = wlp3s0
|
interface = wlp2s0
|
||||||
interval = 3.0
|
interval = 3.0
|
||||||
|
|
||||||
;format-connected = <ramp-signal> <label-connected>
|
;format-connected = <ramp-signal> <label-connected>
|
||||||
@ -240,7 +240,7 @@ ramp-signal-foreground = ${colors.foreground-alt}
|
|||||||
|
|
||||||
[module/eth]
|
[module/eth]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
interface = eno1
|
interface = enp1s20f0u3u2u4
|
||||||
interval = 3.0
|
interval = 3.0
|
||||||
|
|
||||||
format-connected-underline = #55aa55
|
format-connected-underline = #55aa55
|
||||||
@ -346,7 +346,7 @@ warn-temperature = 65
|
|||||||
; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
|
; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
|
||||||
; to find path to desired file
|
; to find path to desired file
|
||||||
; Default reverts to thermal zone setting
|
; Default reverts to thermal zone setting
|
||||||
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
|
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input
|
||||||
|
|
||||||
;format = <ramp> <label>
|
;format = <ramp> <label>
|
||||||
format = <label>
|
format = <label>
|
||||||
|
@ -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"
|
||||||
|
@ -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'
|
||||||
|
@ -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'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
10
.profile
10
.profile
@ -15,7 +15,7 @@ for term in kitty termite qterminal urxvt rxvt-unicode sakura gnome-terminal; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Pour la batterie des ordinateurs portables (~/bin/battery)
|
# Pour la batterie des ordinateurs portables (~/bin/battery)
|
||||||
#export BATPATH="/sys/class/power_supply/BAT0"
|
export BATPATH="/sys/class/power_supply/BAT0"
|
||||||
|
|
||||||
# Permit DBUS to be launched
|
# Permit DBUS to be launched
|
||||||
if [ "$0" = "/usr/sbin/lightdm-session" -a "$DESKTOP_SESSION" = "i3" ]; then
|
if [ "$0" = "/usr/sbin/lightdm-session" -a "$DESKTOP_SESSION" = "i3" ]; then
|
||||||
@ -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
|
||||||
|
@ -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
|
||||||
@ -56,7 +56,7 @@ Port 22
|
|||||||
Host yuno
|
Host yuno
|
||||||
Hostname 89.234.141.125
|
Hostname 89.234.141.125
|
||||||
User root
|
User root
|
||||||
Port 22
|
Port 2200
|
||||||
|
|
||||||
# Perso
|
# Perso
|
||||||
Host zou
|
Host zou
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
4
.zshrc
4
.zshrc
@ -135,7 +135,9 @@ alias https='http --verify=no --default-scheme=https'
|
|||||||
alias pyt='poetry run pytest -vvs --no-cov --disable-warnings'
|
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/projets/rerologik/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
|
||||||
|
Loading…
Reference in New Issue
Block a user