summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--INSTALL/parabola-install1
-rw-r--r--man/.local/man/dots.1205
-rwxr-xr-xscripts/.local/bin/colorset6
-rwxr-xr-xscripts/.local/bin/manuals2
-rwxr-xr-xshell/.config/shell/env9
6 files changed, 216 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index d6ee08e..b964338 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@ neovim/.config/nvim/*
# Path Folder
scripts/.local/bin/vim
+scripts/.local/bin/firefox
# Suckless Software
suckless/.local/src/suck/*
diff --git a/INSTALL/parabola-install b/INSTALL/parabola-install
index ccf30cf..4c15ca7 100644
--- a/INSTALL/parabola-install
+++ b/INSTALL/parabola-install
@@ -42,6 +42,7 @@ cd ~/.local/src/suck && sh sucklessUpdate && cd "$CURDIR" || exit
# Setting up Neovim
## Linking Neovim to Vim
ln -s /usr/bin/nvim ~/.local/bin/vim
+ln -s /usr/bin/iceweasel ~/.local/bin/firefox
## Installing Neovim Plugin Manager (Vim Plug)
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
diff --git a/man/.local/man/dots.1 b/man/.local/man/dots.1
new file mode 100644
index 0000000..0cc6192
--- /dev/null
+++ b/man/.local/man/dots.1
@@ -0,0 +1,205 @@
+.TH "DOTS" "1" "August 2021" "LINUX" "User Manual"
+.SH KEYBINDS
+.TP
+\fBMODKEY \fR
+windows key
+.TP
+\fBMODKEY \fR+ \fBJ\fR
+navigate down the stack
+.TP
+\fBMODKEY \fR+ \fBK\fR
+navigate up the stack
+.TP
+\fBMODKEY \fR+ \fBCTRL \fR+ \fBP\fR
+promote window to master stack
+.TP
+\fBMODKEY \fR+ \fBCTRL \fR+ \fBD\fR
+demote window from master stack
+.TP
+\fBMODKEY \fR+ \fBCTRL \fR+ \fBH\fR
+decrease master stack width
+.TP
+\fBMODKEY \fR+ \fBCTRL \fR+ \fBL\fR
+increase master stack width
+.TP
+\fBMODKEY \fR+ \fBTAB\fR
+switch between last open tag
+.TP
+\fBMODKEY \fR+ \fBSPACE\fR
+pop window to top of master stack
+.TP
+\fBMODKEY \fR+ \fBSHIFT \fR+ \fBQ\fR
+kill window
+.TP
+\fBMODKEY \fR+ \fBSHIFT \fR+ \fBX\fR
+kill window manager
+.TP
+\fBMODKEY \fR+ \fBSHIFT \fR+ \fBR\fR
+restart window manager
+.TP
+\fBMODKEY \fR+ \fB[UP\fB, DOWN\fB, LEFT\fB, RIGHT\fB]\fR
+move floating window [up, down, left, right]
+.TP
+\fBMODKEY \fR+ \fBCTRL \fR+ \fB[UP\fB, DOWN\fB, LEFT\fB, RIGHT\fB]\fR
+resize floating window
+.TP
+\fBMODKEY \fR+ \fBH\fR
+switch to tag to the left
+.TP
+\fBMODKEY \fR+ \fBL\fR
+switch to tag to the right
+.TP
+\fBMODKEY \fR+ \fBCOMMA\fR
+switch to monitor to the left
+.TP
+\fBMODKEY \fR+ \fBPERIOD\fR
+switch to monitor to the right
+.TP
+\fBMODKEY \fR+ \fBSHIFT \fR+ \fBH\fR
+send window to tag to the left
+.TP
+\fBMODKEY \fR+ \fBSHIFT \fR+ \fBL\fR
+send window to tag to the right
+.TP
+\fBMODKEY \fR+ \fBSHIFT \fR+ \fBCOMMA\fR
+send window to monitor to the left
+.TP
+\fBMODKEY \fR+ \fBSHIFT \fR+ \fBPERIOD\fR
+send window to monitor to the right
+.TP
+\fBMODKEY \fR+ \fBB\fR
+toggle status bar
+.TP
+\fBMODKEY \fR+ \fB0\fR
+view windows from all tags
+.TP
+\fBMODKEY \fR+ \fBSHIFT \fR+ \fB0\fR
+make window visible on all tags
+.TP
+\fBMODKEY \fR+ \fB[1\fB-9\fB]\fR
+view tag [1-9]
+.TP
+\fBMODKEY \fR+ \fBSHIFT \fR+ \fB[1\fB-9\fB]\fR
+send window to tag [1-9]
+.TP
+\fBMODKEY \fR+ \fBALT \fR+ \fB[1\fB-7\fB]\fR
+set a custom layout [1-7]
+.TP
+\fBMODKEY \fR+ \fBALT \fR+ \fBSPACE\fR
+set window to floating
+.TP
+\fBMODKEY \fR+ \fBD\fR
+open dmenu prompt
+.TP
+\fBMODKEY \fR+ \fBRETURN\fR
+open terminal
+.TP
+\fBMODKEY \fR+ \fBW\fR
+open web browser
+.TP
+\fBMODKEY \fR+ \fBF\fR
+open file manager
+.TP
+\fBMODKEY \fR+ \fBN\fR
+open rss feed
+.TP
+\fBMODKEY \fR+ \fBSHIFT \fR+ \fBD\fR
+open dotfiles documentation
+.TP
+\fBMODKEY \fR+ \fBE\fR
+open emoji/glyphs menu
+.TP
+\fBMODKEY \fR+ \fBSHIFT \fR+ \fBO\fR
+open monitor output selector
+.TP
+\fBMODKEY \fR+ \fBM\fR
+open music selector
+.TP
+\fBMODKEY \fR+ \fBC\fR
+open power menu
+.TP
+\fBMODKEY \fR+ \fBSHIFT \fR+ \fBF\fR
+open flatpak list
+.TP
+\fBPRINT SCREEN\fR
+open screenshot menu
+.TP
+\fBMODKEY \fR+ \fBPRINT SCREEN\fR
+takes a quick screenshot
+.TP
+\fBMODKEY \fR+ \fBF1\fR
+toggles audio mute
+.TP
+\fBMODKEY \fR+ \fBF2\fR
+decreases volume
+.TP
+\fBMODKEY \fR+ \fBF3\fR
+increases volume
+.TP
+\fBMODKEY \fR+ \fBF4\fR
+toggles microphone mute
+.TP
+\fBMODKEY \fR+ \fBF5\fR
+decreases backlight intensity
+.TP
+\fBMODKEY \fR+ \fBF6\fR
+increases backlight intensity
+.TP
+\fBMODKEY \fR+ \fBF7\fR
+toggles bluelight filter
+.TP
+\fBMODKEY \fR+ \fBF8\fR
+opens screerecord menu
+.TP
+\fBMODKEY \fR+ \fBF9\fR
+pause/play music
+.TP
+\fBMODKEY \fR+ \fBF9\fR
+pause/play music
+.TP
+\fBMODKEY \fR+ \fBF10\fR
+stop music
+.TP
+\fBMODKEY \fR+ \fBF11\fR
+skip previous track
+.TP
+\fBMODKEY \fR+ \fBF11\fR
+skip next track
+
+.SH ENVIRONMENT
+.TP
+\fBEDITOR\fR
+default plain text editor
+.TP
+\fBTERMINAL\fR
+default terminal program
+.TP
+\fBBROWSER\fR
+default web browser
+.TP
+\fBREADER\fR
+default pdf visualizer
+.TP
+\fBFILE\fR
+default file manager
+.TP
+\fBNEWS\fR
+default rss reader
+.TP
+\fBDOCS\fR
+default documentation command
+.TP
+\fBSUCK\fR
+default suckless configurations path
+.TP
+\fBPASSWORDS\fR
+default passwords file path
+.TP
+\fBWALLPAPER\fR
+default wallpaper path
+.TP
+\fBSESSION\fR
+default graphical session
+
+.SH AUTHOR
+Written by Rafael Marçalo.
diff --git a/scripts/.local/bin/colorset b/scripts/.local/bin/colorset
index 0368897..1fbaffe 100755
--- a/scripts/.local/bin/colorset
+++ b/scripts/.local/bin/colorset
@@ -16,11 +16,11 @@ fi
convert "$1" "$SUCK"/colors/wallpaper.png
# Setting the new colorscheme based on the wallpaper and making some color tweaks
-cp ~/.cache/wal/colors-wal-dmenu.h "$SUCK"/colors/dmenu/colors.h
-cp ~/.cache/wal/colors-wal-st.h "$SUCK"/colors/st/colors.h
+cp -rf ~/.cache/wal/colors-wal-dmenu.h "$SUCK"/colors/dmenu/colors.h
+cp -rf ~/.cache/wal/colors-wal-st.h "$SUCK"/colors/st/colors.h
head -7 ~/.cache/wal/colors-wal-dwm.h > "$SUCK"/colors/dwm/colors.h
sed -i s/"$(grep norm_border "$SUCK"/colors/dwm/colors.h | cut -d# -f 2 | cut -d\" -f 1)"/"$(grep black "$SUCK"/colors/st/colors.h | head -1 | cut -d# -f 2 | cut -d\" -f 1)"/g "$SUCK"/colors/dwm/colors.h
-cp ~/.cache/wal/colors-wal-tabbed.h "$SUCK"/colors/tabbed/colors.h
+cp -rf ~/.cache/wal/colors-wal-tabbed.h "$SUCK"/colors/tabbed/colors.h
# Recompiling Suckless Programs with new colorscheme
cp -rf "$SUCK"/colors/* "$SUCK"
diff --git a/scripts/.local/bin/manuals b/scripts/.local/bin/manuals
index b59e3ca..44279f5 100755
--- a/scripts/.local/bin/manuals
+++ b/scripts/.local/bin/manuals
@@ -3,4 +3,4 @@
# without the requiring a cronjob to run mandb
MANPATH=/usr/share/man
-find "$MANPATH" -type f -name "*.bz2" -printf '%f\n' | sed s:'.bz2'::g | sort | uniq | dmenu -i -p "Manual: "| xargs -I {} "$TERMINAL" -e man {}
+find "$MANPATH" -type f -printf '%f\n' | sed 's:.bz2::g;s:.gz::g' | sort | uniq | dmenu -i -p "Manual: "| xargs -I {} "$TERMINAL" -e man {}
diff --git a/shell/.config/shell/env b/shell/.config/shell/env
index dcc1b86..d797376 100755
--- a/shell/.config/shell/env
+++ b/shell/.config/shell/env
@@ -3,15 +3,16 @@
# Profile file. Runs on login. Environmental variables are set here.
# Adds ~/.local/bin to $PATH
export XDG_DATA_HOME="$HOME"/.local/share
-export PATH="$HOME/.local/bin:"$HOME"/.local/share/android-sdk:$PATH"
+export PATH="$HOME/.local/bin:$HOME/.local/share/android-sdk:$PATH"
# Default programs
export EDITOR="nvim"
export TERMINAL="st"
-export BROWSER="qutebrowser"
+export BROWSER="firefox"
export READER="zathura"
export FILE="vifmrun"
-export NEWS="st -e newsboat"
+export NEWS="newsboat"
+export DOCS="man -l $HOME/.local/man/dots.1"
# Home directory clean-up
export SUCK="$HOME"/.local/src/suck
@@ -33,7 +34,7 @@ export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
export PASSWORDS="$XDG_DATA_HOME"/pass/Passwords.kdbx
export WALLPAPER="$XDG_CONFIG_HOME"/wallpaper/wallpaper.png
export QT_QPA_PLATFORMTHEME=qt5ct
-export $(dbus-launch)
+export "$(dbus-launch)"
#Session Selection
export SESSION=dwm