Compare commits
16 Commits
11f4ef5beb
...
inist
| Author | SHA1 | Date | |
|---|---|---|---|
| db748c7714 | |||
| 1f410ef686 | |||
| 1ff1c753b8 | |||
| f7ca46397d | |||
| 0c81794297 | |||
| 808c332f8c | |||
| 26b92f89f4 | |||
| 3cb2b8afb8 | |||
| 66531578ae | |||
| 93bf7bc40e | |||
| 570cd4c9e6 | |||
| 7f992afd2c | |||
| 4b9806c5f8 | |||
| 628f7aa976 | |||
| 297dab51e8 | |||
| b5bb61b431 |
5
.config/codebook/codebook.toml
Normal file
5
.config/codebook/codebook.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
dictionaries = [
|
||||
"fr",
|
||||
"en_gb",
|
||||
]
|
||||
words = ["oxlint"]
|
||||
@@ -11,13 +11,13 @@ output "eDP-1" {
|
||||
output "Dell Inc. DELL P2414H KKMMW62M0YKU" {
|
||||
alias $OFFICE_CENTER
|
||||
mode 1920x1080@60
|
||||
position 0,0
|
||||
position 1920,0
|
||||
}
|
||||
|
||||
output "Hewlett Packard LA2405 CN41150LLN" {
|
||||
alias $OFFICE_RIGHT
|
||||
mode 1920x1200@59.950
|
||||
position 1920,0
|
||||
position 3840,0
|
||||
}
|
||||
|
||||
# === Home ===
|
||||
@@ -25,20 +25,20 @@ output "Hewlett Packard LA2405 CN41150LLN" {
|
||||
output "Iiyama North America PL2470H 0x30363738" {
|
||||
alias $HOME_LEFT
|
||||
mode 1920x1080@120
|
||||
position -1920,0
|
||||
position 0,0
|
||||
}
|
||||
|
||||
output "AOC Q24G4 VH0R3HA002164" {
|
||||
alias $HOME_CENTER
|
||||
mode 2560x1440@120
|
||||
position 0,0
|
||||
position 1920,0
|
||||
scale 1.25
|
||||
}
|
||||
|
||||
output "Iiyama North America PL2470H 0x30363735" {
|
||||
alias $HOME_RIGHT
|
||||
mode 1920x1080@60
|
||||
position 2048,-235
|
||||
position 3968,-235
|
||||
transform 270
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ profile Nomad {
|
||||
output $INTERNAL enable
|
||||
exec ~/.config/kanshi/lid.sh
|
||||
|
||||
exec tuned-adm profile balanced
|
||||
exec tuned-adm profile balanced-battery
|
||||
}
|
||||
|
||||
profile Home {
|
||||
@@ -69,7 +69,7 @@ profile Home {
|
||||
}
|
||||
|
||||
profile Office {
|
||||
output $INTERNAL enable position -1920,0
|
||||
output $INTERNAL enable position 0,0
|
||||
output $OFFICE_CENTER enable
|
||||
output $OFFICE_RIGHT enable
|
||||
|
||||
|
||||
@@ -3,10 +3,18 @@
|
||||
LAPTOP_OUTPUT="eDP-1"
|
||||
LID_STATE_FILE="/proc/acpi/button/lid/LID0/state"
|
||||
|
||||
# Resume previous state
|
||||
read -r LS < "$LID_STATE_FILE"
|
||||
|
||||
case "$LS" in
|
||||
*open) swaymsg output "$LAPTOP_OUTPUT" enable ;;
|
||||
*closed) swaymsg output "$LAPTOP_OUTPUT" disable ;;
|
||||
*) echo "Could not get lid state" >&2 ; exit 1 ;;
|
||||
*open)
|
||||
swaymsg output "$LAPTOP_OUTPUT" enable
|
||||
;;
|
||||
*closed)
|
||||
swaymsg output "$LAPTOP_OUTPUT" disable
|
||||
systemctl suspend
|
||||
;;
|
||||
*)
|
||||
echo "Could not get lid state" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -49,6 +49,10 @@ output * bg ~/Images/Perso/Wallpapers/wave.jpg fill
|
||||
|
||||
# -> Managed by Kanshi (~/.config/kanshi/config)
|
||||
|
||||
# Watch lid changes
|
||||
bindswitch --reload --locked lid:on output eDP-1 disable
|
||||
bindswitch --reload --locked lid:off output eDP-1 enable
|
||||
|
||||
### Idle configuration
|
||||
|
||||
# -> Managed by swayidle (/usr/share/sway/config.d/90-swayidle.conf)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# thunderbird reminders
|
||||
for_window [app_id="org.mozilla.Thunderbird" title="[0-9]+ rappels?"] {
|
||||
floating enable
|
||||
resize width 960 px height 540 px
|
||||
resize set 960 540
|
||||
}
|
||||
|
||||
3
.config/sway/config.d/50-rules-portal.conf
Normal file
3
.config/sway/config.d/50-rules-portal.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
for_window [app_id="xdg-desktop-portal-gtk" title="Open (File|Folder)"] {
|
||||
floating enable
|
||||
}
|
||||
11
.config/sway/config.d/50-rules-zoom.conf
Normal file
11
.config/sway/config.d/50-rules-zoom.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
for_window [app_id="Zoom Workplace"] {
|
||||
floating enable
|
||||
}
|
||||
|
||||
for_window [app_id="Zoom Workplace" title="Zoom Workplace - Free Account"] {
|
||||
floating disable
|
||||
}
|
||||
|
||||
for_window [app_id="Zoom Workplace" title="Meeting"] {
|
||||
floating disable
|
||||
}
|
||||
@@ -69,7 +69,8 @@
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"none": "",
|
||||
"notification": ""
|
||||
"notification": "",
|
||||
"dnd-notification": ""
|
||||
},
|
||||
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
||||
"return-type": "json",
|
||||
@@ -140,11 +141,10 @@
|
||||
]
|
||||
},
|
||||
"power-profiles-daemon": {
|
||||
"hide-empty-text": true,
|
||||
"hide-empty-text": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"unknown": "",
|
||||
"balanced": "",
|
||||
"balanced": "",
|
||||
"performance": "",
|
||||
"power-saver": "",
|
||||
}
|
||||
|
||||
43
.ssh/config
43
.ssh/config
@@ -4,19 +4,25 @@ Host vd-ezt
|
||||
Host *-ezt
|
||||
User outline
|
||||
|
||||
# ezDoc
|
||||
Host vd-ezdoc
|
||||
HostName vdezdoc.intra.inist.fr
|
||||
Host vi-ezdoc
|
||||
HostName viezdoc.intra.inist.fr
|
||||
Host *-ezdoc
|
||||
User ezdoc
|
||||
|
||||
# ezMesure
|
||||
Host vd-ezm
|
||||
HostName vdezmesure.intra.inist.fr
|
||||
Host vi-ezm
|
||||
HostName viezmesure1.intra.inist.fr
|
||||
# Host vp-ezm
|
||||
# HostName vpezmesure1.intra.inist.fr
|
||||
Host *-ezm
|
||||
User ezmesure
|
||||
|
||||
# ezPaarse
|
||||
Host vd-ezp
|
||||
HostName vpezpaarse.intra.inist.fr
|
||||
HostName vdezpaarse.intra.inist.fr
|
||||
Host vi-ezp
|
||||
HostName viezpaarse2.intra.inist.fr
|
||||
Host vp-ezp
|
||||
@@ -26,19 +32,14 @@ Host *-ezp
|
||||
|
||||
# Analogist
|
||||
Host vd-analogist
|
||||
Host vdanalogist.intra.inist.fr
|
||||
HostName vdanalogist.intra.inist.fr
|
||||
IdentityFile analogist
|
||||
Host vi-analogist
|
||||
Host vianalogist1.intra.inist.fr
|
||||
Host vp-analogist
|
||||
HostName vpanalogist.intra.inist.fr
|
||||
# PubkeyAcceptedKeyTypes +ssh-rsa,ssh-dss
|
||||
# HostKeyAlgorithms=+ssh-rsa
|
||||
HostName vianalogist1.intra.inist.fr
|
||||
Host *-analogist
|
||||
User analogist
|
||||
|
||||
# Bibliomap
|
||||
Host vp-biblio
|
||||
HostName vpbibliomap.intra.inist.fr
|
||||
Host *-biblio
|
||||
User bibliomap
|
||||
|
||||
@@ -48,7 +49,7 @@ Host vd-ezu
|
||||
Host vi-ezu
|
||||
HostName viunpaywall.intra.inist.fr
|
||||
Host *-ezu
|
||||
User ezunpaywall
|
||||
User ezunpaywall
|
||||
|
||||
# ReadHoldings
|
||||
Host vd-readholdings
|
||||
@@ -56,6 +57,22 @@ Host vd-readholdings
|
||||
Host *-readholdings
|
||||
User readholdings
|
||||
|
||||
# ReadLabs
|
||||
Host vd-readlabs
|
||||
HostName vdreadlabs.intra.inist.fr
|
||||
Host vi-readlabs
|
||||
HostName vireadlabs.intra.inist.fr
|
||||
Host *-readlabs
|
||||
User readlabs
|
||||
|
||||
# ezDoc
|
||||
Host vd-ezdoc
|
||||
HostName vdezdoc.intra.inist.fr
|
||||
Host vi-ezdoc
|
||||
HostName viezdoc.intra.inist.fr
|
||||
Host *-ezdoc
|
||||
User ezdoc
|
||||
|
||||
# =====
|
||||
# ezMeta K3S
|
||||
Host vk0-ezmeta-k3s
|
||||
@@ -87,4 +104,4 @@ Host vk*-ez*-k3s
|
||||
# Global
|
||||
Host *
|
||||
IdentityFile ~/.ssh/id_rsa
|
||||
|
||||
SetEnv TERM=xterm
|
||||
|
||||
16
.var/app/dev.zed.Zed/config/zed/keymap.json
Normal file
16
.var/app/dev.zed.Zed/config/zed/keymap.json
Normal file
@@ -0,0 +1,16 @@
|
||||
// Zed keymap
|
||||
//
|
||||
// For information on binding keys, see the Zed
|
||||
// documentation: https://zed.dev/docs/key-bindings
|
||||
//
|
||||
// To see the default key bindings run `zed: open default keymap`
|
||||
// from the command palette.
|
||||
[
|
||||
{
|
||||
"context": "Editor",
|
||||
"bindings": {
|
||||
"ctrl-k ctrl-c": "editor::ToggleComments",
|
||||
"ctrl-k ctrl-u": "editor::ToggleComments"
|
||||
}
|
||||
}
|
||||
]
|
||||
120
.var/app/dev.zed.Zed/config/zed/settings.json
Normal file
120
.var/app/dev.zed.Zed/config/zed/settings.json
Normal file
@@ -0,0 +1,120 @@
|
||||
// Zed settings
|
||||
//
|
||||
// For information on how to configure Zed, see the Zed
|
||||
// documentation: https://zed.dev/docs/configuring-zed
|
||||
//
|
||||
// To see all of Zed's default settings without changing your
|
||||
// custom settings, run `zed: open default settings` from the
|
||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||
{
|
||||
"disable_ai": true,
|
||||
"vim_mode": false,
|
||||
"telemetry": {
|
||||
"metrics": false,
|
||||
"diagnostics": false
|
||||
},
|
||||
|
||||
"base_keymap": "VSCode",
|
||||
|
||||
"theme": "One Dark - Darkened",
|
||||
"icon_theme": "Catppuccin Mocha",
|
||||
"ui_font_size": 14,
|
||||
"buffer_font_size": 12,
|
||||
"buffer_font_family": "FiraCode Nerd Font Mono",
|
||||
"buffer_line_height": "standard",
|
||||
"buffer_font_features": {
|
||||
"calt": true
|
||||
},
|
||||
|
||||
"bottom_dock_layout": "left_aligned",
|
||||
|
||||
"terminal": {
|
||||
"font_family": "FiraCode Nerd Font Mono",
|
||||
"font_size": 12,
|
||||
"line_height": "standard",
|
||||
"toolbar": {
|
||||
"breadcrumbs": false
|
||||
},
|
||||
"font_features": {
|
||||
"calt": true
|
||||
}
|
||||
},
|
||||
|
||||
"minimap": {
|
||||
"show": "auto"
|
||||
},
|
||||
|
||||
"tabs": {
|
||||
"file_icons": true,
|
||||
"git_status": true,
|
||||
"show_diagnostics": "all"
|
||||
},
|
||||
|
||||
"project_panel": {
|
||||
"entry_spacing": "standard"
|
||||
},
|
||||
|
||||
"agent": {
|
||||
"default_profile": "ask",
|
||||
"default_model": {
|
||||
"provider": "zed.dev",
|
||||
"model": "claude-sonnet-4"
|
||||
}
|
||||
},
|
||||
|
||||
"show_edit_predictions": false,
|
||||
|
||||
"collaboration_panel": {
|
||||
"button": false
|
||||
},
|
||||
|
||||
"notification_panel": {
|
||||
"button": false
|
||||
},
|
||||
|
||||
"title_bar": {
|
||||
"show_branch_icon": true
|
||||
},
|
||||
|
||||
"tab_bar": {
|
||||
"show_nav_history_buttons": false
|
||||
},
|
||||
|
||||
"toolbar": {
|
||||
"agent_review": false,
|
||||
"code_actions": true
|
||||
},
|
||||
|
||||
"diagnostics": {
|
||||
"inline": {
|
||||
"enabled": true,
|
||||
"max_severity": "warning"
|
||||
}
|
||||
},
|
||||
|
||||
"inlay_hints": {
|
||||
"enabled": true,
|
||||
"show_type_hints": false
|
||||
},
|
||||
|
||||
"indent_guides": {
|
||||
"coloring": "indent_aware"
|
||||
},
|
||||
|
||||
"tab_size": 2,
|
||||
"show_whitespaces": "trailing",
|
||||
"wrap_guides": [110],
|
||||
|
||||
"inline_code_actions": false,
|
||||
"relative_line_numbers": true,
|
||||
|
||||
"file_types": {
|
||||
"JSONC": [".oxlintrc.json"]
|
||||
},
|
||||
|
||||
"languages": {
|
||||
"YAML": {
|
||||
"format_on_save": "off"
|
||||
}
|
||||
}
|
||||
}
|
||||
23
.zshrc
23
.zshrc
@@ -85,6 +85,15 @@ unsetopt HIST_VERIFY # Execute commands using history (e.g.: using !$) immediate
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||
|
||||
# nvm configuration
|
||||
# zstyle ':omz:plugins:nvm' lazy yes
|
||||
zstyle ':omz:plugins:nvm' autoload yes
|
||||
zstyle ':omz:plugins:nvm' silent-autoload yes # optionally remove the output generated by NVM when autoloading
|
||||
|
||||
# fzf-tab configuration
|
||||
zstyle ':fzf-tab:complete:cd:*' fzf-preview '/bin/eza -1 --color=always $realpath'
|
||||
zstyle ':fzf-tab:complete:systemctl-*:*' fzf-preview 'SYSTEMD_COLORS=1 systemctl --user status $word'
|
||||
|
||||
ZOXIDE_CMD_OVERRIDE="cd"
|
||||
|
||||
# Which plugins would you like to load?
|
||||
@@ -100,6 +109,7 @@ plugins=(
|
||||
nvm
|
||||
sudo
|
||||
command-not-found
|
||||
you-should-use
|
||||
fzf-tab
|
||||
zsh-autosuggestions
|
||||
zsh-syntax-highlighting
|
||||
@@ -110,15 +120,6 @@ eval "$(oh-my-posh init zsh --config ~/.p10k.omp.json)"
|
||||
|
||||
# User configuration
|
||||
|
||||
# nvm configuration
|
||||
zstyle ':omz:plugins:nvm' lazy yes
|
||||
zstyle ':omz:plugins:nvm' autoload yes
|
||||
# zstyle ':omz:plugins:nvm' silent-autoload yes # optionally remove the output generated by NVM when autoloading
|
||||
|
||||
# fzf-tab configuration
|
||||
zstyle ':fzf-tab:complete:cd:*' fzf-preview '/bin/eza -1 --color=always $realpath'
|
||||
zstyle ':fzf-tab:complete:systemctl-*:*' fzf-preview 'SYSTEMD_COLORS=1 systemctl --user status $word'
|
||||
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
# VSCode shell integration
|
||||
@@ -127,6 +128,7 @@ zstyle ':fzf-tab:complete:systemctl-*:*' fzf-preview 'SYSTEMD_COLORS=1 systemctl
|
||||
# You may need to manually set your language environment
|
||||
# export LANG=en_US.UTF-8
|
||||
|
||||
export EDITOR="hx"
|
||||
# Preferred editor for local and remote sessions
|
||||
# if [[ -n $SSH_CONNECTION ]]; then
|
||||
# export EDITOR='vim'
|
||||
@@ -157,6 +159,9 @@ alias grep="ugrep"
|
||||
alias curl="curlie"
|
||||
# alias code="snap run code"
|
||||
alias docker-compose="PODMAN_COMPOSE_PROVIDER=/usr/libexec/docker/cli-plugins/docker-compose podman compose"
|
||||
# Funny work aliases
|
||||
alias rip-yannick="gh pr create -w"
|
||||
alias rip-leo="rip-yannick"
|
||||
|
||||
# Generated for envman. Do not edit.
|
||||
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
|
||||
|
||||
Reference in New Issue
Block a user