master
Alessandro Mauri 3 years ago
parent 1fa7a16893
commit f1247bee2d
  1. 1
      .gitignore
  2. 10
      conf/config/alacritty/alacritty.yml
  3. 1
      conf/config/micro/settings.json
  4. 2
      conf/config/scripts/screenshot
  5. 3
      conf/home/bashrc
  6. 2
      conf/home/onsuspend
  7. 26
      conf/home/xinitrc

1
.gitignore vendored

@ -8,3 +8,4 @@ conf/config/micro/plug/**
conf/config/nvim/plugged/**
conf/config/nvim/.netrwhist
**/*~
conf/config/micro/backups/**

@ -24,7 +24,7 @@ font:
family: monospace
italic:
family: monospace
size: 8.0
size: 11.0
colors:
# Default colors
@ -76,6 +76,10 @@ cursor:
live_config_reload: true
dimensions:
columns: 0
lines: 0
# Send ESC (\x1b) before characters when alt is pressed.
#alt_send_esc: true
@ -248,6 +252,6 @@ key_bindings:
- { key: Insert, mods: Shift, action: PasteSelection }
- { key: Home, mods: Control, action: ResetFontSize }
- { key: Equals, mods: Control, action: IncreaseFontSize }
- { key: Add, mods: Control, action: IncreaseFontSize }
- { key: Subtract, mods: Control, action: DecreaseFontSize }
- { key: Plus, mods: Control, action: IncreaseFontSize }
# - { key: Subtract, mods: Control, action: DecreaseFontSize }
- { key: Minus, mods: Control, action: DecreaseFontSize }

@ -7,7 +7,6 @@
"https://raw.githubusercontent.com/micro-editor/plugin-channel/master/channel.json"
],
"pluginrepos": [],
"scrollbar": true,
"softwrap": true,
"tabsize": 8
}

@ -1,10 +1,10 @@
#!/bin/sh
slop=$(slop -f "%g") || exit 1
file="$HOME"/Pictures/screen-"$(date '+%d-%m-%y_%H:%M:%S')".png
case $1 in
"sel")
slop=$(slop -f "%g") || exit 1
exec import -window root -silent -crop "$slop" "$file"
;;
*)

@ -24,6 +24,9 @@ alias ..='cd ..'
alias open='xdg-open'
alias buonanotte='sudo poweroff'
alias progetti='cd $HOME/Documents/projects'
alias windoze='sudo zzz -R'
alias bruh='make && sudo make install && make clean'
alias mdl='youtube-dl -x --audio-format opus --audio-quality 0 -o "%(title)s.%(ext)s"'
# Colored man pages with less(1)
export LESS="--RAW-CONTROL-CHARS"

@ -1,2 +1,2 @@
#!/bin/sh
xset s activate
#xset s activate

@ -7,6 +7,7 @@ DOTS_ROOT=${STARTW_ROOT}/conf
STARTX_LOG_FILE=${STARTW_ROOT}/"err-x11-$(date +%F).log"
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
userresources=${HOME}/.Xresources
# Boilerplate for systemd-less systems
if test -z "${XDG_RUNTIME_DIR}"; then
@ -66,7 +67,8 @@ export _JAVA_AWT_WM_NONREPARENTING=1
# Set the hardware acceleration driver
export LIBVA_DRIVER_NAME=radeonsi
export VDPAU_DRIVER=radeonsi
export RADV_PERFTEST=aco
#aco is enabled by default
#export RADV_PERFTEST=aco
export MOZ_X11_EGL=1
# Set the default interface used by wpa_cli
export WPA_CLI_INTERFACE=wlp2s0
@ -118,8 +120,11 @@ if [ -f "$userresources" ]; then xrdb -merge "$userresources"; fi
if [ -f "$usermodmap" ]; then xmodmap "$usermodmap"; fi
xsetroot -cursor_name left_ptr &
setxkbmap it
xrandr --dpi 157
setxkbmap it,gb -option grp:lctrl_lwin_toggle
xrandr --dpi 130
# Set middle mouse scrolling for ps2 trackball
xinput --set-prop 'GASIA PS2toUSB Adapter Mouse' 'libinput Scroll Method Enabled' 0, 0, 1
#
# LAUNCH APPLICATIONS
@ -129,17 +134,20 @@ if ! pgrep -x "devmon" > /dev/null
then
devmon 2>&1 | "$STARTW_ROOT"/addts >> "$STARTX_LOG_FILE" &
fi
#feh --no-fehbg --bg-fill "$WALLPAPER" &
#polybar -r vantagev1 2>&1 | "$STARTW_ROOT"/addts >> "$STARTX_LOG_FILE" &
nitrogen --restore 2>/dev/null
tint2 | "$STARTW_ROOT"/addts >> "$STARTX_LOG_FILE" &
xset s on
xset s 600/660
xss-lock --ignore-sleep -- xsecurelock &
#
# START WINDOW MANAGER
#
sxhkd &
exec openbox
# Statusbar
status &
hkd &
# Is it time to get those christmas feels?
if [ "$(date +'%c=m')" = "12" ]; then
xsnow &
fi
sbl -r
while true; do dwm 2> ~/.dwm.log; done

Loading…
Cancel
Save