diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/aliasrc | 9 | ||||
-rw-r--r-- | .config/discord/discord.css | 469 | ||||
-rw-r--r-- | .config/i3/config | 42 |
3 files changed, 35 insertions, 485 deletions
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 |