From f24450d1f6a8b6f4eee95f23d84536da9bb9bd65 Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Fri, 16 Jul 2021 12:23:03 +0200 Subject: [PATCH] about time I update --- conf/config/alacritty/alacritty.yml | 86 ++++++++++++++++++++--------- conf/config/micro/settings.json | 2 +- conf/home/xinitrc | 14 ++++- conf/home/zshrc | 11 +++- 4 files changed, 84 insertions(+), 29 deletions(-) diff --git a/conf/config/alacritty/alacritty.yml b/conf/config/alacritty/alacritty.yml index 82cf2ea..269d813 100644 --- a/conf/config/alacritty/alacritty.yml +++ b/conf/config/alacritty/alacritty.yml @@ -18,43 +18,79 @@ scrolling: # Font configuration font: normal: - family: monospace - +# family: Fantasque Sans Mono + family: iosevka + style: Regular bold: - family: monospace +# family: Fantasque Sans Mono + family: iosevka + style: Bold italic: - family: monospace - size: 11.0 +# family: Fantasque Sans Mono + family: iosevka + style: Italic + size: 12.0 + +# gruvbox dark colors +#colors: +# # Default colors +# primary: +# # hard contrast: background = '#1d2021' +# background: '#282828' +# # soft contrast: background = '#32302f' +# foreground: '#ebdbb2' +# +# # Normal colors +# normal: +# black: '#282828' +# red: '#cc241d' +# green: '#98971a' +# yellow: '#d79921' +# blue: '#458588' +# magenta: '#b16286' +# cyan: '#689d6a' +# white: '#a89984' +# +# # Bright colors +# bright: +# black: '#928374' +# red: '#fb4934' +# green: '#b8bb26' +# yellow: '#fabd2f' +# blue: '#83a598' +# magenta: '#d3869b' +# cyan: '#8ec07c' +# white: '#ebdbb2' colors: # Default colors primary: - # hard contrast: background = '#1d2021' - background: '#282828' - # soft contrast: background = '#32302f' - foreground: '#ebdbb2' + # hard contrast: background = '0xf9f5d7' + background: '0xfbf1c7' + # soft contrast: background = '0xf2e5bc' + foreground: '0x3c3836' # Normal colors normal: - black: '#282828' - red: '#cc241d' - green: '#98971a' - yellow: '#d79921' - blue: '#458588' - magenta: '#b16286' - cyan: '#689d6a' - white: '#a89984' + black: '0xfbf1c7' + red: '0xcc241d' + green: '0x98971a' + yellow: '0xd79921' + blue: '0x458588' + magenta: '0xb16286' + cyan: '0x689d6a' + white: '0x7c6f64' # Bright colors bright: - black: '#928374' - red: '#fb4934' - green: '#b8bb26' - yellow: '#fabd2f' - blue: '#83a598' - magenta: '#d3869b' - cyan: '#8ec07c' - white: '#ebdbb2' + black: '0x928374' + red: '0x9d0006' + green: '0x79740e' + yellow: '0xb57614' + blue: '0x076678' + magenta: '0x8f3f71' + cyan: '0x427b58' + white: '0x3c3836' bell: animation: EaseOutExpo diff --git a/conf/config/micro/settings.json b/conf/config/micro/settings.json index 9924e43..004f2d7 100644 --- a/conf/config/micro/settings.json +++ b/conf/config/micro/settings.json @@ -1,6 +1,6 @@ { "colorcolumn": 80, - "colorscheme": "gruvbox", + "colorscheme": "simple", "fzf": true, "paste": true, "pluginchannels": [ diff --git a/conf/home/xinitrc b/conf/home/xinitrc index f8e9c5d..e1bceba 100644 --- a/conf/home/xinitrc +++ b/conf/home/xinitrc @@ -121,6 +121,7 @@ if [ -f "$usermodmap" ]; then xmodmap "$usermodmap"; fi xsetroot -cursor_name left_ptr & setxkbmap it,gb -option grp:lctrl_lwin_toggle xrandr --dpi 130 +xhost +local: # Set middle mouse scrolling for ps2 trackball xinput --set-prop 'GASIA PS2toUSB Adapter Mouse' 'libinput Scroll Method Enabled' 0, 0, 1 @@ -129,14 +130,22 @@ xinput --set-prop 'GASIA PS2toUSB Adapter Mouse' 'libinput Scroll Method Enabled # LAUNCH APPLICATIONS # +pipewire & +pipewire-pulse & + if ! pgrep -x "devmon" > /dev/null then devmon & fi nitrogen --restore 2>/dev/null + +# Screen power save xset s on xset s 600/660 +# Lock on idle +xidle -delay 60 -no -program "/bin/xlock -mode rain" -timeout 300 & + # # START WINDOW MANAGER # @@ -148,5 +157,8 @@ hkd & if [ "$(date +'%c=m')" = "12" ]; then xsnow & fi -sbl -r +# Banish cursor while typing +xbanish & +sbl -r & while true; do dwm 2> ~/.dwm.log; done +#progman diff --git a/conf/home/zshrc b/conf/home/zshrc index 08730fc..10b127d 100644 --- a/conf/home/zshrc +++ b/conf/home/zshrc @@ -27,11 +27,17 @@ alias gd='git diff' alias rm='rm -i' alias mv='mv -i' alias open='xdg-open' +alias vs='vpm s' +alias vi='sudo vpm i' +alias vu='sudo vpm up' +alias vrr='sudo vpm removerecursive' +alias vr='sudo vpm rm' alias buonanotte='sudo poweroff' -alias progetti='cd $HOME/Documents/projects' +alias progetti='cd $HOME/Documents/projects; ls' alias windoze='sudo zzz -R' -alias bruh='make && sudo make install && make clean' +alias bruh='make -j9 && sudo make install && make clean' alias mdl='ts youtube-dl -i -x --audio-format best --audio-quality 0 -o "%(title)s.%(ext)s"' +alias sudo=doas # Colored man pages with less(1) export LESS="--RAW-CONTROL-CHARS" @@ -50,6 +56,7 @@ export LESS_TERMCAP_ZO=$(tput ssupm) export LESS_TERMCAP_ZW=$(tput rsupm) export GROFF_NO_SGR=1 export PATH="$PATH:/home/ale/.local/bin" +export PATH="/home/ale/Documents/projects/loonix/cross/i686-elf/bin:$PATH" PROMPT='%(?..[%F{red}%?%f] )%F{green}%n%f:%F{blue}%2~%f %(!.#.$) '