1
0
Fork 0
forked from ahurac/dotfiles

Fusion : mise à niveau de la branche tmp/nvim-conf-refactor

This commit is contained in:
Hippolyte Chauvin 2023-10-15 15:51:08 +02:00
commit d2fd114995
17 changed files with 34 additions and 44 deletions

4
bin/docker-browse_volume Executable file
View file

@ -0,0 +1,4 @@
#!/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 = artix-pipewire-launcher
exec-once = /usr/lib/xdg-desktop-portal-hyprland
exec-once = swayosd
exec-once = swayosd-server
exec-once = $terminal & $terminal -e sudo -i
exec-once = webcord
exec-once = joplin-desktop

View file

@ -1,6 +1,6 @@
exec --no-startup-id swaybg -i $wallpaper
exec --no-startup-id swaync
exec --no-startup-id swayosd
exec --no-startup-id swayosd-server
exec --no-startup-id xdg-session-start
exec --no-startup-id $term
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
# Control
bindsym XF86AudioLowerVolume exec swayosd --output-volume=lower
bindsym XF86AudioRaiseVolume exec swayosd --output-volume=raise
bindsym XF86AudioMute exec swayosd --output-volume=mute-toggle
bindsym XF86MonBrightnessUp exec swayosd --brightness=raise
bindsym XF86MonBrightnessDown exec swayosd --brightness=lower
bindsym XF86AudioLowerVolume exec swayosd-client --output-volume=lower
bindsym XF86AudioRaiseVolume exec swayosd-client --output-volume=raise
bindsym XF86AudioMute exec swayosd-client --output-volume=mute-toggle
bindsym XF86MonBrightnessUp exec swayosd-client --brightness=raise
bindsym XF86MonBrightnessDown exec swayosd-client --brightness=lower
# Modes
# Resize

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,7 @@
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

@ -1,10 +0,0 @@
# 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

@ -1,10 +0,0 @@
# 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

@ -1,12 +0,0 @@
# 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
email = hchauvin38@outlook.fr
[core]
editor = hx
editor = nvim
[init]
defaultbranch = main
[pull]