From 775c898c22600aef16e95a6c6ba33755a639809c Mon Sep 17 00:00:00 2001 From: Cheri Date: Thu, 13 Aug 2020 13:58:36 +0300 Subject: [PATCH] stuffs --- .bashrc | 1 + README.md | 4 ++-- bspwm/bspwmrc | 55 ++++++++++++++++++++++++++++++---------------- dunst/dunstrc | 8 +++---- polybar/config.ini | 4 ++-- 5 files changed, 45 insertions(+), 27 deletions(-) diff --git a/.bashrc b/.bashrc index 9030a46..27da0b2 100644 --- a/.bashrc +++ b/.bashrc @@ -3,6 +3,7 @@ # export vblank_mode=0 +set -o vi [[ $- != *i* ]] && return colors() { diff --git a/README.md b/README.md index 40234f0..776c129 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,9 @@ What I use right now (stuff I have to install on a fresh linux install): * picom/compton * xfce4-power-manager * nm-applet -* polkit-gnome -- TODO migrate to the lxde polkit +* lxqt-policykit * firefox * rhythmbox -- TODO migrate to a MPD based music player -* lxde-apperance (optional) +* lxapperance (optional) * NerdFonts * **DASH set as /bin/sh** (Arch Linux) diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc index 6dbbd0d..905b917 100755 --- a/bspwm/bspwmrc +++ b/bspwm/bspwmrc @@ -3,6 +3,7 @@ ### # AUTOSTART ### +xsetroot -cursor_name left_ptr #fix background cursor being different sxhkd & ~/.config/polybar/launch.sh & nitrogen --restore @@ -13,12 +14,26 @@ nm-applet & blueman-applet & xfce4-power-manager & numlockx on & -/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & - -bspc monitor -d 1 2 3 4 5 6 -bspc monitor VGA-0 7 8 9 +#/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & +/usr/bin/lxqt-policykit-agent & +### +# MONITORS +### +if [ "`hostname`" = "beef-book" ]; then + bspc monitor "DP-1" -d 1 2 3 4 5 6 + bspc monitor "LVDS1" -d 1 2 3 4 5 6 7 8 9 + bspc monitor "LVDS-1-1" -d 1 2 3 4 5 6 7 8 9 + bspc monitor "VGA-0" 7 8 9 +elif [ "`hostname`" = "lenOwO-pad" ]; then + bspc monitor "eDP" -d 1 2 3 4 5 6 7 8 9 + bspc monitor "HDMI-0" -d 1 2 3 4 5 6 7 8 9 + bspc monitor "VGA-0" -d 1 2 3 4 5 6 7 8 9 +fi +### +# GLOBAL SETTINGS +### bspc config focus_follows_pointer true bspc config remove_disabled_monitors true bspc config remove_unplugged_monitors true @@ -36,25 +51,26 @@ bspc config gapless_monocle true #TODO adauga culori din Xresources -### COLORS +### +# COLORS +### +#bspc config normal_border_color +#bspc config active_border_color +#bspc config focused_border_color -bspc config normal_border_color -bspc config active_border_color -bspc config focused_border_color +#bspc config presel_feedback_color -bspc config presel_feedback_color +#bspc config normal_sticky_border_color +#bspc config active_sticky_border_color +#bspc config focused_sticky_border_color -bspc config normal_sticky_border_color -bspc config active_sticky_border_color -bspc config focused_sticky_border_color - -bspc config normal_private_border_color "" -bspc config active_private_border_color "" -bspc config focused_private_border_color "" +#bspc config normal_private_border_color "" +#bspc config active_private_border_color "" +#bspc config focused_private_border_color "" ### -# APP RULES +# RULES ### bspc rule -a Gimp desktop='^6' state=floating follow=on @@ -62,9 +78,10 @@ bspc rule -a Pavucontrol state=floating bspc rule -a copyq state=floating bspc rule -a Blueman-manager state=floating bspc rule -a Arandr state=floating +bspc rule -a galculator state=floating bspc rule -a Screenkey manage=off -bspc rule -a Firefox desktop='^1' -bspc rule -a Discord desktop='^4' +bspc rule -a Navigator desktop='^1' +bspc rule -a discord desktop='^4' bspc rule -a AlarmWindow state=floating bspc rule -a pop-up state=floating bspc rule -a setup state=floating diff --git a/dunst/dunstrc b/dunst/dunstrc index 8cb4303..9cb3543 100644 --- a/dunst/dunstrc +++ b/dunst/dunstrc @@ -85,7 +85,7 @@ idle_threshold = 120 ### Text ### - font = JetBrains Mono Medium 10 + font = Terminus 10 # The spacing between lines. If the height is smaller than the # font height, it will get raised to the font height. @@ -278,14 +278,14 @@ foreground = "#ffffff" timeout = 5 # Icon for notifications with low urgency, uncomment to enable - icon = /home/brodie/.config/dunst/normal.png + icon = ~/.config/dunst/normal.png [urgency_normal] background = "#2b2b2b" foreground = "#ffffff" timeout = 5 # Icon for notifications with normal urgency, uncomment to enable - icon = /home/brodie/.config/dunst/normal.png + icon = ~/.config/dunst/normal.png [urgency_critical] background = "#900000" @@ -293,7 +293,7 @@ frame_color = "#ff0000" timeout = 5 # Icon for notifications with critical urgency, uncomment to enable - icon = /home/brodie/.config/dunst/critical.png + icon = ~/.config/dunst/critical.png # Every section that isn't one of the above is interpreted as a rules to # override settings for certain messages. diff --git a/polybar/config.ini b/polybar/config.ini index f03d289..80798e0 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -237,9 +237,9 @@ format-full-background = ${color.shade3} format-full-foreground = ${color.fg-alt} format-full-padding = 2 -label-charging = %{A1:xfce4-power-manager-settings &:}%percentage%%%{A} +label-charging = %{A1:xfce4-power-manager-settings &:} %percentage%%%{A} label-discharging = %{A1:xfce4-power-manager-settings &:}%percentage%%%{A} -label-full = %{A1:xfce4-power-manager-settings &:}100%%{A} +label-full = %{A1:xfce4-power-manager-settings &:} 100%%{A} ; Only applies if is used ramp-capacity-0 = 