aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-03-12 17:00:07 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-03-12 17:00:07 +0100
commitdcdd9a728bba37542b4c08ebe27f7500f7f96d6f (patch)
tree15ebd6663ae7c2d546e88c7e5b74a3e01ba28e89
parente21a6b8e41c739d0e35c4daece65b3e46d7860c4 (diff)
Update
-rw-r--r--.Xdefaults1
-rw-r--r--.Xresources1
-rw-r--r--.bashrc16
-rw-r--r--.config/aliasrc9
-rw-r--r--.config/discord/discord.css469
-rw-r--r--.config/i3/config42
-rw-r--r--.profile3
-rw-r--r--etc/i3status.conf33
8 files changed, 71 insertions, 503 deletions
diff --git a/.Xdefaults b/.Xdefaults
index 8fc4ba6..64d2594 100644
--- a/.Xdefaults
+++ b/.Xdefaults
@@ -5,3 +5,4 @@ xterm*pointerShape: xterm
xterm*pointerColor: magenta
xterm*faceSize: 12
xterm*faceName: wts11
+Sxiv.background: #000000
diff --git a/.Xresources b/.Xresources
new file mode 100644
index 0000000..b815be1
--- /dev/null
+++ b/.Xresources
@@ -0,0 +1 @@
+Sxiv.background: #000000
diff --git a/.bashrc b/.bashrc
index f43a0f1..cb17c12 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,8 +1,14 @@
stty -ixon # Disable ctrl-s and ctrl-q.
-shopt -s autocd #Allows you to cd into directory merely by typing the directory name.
+shopt -s autocd cdspell checkjobs extglob
+
+#autocd : Allows you to cd into directory merely by typing the directory name.
+#cdspell : minor errors in the spelling of a directory component in a cd command are corrected
+#checkjobs : bash lists the status of any stopped and running jobs before exiting an interactive shell
+#extglob : extended globing, advanced pattern matching
+
HISTSIZE= HISTFILESIZE= # Infinite history.
-export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 0)\]\t \[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]"
+PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 0)\]\t \[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" ; export PS1
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc"
@@ -20,8 +26,4 @@ cat /home/mas/TODO.leny
LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*.gba=1;32;45:*.wbfs=1;32;45:';
export LS_COLORS
-PATH="/home/mas/.local/usr/bin:/home/mas/perl5/bin${PATH:+:${PATH}}"; export PATH;
-PERL5LIB="/home/mas/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
-PERL_LOCAL_LIB_ROOT="/home/mas/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
-PERL_MB_OPT="--install_base \"/home/mas/perl5\""; export PERL_MB_OPT;
-PERL_MM_OPT="INSTALL_BASE=/home/mas/perl5"; export PERL_MM_OPT;
+HISTCONTROL="ignorespace"
diff --git a/.config/aliasrc b/.config/aliasrc
index af8948d..f99e596 100644
--- a/.config/aliasrc
+++ b/.config/aliasrc
@@ -1,10 +1,10 @@
#!/bin/sh
-alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
+alias mpv='mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)' \
xi="sudo xbps-install" \
xr="sudo xbps-remove" \
xq="xbps-query" \
- v="$EDITOR" \
+ v='$EDITOR' \
ls="ls -hN --color=auto --group-directories-first" \
grep="grep --color=auto" \
diff="diff --color=auto" \
@@ -12,7 +12,7 @@ alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
cat='bat' \
bat_pow='sudo upower -i /org/freedesktop/UPower/devices/battery_BAT0' \
la='ls -A' \
- l='ls' \
+ l='ls -1' \
ll='ls -lt' \
display='sxiv' \
xbacklight='sudo xbacklight' \
@@ -27,6 +27,7 @@ alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
rmac='rmac.py' \
vv='cd ~/Videos && ls -A *' \
pp='cd ~/Pictures && ls -A *' \
- mm='cd ~/Music && ls -A *'
+ mm='cd ~/Music && ls -A !(data-music)' \
+ ipa='ip -c -h -s a'
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present.
diff --git a/.config/discord/discord.css b/.config/discord/discord.css
deleted file mode 100644
index 243ccd7..0000000
--- a/.config/discord/discord.css
+++ /dev/null
@@ -1,469 +0,0 @@
-body {
- font-family: cursive;
- font-weight: bold;
- font-style: normal;
- font-variant: small-caps;
- font-stretch: ultra-expanded;
-}
-
-.messages-3amgkR {
- background-color: #0a0413 !important;
-}
-
-.panels-j1Uci_,
-.scrollableContainer-2NUZem,
-.scroller-2TZvBN,
-.searchBar-3dMhjb {
- background-color: #090411 !important;
-}
-
-.theme-dark {
- background-color: #0a0413 !important;
-}
-
-.container-PNkimc {
- background-color: #090411 !important;
-}
-
-.foreground-2W-aJk {
- fill: #5AB1E0 !important;
-}
-
-.nameUnreadText-DfkrI4,
-.nameUnreadVoice-EVo-wI {
- color: #5AB1E0 !important;
-}
-
-.nameDefaultText-24KCy5,
-.nameDefaultVoice-3WUH7s,
-.nameLockedText-3pqQcL,
-.nameLockedVoice-26MhB1 {
- color: rgba(237, 198, 209, 0.5) !important;
-}
-
-.iconCollapsed-3hFp_8,
-.iconDefault-3Gr8d2,
-.nameCollapsed-34uFWo,
-.nameDefault-2DI02H {
- color: rgba(237, 198, 209, 0.7) !important;
-}
-
-.nameMutedText-3Vj4bM,
-.nameMutedVoice-3oxyQZ {
- color: rgba(237, 198, 209, 0.2) !important;
-}
-
-.unread-1Dp-OI {
- background: #5AB1E0 !important;
-}
-
-.contentSelectedText-3wUhMi {
- background: rgba(52, 74, 169, 0.2) !important;
-}
-
-.contentHoveredText-2D9B-x,
-.contentHoveredVoice-3p_NEO:active,
-.contentSelectedVoice-1WDIBM:active {
- background: rgba(52, 74, 169, 0.1) !important;
-}
-
-.container-1UB9sr {
- background-color: #090411 !important;
- border-bottom: 1px solid rgba(52, 74, 169, 0.1) !important;
-}
-
-.container-2Thooq {
- background-color: #090411 !important;
-}
-
-.container-2Thooq .horizontal-1ae9ci button {
- fill: #344AA9 !important;
-}
-
-.unread-1xRYoj {
- background-color: rgba(90, 177, 224, 0.75) !important;
-}
-
-.content, .content-yTz4x3 {
- background-color: #0a0413 !important;
-}
-
-.inner-zqa7da {
- background-color: rgba(52, 74, 169, 0.1) !important;
-}
-
-.attachButtonPlus-rUdX-B {
- fill: #344AA9 !important;
-}
-
-.chat form,
-.chat-3bRxxu form {
- background-color: #0a0413 !important;
- box-shadow: 0 -1px 0 rgba(90, 177, 224, 0.1) !important;
-}
-
-.has-more button,
-.hasMore-3e72_v button {
- background-color: #0a0413 !important;
- border-color: transparent !important;
-}
-
-.jump-to-present-bar {
- background-color: rgba(52, 74, 169, 0.6) !important;
-}
-
-.inner-zqa7da {
- background-color: rgba(52, 74, 169, 0.1) !important;
-}
-
-.messages .divider > span,
-.divider-3gKybi > span {
- background-color: #0a0413 !important;
-}
-
-.messages .divider:not(.red) div,
-.divider-3gKybi:not(.red) div {
- background: rgba(52, 74, 169, 0.3) !important;
-}
-
-.messages .divider:not(.red) span,
-.divider-3gKybi:not(.red) span {
- color: rgba(52, 74, 169, 0.6) !important;
-}
-
-.messages .divider.divider-red > span,
-.divider-3gKybi.divider-red > span {
- color: #5AB1E0 !important;
-}
-
-.messages .divider.divider-red > div,
-.divider-3gKybi.divider-red > div {
- background: #5AB1E0 !important;
-}
-
-.new-messages-bar,
-.newMessagesBar-mujexs {
- background-color: rgba(90, 177, 224, 0.9) !important;
-}
-
-.messages-wrapper,
-.messagesWrapper-3lZDfY {
- background-color: #0a0413 !important;
-}
-
-.message-group .markup, .messagesPopoutWrap-1MQ1bW .messagesPopout-24nkyi .message-group .markup,
-.message-group .markup-2BOw-j,
-.messagesPopoutWrap-1MQ1bW .messagesPopout-24nkyi .message-group .markup-2BOw-j {
- color: #edc6d1 !important;
-}
-
-.message-group .markup code.inline,
-.message-group .markup-2BOw-j code.inline {
- background-color: #100f2a !important;
-}
-
-.message-group .markup pre, .messagesPopoutWrap-1MQ1bW .messagesPopout-24nkyi .message-group .markup pre,
-.message-group .markup-2BOw-j pre,
-.messagesPopoutWrap-1MQ1bW .messagesPopout-24nkyi .message-group .markup-2BOw-j pre {
- border-color: #0a0413 !important;
-}
-
-.message-group .markup pre code, .messagesPopoutWrap-1MQ1bW .messagesPopout-24nkyi .message-group .markup pre code,
-.message-group .markup-2BOw-j pre code,
-.messagesPopoutWrap-1MQ1bW .messagesPopout-24nkyi .message-group .markup-2BOw-j pre code {
- background-color: #0e0b22 !important;
-}
-
-.message-group .embedInner-1-fpTo, .messagesPopoutWrap-1MQ1bW .messagesPopout-24nkyi .message-group .embedInner-1-fpTo {
- background-color: #0e0b22 !important;
-}
-
-.message-group .mentioned .message-text {
- background-color: rgba(90, 177, 224, 0.1) !important;
-}
-
-.message-group .mentioned .message-text:after {
- background: transparent !important;
- border-left-color: #5AB1E0 !important;
-}
-
-.members-1998pB {
- background-color: #090411 !important;
-}
-
-.typing-2GQL18 {
- background-color: #0a0413 !important;
-}
-
-.title-3qD0b- {
- background-color: #090411 !important;
-}
-
-.title-3qD0b- .search-bar {
- background-color: rgba(52, 74, 169, 0.2) !important;
-}
-
-.guilds-wrapper,
-.guildsWrapper-5TJh6A,
-.wrapper-1Rf91z {
- background-color: #090411 !important;
-}
-
-.guilds-add,
-.circleIconButton-jET_ig {
- border: 1px dashed rgba(52, 74, 169, 0.3) !important;
- background: inherit !important;
- color: rgba(52, 74, 169, 0.4) !important;
-}
-
-.guild .guild-inner,
-.guild-1EfMGQ .guild-inner,
-.container-2td-dC .wrapper-2lTRaf {
- background: inherit !important;
-}
-
-.guild.unread:before,
-.guild-1EfMGQ.unread-qLkInr:before,
-.wrapper-232cHJ {
- background: rgba(90, 177, 224, 0.65) !important;
-}
-
-.friends-online,
-.friendsOnline-_wi_fM,
-.friendsOnline-2JkivW {
- color: #344AA9 !important;
-}
-
-.menu-Sp6bN1 {
- background: #0a0413 !important;
-}
-
-.menu-Sp6bN1 .separator-2zcjq8 {
- background: rgba(52, 74, 169, 0.4) !important;
-}
-
-.messagesPopoutWrap-1MQ1bW {
- background-color: #090411 !important;
-}
-
-.messagesPopoutWrap-1MQ1bW .header-ykumBX {
- background: #0a0413 !important;
-}
-
-.messagesPopoutWrap-1MQ1bW .footer-1kmXd4 {
- background: #0a0413 !important;
-}
-
-.messagesPopoutWrap-1MQ1bW .messagesPopout-24nkyi .message-group {
- background-color: #0a0413 !important;
-}
-
-.messagesPopoutWrap-1MQ1bW .messagesPopout-24nkyi .message-group .actionButtons-1sUUug .jumpButton-3DTcS_ {
- background-color: rgba(52, 74, 169, 0.6) !important;
-}
-
-.spinner-wandering-cubes .spinner-item {
- background-color: #344AA9 !important;
-}
-
-.scroller-wrap .scroller::-webkit-scrollbar-thumb, .scroller-wrap .scroller::-webkit-scrollbar-track-piece,
-.scroller-wrap .scroller-2FKFPG::-webkit-scrollbar-thumb,
-.scroller-wrap .scroller-2FKFPG::-webkit-scrollbar-track-piece,
-.scrollerThemed-2oenus.themedWithTrack-q8E3vB .scroller-2FKFPG::-webkit-scrollbar-thumb,
-.scrollerThemed-2oenus.themedWithTrack-q8E3vB .scroller-2FKFPG::-webkit-scrollbar-track-piece {
- border-color: rgba(52, 74, 169, 0.4) !important;
-}
-
-.scroller-wrap .scroller::-webkit-scrollbar-thumb,
-.scroller-wrap .scroller-2FKFPG::-webkit-scrollbar-thumb,
-.scrollerThemed-2oenus.themedWithTrack-q8E3vB .scroller-2FKFPG::-webkit-scrollbar-thumb {
- background-color: #151639 !important;
-}
-
-.scroller-wrap .scroller::-webkit-scrollbar-track-piece,
-.scroller-wrap .scroller-2FKFPG::-webkit-scrollbar-track-piece,
-.scrollerThemed-2oenus.themedWithTrack-q8E3vB .scroller-2FKFPG::-webkit-scrollbar-track-piece {
- background-color: #0a0413 !important;
-}
-
-.scrollbar-2rkZSL {
- background-color: #090411 !important;
-}
-
-.scrollbar-2rkZSL .track-1JN30G {
- background-color: #090411 !important;
-}
-
-.scrollbar-2rkZSL .pad-29zQak {
- background-color: #090411 !important;
-}
-
-.scrollbar-2rkZSL .thumb-2JwNFC {
- background-color: rgba(52, 74, 169, 0.1) !important;
-}
-
-.channel.selected a,
-.channel-2QD9_O.selected-1HYmZZ a {
- background: rgba(52, 74, 169, 0.2) !important;
-}
-
-.channel:hover a,
-.channel-2QD9_O:hover a {
- background: rgba(52, 74, 169, 0.1) !important;
-}
-
-#friends,
-.container-3gCOGc {
- background-color: #0a0413 !important;
-}
-
-#friends .headerBar-UHpsPw,
-.container-3gCOGc .headerBar-UHpsPw {
- background: #090411 !important;
-}
-
-#friends .friends-table,
-#friends .friendsTable-133bsv,
-.container-3gCOGc .friends-table,
-.container-3gCOGc .friendsTable-133bsv {
- background-color: #0a0413 !important;
-}
-
-#friends .friends-table .friends-row:hover,
-#friends .friends-table .friendsRow-2yicud:hover,
-#friends .friendsTable-133bsv .friends-row:hover,
-#friends .friendsTable-133bsv .friendsRow-2yicud:hover,
-.container-3gCOGc .friends-table .friends-row:hover,
-.container-3gCOGc .friends-table .friendsRow-2yicud:hover,
-.container-3gCOGc .friendsTable-133bsv .friends-row:hover,
-.container-3gCOGc .friendsTable-133bsv .friendsRow-2yicud:hover {
- background-color: rgba(52, 74, 169, 0.1) !important;
-}
-
-#friends .friends-table .friends-row .friends-column-actions .friends-action,
-#friends .friends-table .friendsRow-2yicud .friends-column-actions .friends-action,
-#friends .friendsTable-133bsv .friends-row .friends-column-actions .friends-action,
-#friends .friendsTable-133bsv .friendsRow-2yicud .friends-column-actions .friends-action,
-.container-3gCOGc .friends-table .friends-row .friends-column-actions .friends-action,
-.container-3gCOGc .friends-table .friendsRow-2yicud .friends-column-actions .friends-action,
-.container-3gCOGc .friendsTable-133bsv .friends-row .friends-column-actions .friends-action,
-.container-3gCOGc .friendsTable-133bsv .friendsRow-2yicud .friends-column-actions .friends-action {
- background-color: rgba(52, 74, 169, 0.1) !important;
-}
-
-#friends .friends-table .friends-row .friends-column-actions .friends-action:hover,
-#friends .friends-table .friendsRow-2yicud .friends-column-actions .friends-action:hover,
-#friends .friendsTable-133bsv .friends-row .friends-column-actions .friends-action:hover,
-#friends .friendsTable-133bsv .friendsRow-2yicud .friends-column-actions .friends-action:hover,
-.container-3gCOGc .friends-table .friends-row .friends-column-actions .friends-action:hover,
-.container-3gCOGc .friends-table .friendsRow-2yicud .friends-column-actions .friends-action:hover,
-.container-3gCOGc .friendsTable-133bsv .friends-row .friends-column-actions .friends-action:hover,
-.container-3gCOGc .friendsTable-133bsv .friendsRow-2yicud .friends-column-actions .friends-action:hover {
- background-color: rgba(52, 74, 169, 0.2) !important;
-}
-
-.quickswitcher-3JagVE {
- background-color: #0a0413 !important;
-}
-
-.quickswitcher-3JagVE .input-2VB9rf {
- background-color: rgba(52, 74, 169, 0.1) !important;
-}
-
-.quickswitcher-3JagVE .resultFocused-3aIoYe {
- background-color: rgba(52, 74, 169, 0.2) !important;
-}
-
-.quickswitcher-3JagVE .keybindShortcut-1BD6Z1 span {
- background-color: #5AB1E0 !important;
- box-shadow: inset 0 -4px 0 rgba(52, 74, 169, 0.6) !important;
-}
-
-.searchPopout-1vUlP3 {
- background-color: #090411 !important;
-}
-
-.searchPopout-1vUlP3 .option-96V44q.selected-rZcOL- {
- background-color: rgba(52, 74, 169, 0.1) !important;
-}
-
-.autocomplete-1vrmpx {
- background-color: #090411 !important;
-}
-
-.autocomplete-1vrmpx .selectorSelected-1_M1WV {
- background-color: rgba(52, 74, 169, 0.1) !important;
-}
-
-.headerPlaying-j0WQBV,
-.headerNormal-T_seeN {
- background-color: #344AA9 !important;
-}
-
-.body-3iLsc4,
-.footer-1fjuF6 {
- background-color: #090411 !important;
-}
-
-.quickMessage-1yeL4E {
- background-color: rgba(52, 74, 169, 0.1) !important;
-}
-
-.theme-dark.contextMenu-HLZMGh {
- background-color: #090411 !important;
-}
-
-.theme-dark.contextMenu-HLZMGh .itemSubMenu-1vN_Yn {
- background-color: inherit !important;
-}
-
-.theme-dark.contextMenu-HLZMGh .itemGroup-1tL0uz {
- border-color: rgba(52, 74, 169, 0.05) !important;
-}
-
-.theme-dark.contextMenu-HLZMGh .bar-2Qqk5Z {
- background-color: #0a0413 !important;
-}
-
-.theme-dark.contextMenu-HLZMGh .bar-2Qqk5Z .barFill-23-gu- {
- background-color: #344AA9 !important;
-}
-
-.search-results-wrap {
- background-color: #090411 !important;
-}
-
-.search-results-wrap .search-header {
- background-color: inherit !important;
-}
-
-.search-results-wrap .channel-separator .channel-name {
- background-color: #090411 !important;
-}
-
-.search-results-wrap .channel-separator:before {
- border-color: rgba(52, 74, 169, 0.2) !important;
-}
-
-.search-results-wrap .search-result:before, .search-results-wrap .search-result:after {
- background-image: linear-gradient(0deg, rgba(52, 74, 169, 0), #090411) !important;
-}
-
-.search-results-wrap .search-result.expanded .search-result-message.hit {
- background-color: #0a0413 !important;
- border-bottom: 2px solid #0a0413 !important;
- border-top: 2px solid #0a0413 !important;
-}
-
-.search-results-wrap .search-result .search-result-message.hit {
- border: 2px solid #0a0413 !important;
-}
-
-.search-results-wrap .search-result .hit {
- background-color: #0a0413 !important;
- box-shadow: 0 0 10px 6px #0a0413 !important;
-}
-
-.search-results-wrap .action-buttons .jump-button {
- background-color: rgba(52, 74, 169, 0.8) !important;
-}
diff --git a/.config/i3/config b/.config/i3/config
index 831a4f3..ebfca6d 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -176,7 +176,6 @@ bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
-#personal colors
bar {
colors {
background #040217
@@ -194,17 +193,19 @@ bar {
status_command i3status
}
-###PERSONAL EDITS###
-
+# Firefox - (W)eb browser
bindsym $mod+Shift+W exec notify-send -t 5000 -i /usr/share/icons/hicolor/256x256/apps/firefox.png "Opening" "<span color='#ff6600' font='26px'><b>firefox</b></span>" ; exec firefox
+# Power off - X
bindsym $mod+Shift+X exec "i3-nagbar -t warning -f fixed -m 'You pressed the shutting shortcut. Do you really eant to shut you computer?' -B 'Yes, shut it.' 'sudo poweroff'"
+# Reboot - BackSpace
bindsym $mod+Shift+BackSpace exec "i3-nagbar -t warning -f fixed -m 'You pressed the restarting shortcut. Do you really eant to restart you computer?' -B 'Yes, restart it.' 'sudo reboot'"
+# (T)eams
bindsym $mod+Shift+T exec notify-send -t 5000 -i /home/mas/Pictures/icons/teams.png "Opening" "<span color='purple' font='26px'><b>Teams</b></span>" ; exec teams
+# (P)assword manager
bindsym $mod+Shift+P exec passmenu
-
+# Set the bg wallpaper
exec --no-startup-id feh --bg-scale /home/mas/Pictures/retrowave-pyramid.png
-#exec --no-startup-id nox $(cat /home/mas/.config/nox/config)
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 1 ; exec notify-send -t 500 "Brightness : $(xbacklight -get)" # increase screen brightness
@@ -219,12 +220,11 @@ client.placeholder #20202D #20202D #FFFFFF #0C1746 #3C3C54
client.background #D52C70
-#suspend and hibernate
+# suspend and hibernate
bindsym $mod+Shift+S exec "i3-nagbar -t warning -f fixed -m 'You pressed the suspending shortcut. Do you really want to suspend your computer?' -B 'Yes, suspend it.' 'sudo zzz'"
-
bindsym $mod+Shift+Delete exec "i3-nagbar -t warning -f fixed -m 'You pressed the hibernating shortcut. Do you really want to put your computer to sleep?' -B 'Yes, do it.' 'sudo ZZZ'"
-#a bit of trolling
+# What happens when we hit the power button
bindsym XF86PowerOff exec xcowsay $(fortune -os)
######GAPS######
@@ -349,11 +349,13 @@ mode "$mode_gaps_left" {
bindsym Escape mode "default"
}
-gaps inner 15
-######
+gaps inner 10
+###GAPS###
+# (N)ewsboat
bindsym $mod+Shift+N exec xterm -e "newsboat"
+# (D)iscord
bindsym $mod+Shift+D exec notify-send -t 5000 -i /home/mas/Pictures/icons/discord.png "Opening" "<span color='#738ADB' font='26px'><b>Discord</b></span>" ; exec Discord
# Media Player Controls
@@ -363,16 +365,32 @@ bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioNext exec playerctl next
#bindsym XF86AudioPrev exec playerctl previous
-#screenshot
+# Screenshot with scrot
bindsym Print exec notify-send -t 5000 -i /home/mas/Pictures/icons/screenshot.png "Launching" "<span color='cyan' font='26px'><b>scrot</b></span>" ; exec scrot --silent --exec 'mv $f ~/Pictures && sxiv ~/Pictures/$f'
-bindsym $mod+Shift+C exec notify-send -t 5000 -i /usr/share/icons/hicolor/256x256/apps/chromium.png "Opening" "<span color='#5D7FD2' font='26px'><b>chromium</b></span>" ; exec chromium
+# (C)hromium
+bindsym $mod+Shift+C exec notify-send -t 5000 -i /usr/share/icons/hicolor/256x256/apps/chromium.png "Opening" "<span color='#5D7FD2' font='26px'><b>chromium</b></span>" ; exec chromium
+# Mount/Umount on the drives - F10/F11
bindsym $mod+F10 exec dmenumount
bindsym $mod+F11 exec dmenuumount
+# (V)irtualBox
bindsym $mod+Shift+V exec notify-send -t 5000 -i /usr/share/icons/hicolor/128x128/mimetypes/virtualbox.png "Launching" "<span color='blue' font='26px'><b>VirtualBox</b></span>" ; exec VirtualBox
+# Thunderbird - (M)ail
bindsym $mod+Shift+M exec notify-send -t 5000 -i /usr/share/icons/hicolor/256x256/apps/thunderbird.png "Launching" "<span color='blue' font='26px'><b>Thunderbird</b></span>" ; exec thunderbird
+
+# US and FR keyboard mapping - (U)S/(F)R
bindsym $mod+Shift+U exec setxkbmap us && exec notify-send -t 5000 "US xkbmap"
bindsym $mod+Shift+F exec setxkbmap fr && exec notify-send -t 5000 "FR xkbmap"
+
+# Network manager - (I)nternet
bindsym $mod+Shift+I exec networkmanager_dmenu
+
+#Krita - F1
+bindsym $mod+Shift+F1 exec notify-send -t 5000 -i /usr/share/icons/hicolor/1024x1024/apps/krita.png "Lauching" "<span color='pink' font='26px'><b>Krita</b></span>" && exec krita
+
+#remove the header of the window
+default_border pixel 2
+
+bindsym $mod+Shift+F10 exec i3-msg exit
diff --git a/.profile b/.profile
index 633492b..55e3f69 100644
--- a/.profile
+++ b/.profile
@@ -2,8 +2,7 @@
# Profile file. Runs on login. Environmental variables are set here.
-# Adds `~/.local/bin` to $PATH
-export PATH="$PATH:$HOME/.local/bin/:$HOME/py/"
+export PATH="$PATH:$HOME/.local/bin:$HOME/py:$HOME/.local/usr/local/bin:$HOME/.local/usr/bin"
# Default programs:
export EDITOR="nvim"
diff --git a/etc/i3status.conf b/etc/i3status.conf
index b3c138a..d1b0a5a 100644
--- a/etc/i3status.conf
+++ b/etc/i3status.conf
@@ -17,12 +17,12 @@ general {
#order += "ipv6"
order += "wireless _first_"
order += "ethernet _first_"
-order += "battery all"
+order += "battery 0"
order += "disk /"
-#order += "load"
-#order += "memory"
+order += "load"
+order += "memory"
order += "volume master"
-order += "tztime utc"
+order += "tztime local"
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
@@ -39,10 +39,25 @@ battery all {
format_down = "No battery"
status_chr = "⚡ CHR"
status_bat = "🔋 BAT"
+ status_unk = "❓ UNK"
+ status_full = "😈 FULL"
+ path = "/sys/class/power_supply/BAT%d/uevent"
+ low_threshold = 20
+ color_bad="red"
+}
+
+battery 0 {
+ format = "%status %percentage"
+ format_down = "No battery"
+ status_chr = "🔌 CHR"
+ status_bat = "🔋 BAT"
status_unk = "? UNK"
status_full = "☻ FULL"
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 20
+ color_bad="red"
+ last_full_capacity = true
+ integer_battery_capacity = true
}
disk "/" {
@@ -54,14 +69,14 @@ load {
}
memory {
- format = "%used / %available"
- threshold_degraded = "1G"
- format_degraded = "MEMORY < %available"
+ format = "MEM: %available / %total"
+ threshold_degraded = "10%"
+ format_degraded = "MEM: %free"
}
-tztime utc {
+tztime local {
format = "%a %d %b %Y %H:%M:%S"
- timezone = "Etc/UTC"
+ timezone = "Europe/Paris"
}
volume master {