From 58bcebd6f5504879bc59b558eb085c8eaf3febeb Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Mon, 11 May 2020 13:38:11 +0200 Subject: [PATCH] started revert on x11 --- conf/config/alacritty/alacritty.yml | 2 +- conf/config/bspwm/bspwmrc | 24 +++++++++++++++++++++++ conf/config/mpv/mpv.conf | 2 +- conf/config/nvim/.netrwhist | 12 ++++++++---- conf/{outdated => config}/polybar/config | 0 conf/{outdated => config}/polybar/config~ | 0 conf/{outdated => config}/rofi | 0 conf/{outdated => config}/sxhkd/sxhkdrc | 0 conf/{outdated => config}/sxhkd/sxhkdrc~ | 0 conf/home/bashrc | 1 - conf/home/xinitrc | 11 +++++------ conf/outdated/bspwm/bspwmrc | 18 ----------------- conf/outdated/bspwm/bspwmrc~ | 19 ------------------ 13 files changed, 39 insertions(+), 50 deletions(-) create mode 100755 conf/config/bspwm/bspwmrc rename conf/{outdated => config}/polybar/config (100%) rename conf/{outdated => config}/polybar/config~ (100%) rename conf/{outdated => config}/rofi (100%) rename conf/{outdated => config}/sxhkd/sxhkdrc (100%) rename conf/{outdated => config}/sxhkd/sxhkdrc~ (100%) delete mode 100755 conf/outdated/bspwm/bspwmrc delete mode 100755 conf/outdated/bspwm/bspwmrc~ diff --git a/conf/config/alacritty/alacritty.yml b/conf/config/alacritty/alacritty.yml index 8780071..0444d1d 100644 --- a/conf/config/alacritty/alacritty.yml +++ b/conf/config/alacritty/alacritty.yml @@ -24,7 +24,7 @@ font: family: monospace italic: family: monospace - size: 12.0 + size: 9.0 colors: # Default colors diff --git a/conf/config/bspwm/bspwmrc b/conf/config/bspwm/bspwmrc new file mode 100755 index 0000000..869e7a8 --- /dev/null +++ b/conf/config/bspwm/bspwmrc @@ -0,0 +1,24 @@ +#! /bin/sh + +sxhkd & + +while :; do + bspc subscribe --count 1 node_focus > /dev/null || break + bspc node focused.floating --layer above + bspc node focused.floating --layer normal +done & + +bspc monitor -d I II III IV V VI VII VIII IX X + +# Focus folows mouse +bspc config focus_follows_pointer true + +bspc config border_width 1 +bspc config window_gap 16 + +bspc config split_ratio 0.52 +bspc config borderless_monocle true +bspc config gapless_monocle true + +# Window rules +bspc rule -a Chromium desktop='^9' diff --git a/conf/config/mpv/mpv.conf b/conf/config/mpv/mpv.conf index 821160d..340f61b 100644 --- a/conf/config/mpv/mpv.conf +++ b/conf/config/mpv/mpv.conf @@ -1,2 +1,2 @@ hwdec=auto-safe -gpu-context=wayland +#gpu-context=wayland diff --git a/conf/config/nvim/.netrwhist b/conf/config/nvim/.netrwhist index f2aa21b..7110af5 100644 --- a/conf/config/nvim/.netrwhist +++ b/conf/config/nvim/.netrwhist @@ -1,8 +1,12 @@ let g:netrw_dirhistmax =10 -let g:netrw_dirhistcnt =6 +let g:netrw_dirhistcnt =3 +let g:netrw_dirhist_3='/home/ale/.local/share/applications' +let g:netrw_dirhist_2='/home/ale/Documents/projects/wiki/distro' +let g:netrw_dirhist_1='/home/ale/Documents/projects/wiki' +let g:netrw_dirhist_0='/home/ale/Documents/projects/wiki/tutorials' +let g:netrw_dirhist_9='/home/ale/Documents/projects/wiki' +let g:netrw_dirhist_8='/home/ale/Documents/projects/wiki/tutorials' +let g:netrw_dirhist_7='/home/ale/Documents/projects/wiki' let g:netrw_dirhist_6='/home/ale/Documents/projects/wiki/distro' let g:netrw_dirhist_5='/home/ale/.xournalpp' let g:netrw_dirhist_4='/home/ale' -let g:netrw_dirhist_3='/home/ale/Documents/Electronics and Electrical Troubleshooting and Repair Handbook + How to Diagnose and Teach Yourself- Mantesh' -let g:netrw_dirhist_2='/home/ale/Documents' -let g:netrw_dirhist_1='/home/ale' diff --git a/conf/outdated/polybar/config b/conf/config/polybar/config similarity index 100% rename from conf/outdated/polybar/config rename to conf/config/polybar/config diff --git a/conf/outdated/polybar/config~ b/conf/config/polybar/config~ similarity index 100% rename from conf/outdated/polybar/config~ rename to conf/config/polybar/config~ diff --git a/conf/outdated/rofi b/conf/config/rofi similarity index 100% rename from conf/outdated/rofi rename to conf/config/rofi diff --git a/conf/outdated/sxhkd/sxhkdrc b/conf/config/sxhkd/sxhkdrc similarity index 100% rename from conf/outdated/sxhkd/sxhkdrc rename to conf/config/sxhkd/sxhkdrc diff --git a/conf/outdated/sxhkd/sxhkdrc~ b/conf/config/sxhkd/sxhkdrc~ similarity index 100% rename from conf/outdated/sxhkd/sxhkdrc~ rename to conf/config/sxhkd/sxhkdrc~ diff --git a/conf/home/bashrc b/conf/home/bashrc index e046e95..57c76c3 100644 --- a/conf/home/bashrc +++ b/conf/home/bashrc @@ -3,7 +3,6 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return -ufetch echo -e \\n \\e[10{0..7}m\ \ \\e[m \\n \\e[4{0..7}m\ \ \\e[m \\n bind "set completion-ignore-case on" diff --git a/conf/home/xinitrc b/conf/home/xinitrc index 2bf6c9f..61d13c8 100644 --- a/conf/home/xinitrc +++ b/conf/home/xinitrc @@ -32,13 +32,12 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then unset f fi -#xsetroot -cursor_name left_ptr & +xsetroot -cursor_name left_ptr & setxkbmap it # set in xresources xrandr --dpi 157 -#nitrogen --restore & -#polybar -r vantagev1 & +./.fehbg +polybar -r vantagev1 & #dhcpcd-gtk & -#devmon & -exec awesome - +devmon & +exec bspwm \ No newline at end of file diff --git a/conf/outdated/bspwm/bspwmrc b/conf/outdated/bspwm/bspwmrc deleted file mode 100755 index 37ad9f7..0000000 --- a/conf/outdated/bspwm/bspwmrc +++ /dev/null @@ -1,18 +0,0 @@ -#! /bin/sh - -sxhkd & - -bspc monitor -d I II III IV V VI VII VIII IX X - -bspc config border_width 1 -bspc config window_gap 16 - -bspc config split_ratio 0.52 -bspc config borderless_monocle true -bspc config gapless_monocle true - -#bspc rule -a Gimp desktop='^8' state=floating follow=on -bspc rule -a Firefox desktop='^9' -#bspc rule -a mplayer2 state=floating -#bspc rule -a Kupfer.py focus=on -#bspc rule -a Screenkey manage=off diff --git a/conf/outdated/bspwm/bspwmrc~ b/conf/outdated/bspwm/bspwmrc~ deleted file mode 100755 index 8d4bdb7..0000000 --- a/conf/outdated/bspwm/bspwmrc~ +++ /dev/null @@ -1,19 +0,0 @@ -#! /bin/sh - -sxhkd & - -bspc monitor -d I II III IV V VI VII VIII IX X - -bspc config border_width 1 -bspc config window_gap 16 -bspc config border_radius 25 - -bspc config split_ratio 0.52 -bspc config borderless_monocle true -bspc config gapless_monocle true - -bspc rule -a Gimp desktop='^8' state=floating follow=on -bspc rule -a Chromium desktop='^2' -bspc rule -a mplayer2 state=floating -bspc rule -a Kupfer.py focus=on -bspc rule -a Screenkey manage=off