EDIT / FILE ADD & REMOVE
This commit is contained in:
@@ -2,6 +2,15 @@
|
||||
|
||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
|
||||
# Run the file if it exists.
|
||||
if [ -f ~/mount_sshfs ]; then
|
||||
. ~/mount_sshfs
|
||||
fi
|
||||
|
||||
if [ -f ~/.Xresources ]; then
|
||||
xrdb ~/.Xresources
|
||||
fi
|
||||
|
||||
#bspc monitor (-d or NAME) also the number that should be on that screen.
|
||||
#example of reverse order on screens.
|
||||
#bspc monitor Screen-1 -s Screen-2
|
||||
@@ -102,10 +111,5 @@ $HOME/.config/polybar/run-polybar.sh &
|
||||
|
||||
xfce4-power-manager &
|
||||
|
||||
# Run the file if it exists.
|
||||
if [ -f ~/mount_sshfs ]; then
|
||||
. ~/mount_sshfs
|
||||
fi
|
||||
|
||||
# lock computer automatically after X time of minutes.
|
||||
xautolock -time 120 -locker "xsecurelock" -detectsleep -secure &
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
|
||||
#bspc monitor (-d or NAME) also the number that should be on that screen.
|
||||
#example of reverse order on screens.
|
||||
#bspc monitor Screen-1 -s Screen-2
|
||||
# xrandr --listmonitors or xrandr -q | grep connected
|
||||
|
||||
# set the screen resolution and you can find your maximum resolution with this Command.
|
||||
# Run xrandr in the terminal.
|
||||
xrandr -s 1920x1080 &
|
||||
|
||||
bspc monitor -d 1 2 3 4 5 6 7 8 9 0
|
||||
|
||||
|
||||
# BSPwm - Setting.
|
||||
bspc config border_width 1
|
||||
bspc config normal_border_color "#0A1B2A"
|
||||
bspc config active_border_color "#313745"
|
||||
bspc config focused_border_color "#FF0A1B2A"
|
||||
|
||||
bspc config window_gap 7
|
||||
|
||||
bspc config split_ratio 0.50
|
||||
# top_padding so there is room for Polybar.
|
||||
bspc config top_padding 28
|
||||
bspc config bottom_padding 0
|
||||
bspc config left_padding 0
|
||||
bspc config right_padding 0
|
||||
|
||||
bspc config borderless_monocle true
|
||||
bspc config gapless_monocle true
|
||||
bspc config single_monocle true
|
||||
|
||||
bspc config remove_unplugged_monitors true
|
||||
bspc config remove_disabled_monitors true
|
||||
|
||||
bspc config focus_follows_pointer true
|
||||
bspc config pointer_follows_monitor true
|
||||
bspc config click_to_focus false
|
||||
|
||||
bspc config pointer_modifier mod1
|
||||
bspc config pointer_action1 resize_side
|
||||
bspc config pointer_action3 move
|
||||
#bspc config pointer_action2 resize_corner
|
||||
|
||||
|
||||
# Rule Commands - General Syntax.
|
||||
# bspc rule -a, --add (<class_name>|*)[:(<instance_name>|\*)[:(<name>|*)]]
|
||||
# [*-o*|--one-shot] [monitor=MONITOR_SEL|desktop=DESKTOP_SEL|node=NODE_SEL]
|
||||
# [state=STATE] [layer=LAYER] [split_dir=DIR] [split_ratio=RATIO]
|
||||
# [(hidden|sticky|private|locked|marked|center|follow|manage|focus|border)=(on|off)]
|
||||
# [rectangle=WxH+X+Y]
|
||||
|
||||
# To Fine <class_name> Use xprop on terminal.
|
||||
|
||||
# Example # bspc rule -a Google-chrome desktop='^2' follow=on border=off
|
||||
|
||||
bspc rule -a Nitrogen state=floating follow=on center=true rectangle=1050x700+0+0
|
||||
bspc rule -a Screenkey manage=off
|
||||
bspc rule -a xfreerdp state=floating center=true
|
||||
bspc rule -a Gvncviewer state=floating center=true
|
||||
|
||||
bspc rule -a Google-chrome border=off
|
||||
bspc rule -a Mozilla Firefox border=off
|
||||
bspc rule -a Code desktop=3 follow=on border=off
|
||||
bspc rule -a TeamViewer desktop=5 state=floating center=true follow=on border=off
|
||||
bspc rule -a Steam desktop=6 follow=on border=off
|
||||
bspc rule -a Gimp desktop=7 follow=on layer=above border=off
|
||||
bspc rule -a Inkscape desktop=7 follow=on border=off
|
||||
bspc rule -a LibreCAD desktop=7 follow=on border=off
|
||||
bspc rule -a mpv state=fullscreen border=off
|
||||
|
||||
|
||||
# Automatically start up programs.
|
||||
xsetroot -cursor_name left_ptr &
|
||||
nitrogen --restore &
|
||||
|
||||
pkill picom
|
||||
sleep 1
|
||||
picom -b --experimental-backends &
|
||||
|
||||
$HOME/.config/polybar/run-polybar.sh &
|
||||
|
||||
xfce4-power-manager &
|
||||
|
||||
# lock computer automatically after X time of minutes.
|
||||
xautolock -time 120 -locker "xsecurelock" -detectsleep -secure &
|
||||
@@ -128,6 +128,7 @@ cp -r ~/bspwm-install-ma-dte/config/* ~/.config/
|
||||
cp -r ~/bspwm-install-ma-dte/fonts/* ~/.fonts/
|
||||
#cp -r ~/bspwm-install-ma-dte/themes/* ~/.themes/
|
||||
cp -r ~/bspwm-install-ma-dte/wallpapers/* ~/wallpapers/
|
||||
cp ~/bspwm-install-ma-dte/local-files/.Xresources ~/.Xresources
|
||||
|
||||
# Not for production version
|
||||
#read -p "Troubleshooting - Press a key to continue the installation."
|
||||
@@ -146,11 +147,6 @@ echo 'alias ls="ls --color=auto --group-directories-first -v -la"' >> ~/.bashrc
|
||||
echo 'alias vi="nvim"' >> ~/.bashrc
|
||||
echo 'alias upup="sudo apt update && sudo apt upgrade -y && sudo apt clean && sudo apt autoremove -y"' >> ~/.bashrc
|
||||
|
||||
|
||||
touch ~/.Xresources
|
||||
echo 'Xcursor.theme: Nordzy-cursors' >> ~/.Xresources
|
||||
echo 'Xcursor.size: 22' >> ~/.Xresources
|
||||
|
||||
# Echo Nitrogen config to files.
|
||||
echo "dirs=$HOME/wallpapers/;" >> ~/.config/nitrogen/nitrogen.cfg
|
||||
|
||||
@@ -267,7 +263,7 @@ echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
|
||||
sudo apt update
|
||||
|
||||
# Core packages to be installed ############################################################################################################################################
|
||||
sudo apt install -y xorg arandr autorandr bspwm sxhkd sddm picom polybar xautolock xsecurelock network-manager kitty psmisc rofi nemo thunar pcmanfm module-assistant font-manager gvfs-backends nitrogen dunst rsync cups xsensors smbclient lxpolkit xbacklight lxappearance htop mc xarchiver pulseaudio pulsemixer mpv curl tmux sxiv scrot flameshot firefox-esr numlockx neovim notify-osd neofetch flatpak timeshift rename gparted cpufrequtils xfce4-power-manager xfce4-settings bpytop firmware-linux-nonfree nfs-common virt-viewer gvncviewer xinput sshfs wireguard qimgv freerdp2-x11 freerdp2-shadow-x11 speedcrunch notepadqq
|
||||
sudo apt install -y xorg arandr autorandr bspwm sxhkd sddm picom polybar xautolock xsecurelock network-manager kitty psmisc rofi nemo thunar pcmanfm module-assistant font-manager gvfs-backends nitrogen dunst rsync cups xsensors smbclient lxpolkit xbacklight lxappearance htop mc xarchiver pulseaudio pulsemixer mpv curl tmux sxiv scrot flameshot firefox-esr numlockx neovim notify-osd neofetch flatpak timeshift rename gparted cpufrequtils xfce4-power-manager xfce4-settings bpytop firmware-linux-nonfree nfs-common virt-viewer gvncviewer xinput sshfs wireguard qimgv freerdp2-x11 freerdp2-shadow-x11 speedcrunch
|
||||
|
||||
# APT OFF
|
||||
# system-config-printer cifs-utils
|
||||
|
||||
46
local-files/.Xresources
Normal file
46
local-files/.Xresources
Normal file
@@ -0,0 +1,46 @@
|
||||
Xcursor.theme: Nordzy-cursors
|
||||
Xcursor.size: 22
|
||||
|
||||
|
||||
! --- https://terminal.sexy/ ---
|
||||
! --- special colors ---
|
||||
*transparent: #00000000
|
||||
*.foreground: #ffffff
|
||||
*.background: #1b1b1b
|
||||
*.cursorColor: #ffffff
|
||||
|
||||
! black
|
||||
*.color0: #3d3d3d
|
||||
*.color8: #4d4d4d
|
||||
|
||||
! red
|
||||
*.color1: #6673bf
|
||||
*.color9: #899aff
|
||||
|
||||
! green
|
||||
*.color2: #3ea290
|
||||
*.color10: #52ad91
|
||||
|
||||
! yellow
|
||||
*.color3: #b0ead9
|
||||
*.color11: #98c9bb
|
||||
|
||||
! blue
|
||||
*.color4: #31658c
|
||||
*.color12: #477ab3
|
||||
|
||||
! magenta
|
||||
*.color5: #596196
|
||||
*.color13: #7882bf
|
||||
|
||||
! cyan
|
||||
*.color6: #8292b2
|
||||
*.color14: #95a7cc
|
||||
|
||||
! white
|
||||
*.color7: #c8cacc
|
||||
*.color15: #edeff2
|
||||
|
||||
|
||||
! ------------------------------------------------------------------------------
|
||||
! --- end of terminal colors
|
||||
Reference in New Issue
Block a user