diff options
| author | Marc Vertes <mvertes@free.fr> | 2021-01-04 09:16:43 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2021-01-04 09:16:43 +0100 |
| commit | 1e297a9b960c6d0784856cb59b08770c7f90fbe8 (patch) | |
| tree | dcc12cf0c4f3f63daa1921aed47b38c5078dad32 | |
| parent | d6f32d35d3233f5dfbb0ed3fd2770dc7c9d0aa91 (diff) | |
update
| -rw-r--r-- | .bashrc | 9 | ||||
| -rw-r--r-- | .config/i3/config | 1 | ||||
| -rw-r--r-- | .i3status.conf | 3 | ||||
| -rw-r--r-- | .profile | 6 | ||||
| -rw-r--r-- | .tmux.conf | 3 | ||||
| -rw-r--r-- | .vim/spell/fr.utf-8.add | 1 | ||||
| -rw-r--r-- | .vimrc | 1 | ||||
| -rw-r--r-- | .xinitrc | 1 | ||||
| -rwxr-xr-x | .xsession | 24 | ||||
| -rwxr-xr-x | bin/hdmi | 9 | ||||
| -rwxr-xr-x | bin/vr | 2 |
11 files changed, 53 insertions, 7 deletions
@@ -80,6 +80,15 @@ alias wai='~/go/src/github.co/traefik/whoami/whoami' # yaegi debug export YAEGI_DOT_CMD='dotty -' +mosht() { mosh "$@" -- tmux new -A; } +export -f mosht + +ssht() { ssh -t "$@" -- tmux new -A; } +export -f ssht + +mpvx() { mpv --vo=sixel --profile=sw-fast --really-quiet "$@"; } +export -f mpvx + tfk() { ~/go/src/github.com/traefik/traefik/traefik "$@"; } export -f tfk diff --git a/.config/i3/config b/.config/i3/config index 9ef0672..48c461c 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -65,6 +65,7 @@ for_window [title="Gestionnaire de tâches – Chromium"] floating enable for_window [instance="DOTTY"] floating enable for_window [class="discord"] floating enable for_window [class="Display"] floating enable +for_window [class="Feedreader"] floating enable for_window [class="feh"] floating enable for_window [class="firefox"] floating enable for_window [class="Geeqie"] floating enable diff --git a/.i3status.conf b/.i3status.conf index b3af3a3..229dfc1 100644 --- a/.i3status.conf +++ b/.i3status.conf @@ -92,7 +92,8 @@ memory { cpu_temperature 0 { format = "🌡%degrees °C" - path = "/sys/class/hwmon/hwmon0/temp1_input" + #path = "/sys/class/hwmon/hwmon0/temp1_input" + path = "/sys/class/hwmon/hwmon6/temp1_input" } tztime local { @@ -5,6 +5,6 @@ PATH=~/bin:$PATH:~/go/bin [ "${SHELL##*/}" = bash ] && . ~/.bashrc # Last action: auto start X11 when logged on first console -case $HOSTNAME in -([sS]wift|yoda) [ "$(tty)" != /dev/tty1 ] || exec startx ;; -esac +#case $HOSTNAME in +#([sS]wift|yoda) [ "$(tty)" != /dev/tty1 ] || exec startx ;; +#esac diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..8d624a0 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,3 @@ +set-option -g prefix ² +unbind-key C-b +bind-key ² send-prefix diff --git a/.vim/spell/fr.utf-8.add b/.vim/spell/fr.utf-8.add new file mode 100644 index 0000000..8bd6403 --- /dev/null +++ b/.vim/spell/fr.utf-8.add @@ -0,0 +1 @@ +Flo @@ -12,6 +12,7 @@ let g:vimki_lower = "a-zàçéèêếëîïñôöùûü" autocmd filetype vimki syntax on autocmd filetype vimki set autowrite autocmd filetype vimki setlocal spell spelllang=fr +autocmd filetype vimki nmap <leader>z :FZF ~/Wiki<CR> " vim-go plugin let g:go_def_mode = "gopls" @@ -10,6 +10,7 @@ xinput --set-prop 'SYNA7DAB:00 06CB:CD40 Touchpad' 'libinput Natural Scrolling E # Better use /etc/X11/xorg.conf.d/10-keyboard.conf to handle hot plugged keyboards #setxkbmap fr #xk +hdmi xrdb ~/.Xresources #xsetroot -solid rgb:3/4/5 diff --git a/.xsession b/.xsession new file mode 100755 index 0000000..f982ca7 --- /dev/null +++ b/.xsession @@ -0,0 +1,24 @@ +#!/bin/sh +# start pulseaudio on crux only. Should be handled by systemd on arch +#pulseaudio --start --exit-idle-time=-1 --log-target=syslog & + +# enable tapping and natural scrolling on touchpad +# see xinput --list[-props] for ids +xinput --set-prop 'SYNA7DAB:00 06CB:CD40 Touchpad' 'libinput Tapping Enabled' 1 +xinput --set-prop 'SYNA7DAB:00 06CB:CD40 Touchpad' 'libinput Natural Scrolling Enabled' 1 + +# Better use /etc/X11/xorg.conf.d/10-keyboard.conf to handle hot plugged keyboards +#setxkbmap fr +#xk +hdmi + +xrdb ~/.Xresources +#xsetroot -solid rgb:3/4/5 +xsetroot -solid rgb:1/3/4 +#feh --bg-fill ~/Downloads/Alaska_Range.jpg +#conky +#slock + +# Start window manager +#exec fvwm +exec i3 @@ -1,12 +1,15 @@ #!/bin/sh # Toggle auxiliary HDMI screen on/off when connected/disconnected. -opt="--auto --left-of eDP-1" +opt="--auto --left-of eDP1" #opt="--auto --right-of eDP-1" #opt="--auto --above eDP-1" # Also add the following rule to /etc/udev/rules.d/hdmi.rules # KERNEL=="card0", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/marc/.Xauthority", RUN+="/home/marc/bin/hdmi" -xrandr | grep -q 'HDMI-1 connected' || opt="--off" -xrandr --output HDMI-1 $opt +# wait for the screen to settle +sleep 3 + +xrandr | grep -q 'HDMI1 connected' || opt="--off" +xrandr --output HDMI1 $opt @@ -0,0 +1,2 @@ +#!/bin/sh +exec chromium --user-data-dir=/home/marc/vr --silent-debugger-extension-api |
