- vscode, spotify, git, slack, discord
- fira code
- sync vs code settings
- tabby
- diodon (gestionnaire de presse papier) + raccourci clavier
- gestionnaire de fichiers avec des colonnes de Miller : patheon-files
- activation smooth scroll dans vs code et dans ff
- https://github.com/bulletmark/libinput-gestures
- https://gitlab.com/cunidev/gestures
- zsh, oh my zsh, hyper-zsh, starship
- zsh plugins : git, docker
- docker, docker login
- ajout clés ssh à projects.nartex.fr et gitlab.nartex.fr
- apt-get install git-flow
- installer mina
- ajouter mes scripts et raccourcis clavier
- toggle mic
- configurer git :
Last active
October 25, 2023 08:50
-
-
Save fuunnx/578bd5bd942520e9e6aa958e955bdb0a to your computer and use it in GitHub Desktop.
Scripts and configs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
email = geraud.henrion@nartex.fr | |
name = Géraud Henrion | |
[core] | |
editor = code --wait | |
attributesfile = ~/.gitattributes | |
[diff] | |
tool = vscode | |
[difftool "vscode"] | |
cmd = code --wait --diff $LOCAL $REMOTE | |
[merge] | |
tool = vscode | |
[mergetool "vscode"] | |
cmd = code --wait $MERGED | |
[color] | |
# Enable colors in color-supporting terminals | |
ui = auto | |
[alias] | |
# List available aliases | |
aliases = !git config --get-regexp alias | sed -re 's/alias\\.(\\S*)\\s(.*)$/\\1 = \\2/g' | |
# Display tree-like log, because default log is a pain… | |
lg = log --graph --date=relative --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset' | |
# Useful when you have to update your last commit | |
# with staged files without editing the commit message. | |
oops = commit --amend --no-edit | |
webui = !/home/ghenrion/.git-webui/release/libexec/git-core/git-webui | |
[pull] | |
# This is GREAT… when you know what you're doing and are careful | |
# not to pull --no-rebase over a local line containing a true merge. | |
# rebase = true | |
# This option, which does away with the one gotcha of | |
# auto-rebasing on pulls, is only available from 1.8.5 onwards. | |
# rebase = preserve | |
# WARNING! This option, which is the latest variation, is only | |
# available from 2.18 onwards. | |
rebase = merges | |
[push] | |
# When pushing, also push tags whose commit-ishs are now reachable upstream | |
followTags = true | |
autoSetupRemote = true | |
[tag] | |
# Sort tags as version numbers whenever applicable, so 1.10.2 is AFTER 1.2.0. | |
sort = version:refname | |
[webui] | |
autoupdate = false | |
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
# https://github.com/jonatanpedersen/git-json-merge | |
# [merge "json"] | |
# name = custom merge driver for json files | |
# driver = git-json-merge %A %O %B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 14, | |
// font family with optional fallbacks | |
fontFamily: | |
'"Fira Mono for Powerline", "Fira Code", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', | |
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
cursorColor: 'rgba(248,28,229,0.75)', | |
// `BEAM` for |, `UNDERLINE` for _, `BLOCK` for █ | |
cursorShape: 'BLOCK', | |
// color of the text | |
foregroundColor: '#eee', | |
// terminal background color | |
backgroundColor: '#111', | |
// border color (window, tabs) | |
borderColor: '#333', | |
// custom css to embed in the main window | |
css: '', | |
// custom css to embed in the terminal window | |
termCSS: '', | |
// custom padding (css format, i.e.: `top right bottom left`) | |
padding: '12px 14px', | |
showHamburgerMenu: true, | |
// the full list. if you're going to provide the full color palette, | |
// including the 6 x 6 color cubes and the grayscale map, just provide | |
// an array here instead of a color map object | |
colors: { | |
black: '#000000', | |
red: '#ff0000', | |
green: '#33ff00', | |
yellow: '#ffff00', | |
blue: '#0066ff', | |
magenta: '#cc00ff', | |
cyan: '#00ffff', | |
white: '#d0d0d0', | |
lightBlack: '#808080', | |
lightRed: '#ff0000', | |
lightGreen: '#33ff00', | |
lightYellow: '#ffff00', | |
lightBlue: '#0066ff', | |
lightMagenta: '#cc00ff', | |
lightCyan: '#00ffff', | |
lightWhite: '#ffffff', | |
}, | |
// the shell to run when spawning a new session (i.e. /usr/local/bin/fish) | |
// if left empty, your system's login shell will be used by default | |
shell: '', | |
summon: { | |
hideDock: true, | |
hideOnBlur: false, | |
hotkey: 'Shift+Space', | |
}, | |
// for advanced config flags please refer to https://hyperterm.org/#cfg | |
}, | |
// a list of plugins to fetch and install from npm | |
// format: [@org/]project[#version] | |
// examples: | |
// `hyperpower` | |
// `@company/project` | |
// `project#1.0.1` | |
plugins: [ | |
`hyperterm-summon`, | |
`hyperterm-title`, | |
`hypercwd`, | |
// `hyperline`, | |
`hyperterm-dibdabs`, | |
`hyperterm-blink`, | |
`hyperterm-paste`, | |
`hyperterm-tabs`, | |
`hyper-snazzy`, | |
`hyper-highlight-active-pane`, | |
`hyper-rename-tab`, | |
], | |
// in development, you can create a directory under | |
// `~/.hyperterm_plugins/local/` and include it here | |
// to load it and avoid it being `npm install`ed | |
localPlugins: [], | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Traduction pour un OS français de : | |
# https://github.com/CleoAlex/bluetooth-pipewire/blob/main/bluetooth-pipewire.sh | |
# | |
# Toggle your bluetooth device (e.g., Bose Headphones) between A2DP mode (high-fidelity playback with NO microphone) and HSP/HFP, codec mSBC (lower playback quality, microphone ENABLED) | |
function toggle_bluetooth_profile { | |
current_mode_is_a2dp=`pactl list | grep "actif" | grep a2dp` | |
card=`pactl list | grep ": bluez_card." | head -n 1 | cut -d ' ' -f 2` | |
if [ -n "$current_mode_is_a2dp" ]; then | |
echo "Switching $card to mSBC (headset, for making calls)..." | |
pactl set-card-profile $card headset-head-unit-msbc | |
pactl set-card-profile $card headset-head-unit # there is a bug, adding this second command helps fixing it | |
else | |
echo "Switching $card to A2DP (high-fidelity playback)..." | |
pactl set-card-profile $card a2dp-sink-sbc_xq | |
fi | |
} | |
toggle_bluetooth_profile | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment