Compare commits

..

No commits in common. "207d55a04e3cd900aab6b7f9662796fd4c3b4130" and "b879332a86edb5b666b0f0e88c884723f507398c" have entirely different histories.

24 changed files with 48 additions and 67 deletions

View file

@ -1,4 +0,0 @@
#!/bin/sh
mount_point="/mnt/${1}"
docker run --rm -it -v "${1}:${mount_point}" -w "$mount_point" busybox sh

View file

@ -4,7 +4,7 @@ exec-once = waybar
exec-once = hyprpaper exec-once = hyprpaper
exec-once = artix-pipewire-launcher exec-once = artix-pipewire-launcher
exec-once = /usr/lib/xdg-desktop-portal-hyprland exec-once = /usr/lib/xdg-desktop-portal-hyprland
exec-once = swayosd-server exec-once = swayosd
exec-once = $terminal & $terminal -e sudo -i exec-once = $terminal & $terminal -e sudo -i
exec-once = webcord exec-once = webcord
exec-once = joplin-desktop exec-once = joplin-desktop

View file

@ -2,8 +2,7 @@
vim.cmd [[ source ~/.vimrc ]] vim.cmd [[ source ~/.vimrc ]]
-- Modules -- Modules
require('core.plugins')
require('core.opts') require('core.opts')
require('core.keymaps') require('core.keymaps')
require('core.style') require('core.style')
require('core.lsp')

View file

@ -1,7 +0,0 @@
nvim_lsp = require'lspconfig'
on_attach = function(client)
require'completion'.on_attach(client)
end
require('core.lsp.rust_analyzer')

View file

@ -1,21 +0,0 @@
nvim_lsp.rust_analyzer.setup({
on_attach=on_attach,
settings = {
["rust-analyzer"] = {
imports = {
granularity = {
group = "module",
},
prefix = "self",
},
cargo = {
buildScripts = {
enable = true,
},
},
procMacro = {
enable = true
},
}
}
})

View file

@ -0,0 +1,3 @@
require("core.plugin_config.lualine")
require("core.plugin_config.nvim-tree")

View file

@ -1,3 +0,0 @@
require("nvim-web-devicons")
require("core.plugins.lualine")
require("core.plugins.nvim_tree")

View file

@ -1,6 +1,6 @@
exec --no-startup-id swaybg -i $wallpaper exec --no-startup-id swaybg -i $wallpaper
exec --no-startup-id swaync exec --no-startup-id swaync
exec --no-startup-id swayosd-server exec --no-startup-id swayosd
exec --no-startup-id xdg-session-start exec --no-startup-id xdg-session-start
exec --no-startup-id $term exec --no-startup-id $term
exec --no-startup-id $term -e sudo -i exec --no-startup-id $term -e sudo -i

View file

@ -64,11 +64,11 @@ bindsym $mod+space focus mode_toggle
bindsym $mod+a focus parent bindsym $mod+a focus parent
# Control # Control
bindsym XF86AudioLowerVolume exec swayosd-client --output-volume=lower bindsym XF86AudioLowerVolume exec swayosd --output-volume=lower
bindsym XF86AudioRaiseVolume exec swayosd-client --output-volume=raise bindsym XF86AudioRaiseVolume exec swayosd --output-volume=raise
bindsym XF86AudioMute exec swayosd-client --output-volume=mute-toggle bindsym XF86AudioMute exec swayosd --output-volume=mute-toggle
bindsym XF86MonBrightnessUp exec swayosd-client --brightness=raise bindsym XF86MonBrightnessUp exec swayosd --brightness=raise
bindsym XF86MonBrightnessDown exec swayosd-client --brightness=lower bindsym XF86MonBrightnessDown exec swayosd --brightness=lower
# Modes # Modes
# Resize # Resize

View file

@ -70,8 +70,8 @@
"default": ["", "", ""] "default": ["", "", ""]
}, },
"on-click": "pavucontrol -t 3", "on-click": "pavucontrol -t 3",
"on-scroll-up": "swayosd-client --output-volume=raise", "on-scroll-up": "swayosd --output-volume=raise",
"on-scroll-down": "swayosd-client --output-volume=lower" "on-scroll-down": "swayosd --output-volume=lower"
}, },
"pulseaudio#input": { "pulseaudio#input": {
"format": "{format_source}", "format": "{format_source}",
@ -87,8 +87,8 @@
"default": ["", "", ""] "default": ["", "", ""]
}, },
"on-click": "pavucontrol -t 4", "on-click": "pavucontrol -t 4",
"on-scroll-up": "swayosd-client --input-volume=raise", "on-scroll-up": "swayosd --input-volume=raise",
"on-scroll-down": "swayosd-client --input-volume=lower" "on-scroll-down": "swayosd --input-volume=lower"
}, },
"temperature": { "temperature": {
"thermal-zone": 2, "thermal-zone": 2,

View file

@ -1,3 +0,0 @@
ps1_brackets='()'
ps1_color_1=32
ps1_color_2=34

View file

@ -1,3 +0,0 @@
ps1_brackets='[]'
ps1_color_1=35
ps1_color_2=34

View file

@ -1,5 +0,0 @@
ps1_brackets='{}'
ps1_color_1=36
ps1_color_2=34
export SYSTEMD_PAGER=

View file

@ -1,7 +0,0 @@
if [ "$(id -u)" -eq 0 ]; then
ps1_color_1=31
ps1_color_2=32
fi
PS1='\[\033[0m\]'"${ps1_brackets:0:1}"'\[\033[1;'"${ps1_color_1}"'m\]\u@\h\[\033[0m\] \[\033[1;'"${ps1_color_2}"'m\]\W\[\033[0m\]'"${ps1_brackets:1:1}"'\$ '

View file

@ -0,0 +1,10 @@
# PS1
if [ "$(id -u)" -eq 0 ]; then
ps1_color_1=1
ps1_color_2=10
else
ps1_color_1=2
ps1_color_2=4
fi
export PS1="(\[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;${ps1_color_1}m\]\u@\h\[$(tput sgr0)\] \[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;${ps1_color_2}m\]\W\[$(tput sgr0)\])\\$ \[$(tput sgr0)\]"

View file

@ -0,0 +1,10 @@
# PS1
if [ "$(id -u)" -eq 0 ]; then
ps1_color_1=1
ps1_color_2=10
else
ps1_color_1=5
ps1_color_2=4
fi
export PS1="[\[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;${ps1_color_1}m\]\u@\h\[$(tput sgr0)\] \[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;${ps1_color_2}m\]\W\[$(tput sgr0)\]]\\$ \[$(tput sgr0)\]"

View file

@ -0,0 +1,12 @@
# PS1
if [ "$(id -u)" -eq 0 ]; then
ps1_color_1=1
ps1_color_2=10
else
ps1_color_1=6
ps1_color_2=4
fi
export PS1="{\[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;${ps1_color_1}m\]\u@\h\[$(tput sgr0)\] \[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;${ps1_color_2}m\]\W\[$(tput sgr0)\]}\\$ \[$(tput sgr0)\]"
export SYSTEMD_PAGER=

View file

@ -2,7 +2,7 @@
name = Hippolyte Chauvin name = Hippolyte Chauvin
email = hchauvin38@outlook.fr email = hchauvin38@outlook.fr
[core] [core]
editor = nvim editor = hx
[init] [init]
defaultbranch = main defaultbranch = main
[pull] [pull]