Add mako and update confs
This commit is contained in:
@@ -1,23 +1,9 @@
|
|||||||
alias update='yay -Pw && yay -Sc && yay --editmenu -Syu --sudoloop && yay -c && sudo pacdiff'
|
alias update='yay -Pw && yay -Sc && yay --editmenu -Syu --sudoloop && yay -c \
|
||||||
|
&& sudo pacdiff \
|
||||||
|
; pkill -SIGUSR1 i3status-rs'
|
||||||
alias gemocstudio='PATH=/usr/lib/jvm/java-9-jdk/bin/:$PATH ~/gemoc/GemocStudio'
|
alias gemocstudio='PATH=/usr/lib/jvm/java-9-jdk/bin/:$PATH ~/gemoc/GemocStudio'
|
||||||
alias sl='ls'
|
alias sl='ls'
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
alias cat='ccat -G Keyword="*glay*" -G Decimal="glay" -G Plaintext="glay" --bg=dark'
|
alias cat='ccat -G Keyword="*glay*" -G Decimal="glay" -G Plaintext="glay" --bg=dark'
|
||||||
alias youtube='URL=https://www.youtube.com/watch\?v\=Mvvsa5HAJiI\&list\=RDMM\&start_radio\=1 && PLAYLIST="" && for i in {1..30} ; do URL="https://www.youtube.com"`curl -s -b ~/.config/youtube-dl/youtube.txt $URL | grep "next-playlist-list-item" | sed '\''s/.*href=\"//'\'' | sed '\''s/\".*//'\'' | sed '\''s/\&/\&/g'\''` ; PLAYLIST="$PLAYLIST\n`echo $URL | sed '\''s/\&list.*//'\''`" ; done ; echo "$PLAYLIST" | mpv --playlist=-'
|
alias youtube='URL=https://www.youtube.com/watch\?v\=Mvvsa5HAJiI\&list\=RDMM\&start_radio\=1 && PLAYLIST="" && for i in {1..30} ; do URL="https://www.youtube.com"`curl -s -b ~/.config/youtube-dl/youtube.txt $URL | grep "next-playlist-list-item" | sed '\''s/.*href=\"//'\'' | sed '\''s/\".*//'\'' | sed '\''s/\&/\&/g'\''` ; PLAYLIST="$PLAYLIST\n`echo $URL | sed '\''s/\&list.*//'\''`" ; done ; echo "$PLAYLIST" | mpv --playlist=-'
|
||||||
|
|
||||||
function javaversion() {
|
|
||||||
if [ "$#" -ne 1 ]; then
|
|
||||||
echo "Expected parameter <java_version>"
|
|
||||||
else
|
|
||||||
if [ "$1" -eq 8 ]; then
|
|
||||||
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
|
|
||||||
elif [ "$1" -eq 9 ]; then
|
|
||||||
export JAVA_HOME=/usr/lib/jvm/java-9-jdk
|
|
||||||
elif [ "$1" -eq 10 ]; then
|
|
||||||
export JAVA_HOME=/usr/lib/jvm/java-10-openjdk
|
|
||||||
elif [ "$1" -eq 11 ]; then
|
|
||||||
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
|
|
||||||
fi
|
|
||||||
export PATH=$JAVA_HOME/bin:$PATH
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,51 +0,0 @@
|
|||||||
{
|
|
||||||
"settings": {
|
|
||||||
"stable": {
|
|
||||||
"settings": {
|
|
||||||
"bda-gs-1": true,
|
|
||||||
"bda-gs-2": false,
|
|
||||||
"bda-gs-3": false,
|
|
||||||
"bda-gs-4": false,
|
|
||||||
"bda-gs-5": false,
|
|
||||||
"bda-gs-6": false,
|
|
||||||
"bda-gs-7": false,
|
|
||||||
"bda-gs-8": true,
|
|
||||||
"bda-es-0": false,
|
|
||||||
"bda-es-1": false,
|
|
||||||
"bda-es-2": false,
|
|
||||||
"bda-es-4": false,
|
|
||||||
"bda-es-6": false,
|
|
||||||
"bda-es-7": false,
|
|
||||||
"bda-gs-b": false,
|
|
||||||
"bda-es-8": false,
|
|
||||||
"bda-dc-0": false,
|
|
||||||
"bda-css-0": true,
|
|
||||||
"bda-css-1": false,
|
|
||||||
"bda-es-9": false,
|
|
||||||
"fork-dm-1": false,
|
|
||||||
"fork-ps-1": true,
|
|
||||||
"fork-ps-2": true,
|
|
||||||
"fork-ps-3": true,
|
|
||||||
"fork-ps-4": true,
|
|
||||||
"fork-ps-5": true,
|
|
||||||
"fork-es-2": false,
|
|
||||||
"fork-es-3": false,
|
|
||||||
"fork-wp-1": true,
|
|
||||||
"fork-wp-2": false,
|
|
||||||
"fork-beta": true,
|
|
||||||
"reactDevTools": false,
|
|
||||||
"transparency": true
|
|
||||||
},
|
|
||||||
"plugins": {},
|
|
||||||
"themes": {
|
|
||||||
"Frosted Glass": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"canary": {},
|
|
||||||
"ptb": {}
|
|
||||||
},
|
|
||||||
"version": "0.3.5",
|
|
||||||
"emoteCacheDays": 7,
|
|
||||||
"emoteCacheDate": "2020-09-07T09:08:26.107Z",
|
|
||||||
"bdcustomcss": "I2FwcC1tb3VudCAuY2hhdC0zYlJ4eHUgLm1lc3NhZ2VzV3JhcHBlci0zbFpEZlkgW2NsYXNzKj10aW1lc3RhbXBdLAojYXBwLW1vdW50IC5jaGF0LTNiUnh4dSAubWVzc2FnZXNXcmFwcGVyLTNsWkRmWSAubWVzc2FnZUNvbnRlbnQtMnFXV3hDLAojYXBwLW1vdW50IC5zaWRlYmFyLTJLOHBGaCAuY29udGFpbmVyLVBOa2ltYyAuY29udGFpbmVyRGVmYXVsdC0xWm5BRHEgLndyYXBwZXItMXVjalRkOm5vdCgubW9kZU11dGVkLTNvc3k3aik6bm90KC5tb2RlVW5yZWFkLTF6cEZkQSk6bm90KC5tb2RlU2VsZWN0ZWQtMXpBcEpfKSAuY29udGVudC0zYXRfQVUgLm5hbWUtM19Ec21nLAojYXBwLW1vdW50IC5zaWRlYmFyLTJLOHBGaCAuY29udGFpbmVyLVBOa2ltYyAuY29udGFpbmVyRGVmYXVsdC0xWm5BRHEgLndyYXBwZXItMXVjalRkOm5vdCgubW9kZU11dGVkLTNvc3k3aik6bm90KC5tb2RlVW5yZWFkLTF6cEZkQSk6bm90KC5tb2RlU2VsZWN0ZWQtMXpBcEpfKSAuY29udGVudC0zYXRfQVUgc3ZnLAojYXBwLW1vdW50IC5zaWRlYmFyLTJLOHBGaCAuY2hhbm5lbC0yUUQ5X08gewogICAgY29sb3I6ICM5M2ExYTEgIWltcG9ydGFudDsKfQoKI2FwcC1tb3VudCA6OnNlbGVjdGlvbiwKI2FwcC1tb3VudCAuY2hhdC0zYlJ4eHUgLm1lbnRpb24sCiNhcHAtbW91bnQgLm1lbWJlcnMtMTk5OHBCIC5tZW1iZXItMy1ZWFVlLnNlbGVjdGVkLWFYaFFSNiAucm9sZUNvbG9yLXJ6MnZNMCwKI2FwcC1tb3VudCAubWVtYmVycy0xOTk4cEIgLm1lbWJlci0zLVlYVWUgLmJvdFRhZy0yV1BKNzQsCiNhcHAtbW91bnQgLnNpZGViYXItMks4cEZoIC5jb250YWluZXItUE5raW1jIC5jb250YWluZXJEZWZhdWx0LTFabkFEcS5zZWxlY3RlZC0zN2pfaVUgLmNvbnRlbnQtM2F0X0FVIC5uYW1lLTNfRHNtZywKI2FwcC1tb3VudCAuc2lkZWJhci0ySzhwRmggLmNvbnRhaW5lci1QTmtpbWMgLmNvbnRhaW5lckRlZmF1bHQtMVpuQURxLnNlbGVjdGVkLTM3al9pVSAuY29udGVudC0zYXRfQVUgc3ZnLAojYXBwLW1vdW50IC50b29sdGlwQmxhY2stUFBHNDd6LCAjYXBwLW1vdW50IC50b29sdGlwQnJhbmQtZzAzTno4LCAjYXBwLW1vdW50IC50b29sdGlwUmVkLTgtOU5lUCwKI2FwcC1tb3VudCAuYnViYmxlLTN3ZTJkaSwgI2FwcC1tb3VudCAuc2lkZWJhci0ySzhwRmggLmNvbnRhaW5lci1QTmtpbWMgLmNvbnRhaW5lckRlZmF1bHQtMVpuQURxIC53cmFwcGVyLTF1Y2pUZDpub3QoLm1vZGVNdXRlZC0zb3N5N2opLm1vZGVVbnJlYWQtMXpwRmRBIC5jb250ZW50LTNhdF9BVSAubmFtZS0zX0RzbWcsCiNhcHAtbW91bnQgLnNpZGViYXItMks4cEZoIC5jb250YWluZXItUE5raW1jIC5jb250YWluZXJEZWZhdWx0LTFabkFEcSAud3JhcHBlci0xdWNqVGQ6bm90KC5tb2RlTXV0ZWQtM29zeTdqKS5tb2RlVW5yZWFkLTF6cEZkQSAuY29udGVudC0zYXRfQVUgc3ZnIHsKICAgIGNvbG9yOiAjMDAyYjM2ICFpbXBvcnRhbnQ7CiAgICB0ZXh0LXNoYWRvdzogbm9uZSAhaW1wb3J0YW50Owp9CgojYXBwLW1vdW50IC5zaWRlYmFyLTJLOHBGaCAuY29udGFpbmVyLVBOa2ltYyAuY29udGFpbmVyRGVmYXVsdC0xWm5BRHEgLndyYXBwZXItMXVjalRkOm5vdCgubW9kZU11dGVkLTNvc3k3aikubW9kZVVucmVhZC0xenBGZEEgLmNvbnRlbnQtM2F0X0FVIHsKICAgIGJhY2tncm91bmQ6ICMyNjhiZDIgIWltcG9ydGFudDsKfQoKI2FwcC1tb3VudCAuc2lkZWJhci0ySzhwRmggLmNoYW5uZWwtMlFEOV9PLnNlbGVjdGVkLWFYaFFSNiB7CiAgICBiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQodmFyKC0tQkctZ3JhZGllbnQtZGlyZWN0aW9uKSwgcmdiYSh2YXIoLS1CRy1ncmFkaWVudC1vbmUpLCAxKSAyMCUsIHJnYmEodmFyKC0tQkctZ3JhZGllbnQtdHdvKSwgMSkpOwogICAgY29sb3I6ICMwMDJiMzYgIWltcG9ydGFudDsKICAgIHRleHQtc2hhZG93OiBub25lICFpbXBvcnRhbnQ7Cgp9"
|
|
||||||
}
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
/**
|
|
||||||
* @name Frosted Glass
|
|
||||||
* @author Gibbu#1211
|
|
||||||
* @version 2.0.0
|
|
||||||
* @description Edited with https://gibbu.me/editor/frostedglass | Base theme: Frosted Glass by Gibbu#1211
|
|
||||||
* @invite ZHthyCw
|
|
||||||
* @donate https://paypal.me/IanRGibson
|
|
||||||
* @authorId 174868361040232448
|
|
||||||
* @source https://github.com/Gibbu/BetterDiscord-Themes/tree/master/FrostedGlass
|
|
||||||
* @website https://gibbu.me/editor/frostedglass
|
|
||||||
*/
|
|
||||||
@import url('https://fonts.googleapis.com/css?family=DejaVu+Sans+Mono:300,400,500,600,700,800,900&display=swap');
|
|
||||||
@import url('https://gibbu.github.io/BetterDiscord-Themes/FrostedGlass/base.css');
|
|
||||||
@import url('https://discord-custom-covers.github.io/usrbg/snippets/userPopouts.css');
|
|
||||||
@import url('https://discord-custom-covers.github.io/usrbg/snippets/modals.css');
|
|
||||||
@import url('https://monstrousdev.github.io/themes/addons/user-tags.css');
|
|
||||||
@import url('https://gibbu.github.io/BetterDiscord-Themes/addons/windows-titlebar.css');
|
|
||||||
|
|
||||||
|
|
||||||
:root {
|
|
||||||
|
|
||||||
--background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAADGHpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7ZZbkhshDEX/WUWWgCSEYDk8q7KDLD8XGnvsSTKZqXylyk01DwGS4Ehtu/Hj+3Tf8LAX74JaijlGjyfkkLmgk/z1lF2TD7t+lK3xk9zdJxgiQSvXMMUjH5Az1vORt6OnQK4PivI4E/V5ohxFnI6Bm0fHkNBlwPejqBxFwsdyuMb1WI452eMRzr51fDrtft2qghhHjWQBdWBvFjP6iX0w3Ftfjs7Gee3Teul5P3a3pbh55iEkftfp8lKut+BV1CwZ6zCLfsCooB/2/XoHZHABnudzt8Pfb/Ppbm7tHx73mWOdcHgOg1vvhIH7ZeJdGMRx5PKOXry3W+7eT5D+Hvdm+uCRhbthfvIIE/Hp0OntnbOnOcd1uhIijhzPoW4nIbdRzl5XEOxtEcXwKvq2S0ZJyICGGOu++YrSKBMD8aRAnQpNR2N3GjX4GHiwoWVuLFuWwCJzkwU9rEKTTbJ0hABLQ6jICoQ53fGFtt287TVKsNwJS5mgjLDlr8V9ZtFHZc6VS0Tu5AxdgHmlIdxY5FaNZSBC81yq7gu+leeAPGAFCHVfc8IBi6+Xiqr0FluyQQvWKdorucn6tX8pCrCtcIYECHwkUYrkjdmIcJEJgAr5xBK4ggCpcoeTHEQi2CAJYNphj9Fey8qXHF9JkFCJYmCTpQBWCIr4sZAQQ0VFg6pGNU2atUSJwSHDYrS4PrfFxIKpRTNLlq0kSSFpislSSjmVzFnwNdaMdMwp51wKbBZoLtEVrC+QVK5SQ9Uaq9VUcy0N4dNC0xabtdRyK527dORxj9166rmXQQOhNMJQN+KwkUYeZSLWpswwdcZpM808y53aofpL+QI1OtR4k1rr7E4NUrOrdTteoGQxAzEOBOK2CCCgeTHziULgRW4x85mRFcpwUhebTr5Q5OAkDGKddGf3Ru5L3FwMH3Ljz5JzC90/ktvc3NAHbr+h1tcvcdvErixcd+oF2TdpFE6Fa/WTm1vdVNYv6r+1L0UvRS9FL0UvRS9FL0X/tyL8fcjuJ86avGDS/Nk0AAABhGlDQ1BJQ0MgcHJvZmlsZQAAeJx9kT1Iw0AcxV9Ti1IqCnYQUcjQOlkQFXHUKhShQqgVWnUwufQLmjQkKS6OgmvBwY/FqoOLs64OroIg+AHi5Oik6CIl/i8ttIjx4Lgf7+497t4BQr3MNKtrHNB020wl4mImuyp2vyKAEfQjiqDMLGNOkpLwHF/38PH1LsazvM/9OXrVnMUAn0g8ywzTJt4gnt60Dc77xGFWlFXic+Ixky5I/Mh1pclvnAsuCzwzbKZT88RhYrHQwUoHs6KpEU8RR1RNp3wh02SV8xZnrVxlrXvyF4Zy+soy12kOI4FFLEGCCAVVlFCGjRitOikWUrQf9/APuX6JXAq5SmDkWEAFGmTXD/4Hv7u18pMTzaRQHAi8OM5HFOjeBRo1x/k+dpzGCeB/Bq70tr9SB2Y+Sa+1tcgR0LcNXFy3NWUPuNwBBp8M2ZRdyU9TyOeB9zP6piwwcAsE15q9tfZx+gCkqavkDXBwCIwWKHvd4909nb39e6bV3w9c3HKeW1/O7QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAAd0SU1FB+QFHRAqDr9nsVkAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAGElEQVQY02Nk0DbrYSACMDEQCUYVUkchAIoXAQHyaCuwAAAAAElFTkSuQmCC');
|
|
||||||
--background-image-blur: 0px;
|
|
||||||
--popout-modal-image: var(--background-image);
|
|
||||||
--popout-modal-blur: 0px;
|
|
||||||
--home-button-image: url('https://gibbu.github.io/BetterDiscord-Themes/FrostedGlass/assets/discord.svg');
|
|
||||||
--serverlist-brightness: 0;
|
|
||||||
--left-brightness: 0;
|
|
||||||
--middle-brightness: 0;
|
|
||||||
--right-brightness: 0;
|
|
||||||
--popout-modal-brightness: 0.5;
|
|
||||||
--gradient-primary: 133,153,0;
|
|
||||||
--gradient-secondary: 133,153,0;
|
|
||||||
--gradient-direction: 320deg;
|
|
||||||
--tint-colour: 255,51,159;
|
|
||||||
--tint-brightness: 0;
|
|
||||||
--window-padding: 0px;
|
|
||||||
--window-roundness: 0px;
|
|
||||||
--scrollbar-colour: rgba(255,255,255,0.05);
|
|
||||||
--link-colour: #00b0f4;
|
|
||||||
--show-gift-gif-buttons: none;
|
|
||||||
--font: 'DejaVu Sans Mono';
|
|
||||||
--update-notice-1: none;
|
|
||||||
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 KiB |
@@ -508,7 +508,7 @@ background_opacity 0.8
|
|||||||
#: change transparency of windows set dynamic_background_opacity to
|
#: change transparency of windows set dynamic_background_opacity to
|
||||||
#: yes (this is off by default as it has a performance cost)
|
#: yes (this is off by default as it has a performance cost)
|
||||||
|
|
||||||
# dynamic_background_opacity no
|
dynamic_background_opacity yes
|
||||||
|
|
||||||
#: Allow changing of the background_opacity dynamically, using either
|
#: Allow changing of the background_opacity dynamically, using either
|
||||||
#: keyboard shortcuts (increase_background_opacity and
|
#: keyboard shortcuts (increase_background_opacity and
|
||||||
|
|||||||
18
.config/mako/config
Normal file
18
.config/mako/config
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
anchor=top-left
|
||||||
|
background-color=#002b36cc
|
||||||
|
border-color=#859900cc
|
||||||
|
border-size=1
|
||||||
|
font=DejaVu Sans Mono 10
|
||||||
|
icon-location=left
|
||||||
|
margin=6
|
||||||
|
max-visible=-1
|
||||||
|
output=eDP-1
|
||||||
|
progress-color=source #859900cc
|
||||||
|
text-color=#93a1a1
|
||||||
|
text-alignment=left
|
||||||
|
width=400
|
||||||
|
|
||||||
|
[app-name="Spotify"]
|
||||||
|
anchor=top-right
|
||||||
|
icon-location=right
|
||||||
|
text-alignment=center
|
||||||
@@ -6,3 +6,12 @@ S screenshot-to-file /tmp/mpv-screenshot.png ; run sh -c "cat /tmp/mpv-screensho
|
|||||||
|
|
||||||
x add sub-delay -0.04
|
x add sub-delay -0.04
|
||||||
X add sub-delay +0.04
|
X add sub-delay +0.04
|
||||||
|
|
||||||
|
- add video-zoom -.25
|
||||||
|
+ add video-zoom .25
|
||||||
|
kp8 add video-pan-y .05
|
||||||
|
kp6 add video-pan-x -.05
|
||||||
|
kp2 add video-pan-y -.05
|
||||||
|
kp4 add video-pan-x .05
|
||||||
|
|
||||||
|
kp5 set video-pan-x 0; set video-pan-y 0; set video-zoom 0
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ tnoremap <Esc> <C-\><C-n>
|
|||||||
set termguicolors
|
set termguicolors
|
||||||
"set colorcolumn=88
|
"set colorcolumn=88
|
||||||
set background=dark
|
set background=dark
|
||||||
|
set number
|
||||||
match Error /\%>88c/
|
match Error /\%>88c/
|
||||||
|
|
||||||
highlight Pmenu ctermbg=gray guibg=gray
|
highlight Pmenu ctermbg=gray guibg=gray
|
||||||
@@ -146,3 +147,5 @@ Plug 'iCyMind/NeoSolarized'
|
|||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
colorscheme NeoSolarized
|
colorscheme NeoSolarized
|
||||||
|
|
||||||
|
set clipboard=unnamedplus
|
||||||
|
|||||||
@@ -159,3 +159,6 @@ textbox-prompt-colon {
|
|||||||
text-color: @normal-foreground;
|
text-color: @normal-foreground;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
element-text {
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|||||||
164
.config/rofi/topleft.rasi
Normal file
164
.config/rofi/topleft.rasi
Normal file
@@ -0,0 +1,164 @@
|
|||||||
|
* {
|
||||||
|
active-background: #20ABE0;
|
||||||
|
active-foreground: @foreground;
|
||||||
|
normal-background: @background;
|
||||||
|
normal-foreground: @foreground;
|
||||||
|
urgent-background: #288AB2;
|
||||||
|
urgent-foreground: @foreground;
|
||||||
|
|
||||||
|
alternate-active-background: @background;
|
||||||
|
alternate-active-foreground: @foreground;
|
||||||
|
alternate-normal-background: @background;
|
||||||
|
alternate-normal-foreground: @foreground;
|
||||||
|
alternate-urgent-background: @background;
|
||||||
|
alternate-urgent-foreground: @foreground;
|
||||||
|
|
||||||
|
selected-active-background: #288AB2;
|
||||||
|
selected-active-foreground: @foreground;
|
||||||
|
selected-normal-background: #859900cc;
|
||||||
|
selected-normal-foreground: #002b36;
|
||||||
|
selected-urgent-background: #4BB0CF;
|
||||||
|
selected-urgent-foreground: @foreground;
|
||||||
|
|
||||||
|
background: #00000000;
|
||||||
|
background-color: @background;
|
||||||
|
background-opaque: #002b36cc;
|
||||||
|
foreground: #93a1a1;
|
||||||
|
border-color: @foreground;
|
||||||
|
spacing: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window {
|
||||||
|
background-color: @background-opaque;
|
||||||
|
border: 0px;
|
||||||
|
padding: 0ch 0.5ch 0ch 0.5ch;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mainbox {
|
||||||
|
border: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#message {
|
||||||
|
border: 2px 0px 0px;
|
||||||
|
border-color: @border-color;
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#textbox {
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox-prompt-colon {
|
||||||
|
expand: false;
|
||||||
|
str: ":";
|
||||||
|
margin: 0px 0.3em 0em 0em;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#listview {
|
||||||
|
fixed-height: 0;
|
||||||
|
border: 1px 0px 0px;
|
||||||
|
border-color: @border-color;
|
||||||
|
spacing: 3px;
|
||||||
|
scrollbar: true;
|
||||||
|
padding: 9px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#element {
|
||||||
|
border: 0;
|
||||||
|
padding: 3px 3px 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#element.normal.normal {
|
||||||
|
background-color: @normal-background;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#element.normal.urgent {
|
||||||
|
background-color: @urgent-background;
|
||||||
|
text-color: @urgent-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#element.normal.active {
|
||||||
|
background-color: @active-background;
|
||||||
|
text-color: @active-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#element.selected.normal {
|
||||||
|
background-color: @selected-normal-background;
|
||||||
|
text-color: @selected-normal-foreground;
|
||||||
|
border: 0px;
|
||||||
|
border-color: @foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#element.selected.urgent {
|
||||||
|
background-color: @selected-urgent-background;
|
||||||
|
text-color: @selected-urgent-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#element.selected.active {
|
||||||
|
background-color: @selected-active-background;
|
||||||
|
text-color: @selected-active-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#element.alternate.normal {
|
||||||
|
background-color: @alternate-normal-background;
|
||||||
|
text-color: @alternate-normal-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#element.alternate.urgent {
|
||||||
|
background-color: @alternate-urgent-background;
|
||||||
|
text-color: @alternate-urgent-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#element.alternate.active {
|
||||||
|
background-color: @alternate-active-background;
|
||||||
|
text-color: @alternate-active-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scrollbar {
|
||||||
|
width: 4px;
|
||||||
|
border: 0;
|
||||||
|
handle-width: 8px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar {
|
||||||
|
border: 2px 0px 0px;
|
||||||
|
border-color: @border-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
#button.selected {
|
||||||
|
background-color: @selected-normal-background;
|
||||||
|
text-color: @selected-normal-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#inputbar {
|
||||||
|
spacing: 0;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#case-indicator {
|
||||||
|
spacing: 0;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry {
|
||||||
|
spacing: 0;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
#prompt {
|
||||||
|
spacing: 0;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-text {
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
2
.config/spicetify/.gitignore
vendored
2
.config/spicetify/.gitignore
vendored
@@ -1,2 +0,0 @@
|
|||||||
Backup/**
|
|
||||||
Extracted/**
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
# Solarized Dark official palette
|
|
||||||
# Base03 #002b36
|
|
||||||
# Base02 #073642
|
|
||||||
# Base01 #586e75
|
|
||||||
# Base00 #657b83
|
|
||||||
# Base0 #839496
|
|
||||||
# Base1 #93a1a1
|
|
||||||
# Base2 #eee8d5
|
|
||||||
# Base3 #fdf6e3
|
|
||||||
# Yellow #b58900
|
|
||||||
# Orange #cb4b16
|
|
||||||
# Red #dc322f
|
|
||||||
# Magenta #d33682
|
|
||||||
# Violet #6c71c4
|
|
||||||
# Blue #268bd2
|
|
||||||
# Cyan #2aa198
|
|
||||||
# Green #859900
|
|
||||||
|
|
||||||
[Base]
|
|
||||||
main_fg = 859900
|
|
||||||
secondary_fg = 93a1a1
|
|
||||||
main_bg = 002b36
|
|
||||||
sidebar_and_player_bg = 002b36
|
|
||||||
cover_overlay_and_shadow = 000000
|
|
||||||
indicator_fg_and_button_bg = 859900
|
|
||||||
pressing_fg = 002b36
|
|
||||||
slider_bg = 073642
|
|
||||||
sidebar_indicator = 859900
|
|
||||||
hover_button_bg = 859900
|
|
||||||
scrollbar_fg_and_selected_row_bg = 073642
|
|
||||||
sidebar_indicator_and_hover_button_bg = 859900
|
|
||||||
pressing_button_fg = 002b36
|
|
||||||
pressing_button_bg = 859900
|
|
||||||
selected_button = 859900
|
|
||||||
miscellaneous_bg = 859900
|
|
||||||
miscellaneous_hover_bg = 859900
|
|
||||||
preserve_1 = FFFFFF
|
|
||||||
@@ -1,657 +0,0 @@
|
|||||||
:root {
|
|
||||||
--bar-height: 60px;
|
|
||||||
--modspotify_sidebar_indicator: #839496;
|
|
||||||
--modspotify_hover_button_bg: #b58900;
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
|
||||||
font-family: "DejaVu Sans Mono", "Helvetica Neue", "Arial", sans-serif !important;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Round corner cover image*/
|
|
||||||
.card-image,
|
|
||||||
.card-placeholder-wrapper,
|
|
||||||
.card-image-content-wrapper,
|
|
||||||
.Card:not(.Card--artist) .Card__image,
|
|
||||||
.Card:not(.Card--artist) .Card__image-wrapper {
|
|
||||||
border-radius: 0px !important;
|
|
||||||
overflow: hidden !important
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Hide some annoying elements like profile name and pic, upgrade button and device connect bar at bottom, new playlist button*/
|
|
||||||
.upgrade-button,
|
|
||||||
.view-player .remote-playback-bar,
|
|
||||||
.NewPlaylistButton {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*Exclude these elements from draggable property because it stops them from clickable*/
|
|
||||||
.profile-items-container,
|
|
||||||
.profile {
|
|
||||||
-webkit-app-region: no-drag !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Thinner scrollbar*/
|
|
||||||
::-webkit-scrollbar {
|
|
||||||
height: 6px !important;
|
|
||||||
width: 6px !important;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Round corner scrollbar*/
|
|
||||||
::-webkit-scrollbar-thumb {
|
|
||||||
border-radius: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Hide top and bottom buttons of scrollbar */
|
|
||||||
/*who uses those, lol*/
|
|
||||||
::-webkit-scrollbar-button {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Hide cover image overlay*/
|
|
||||||
.card-overlay {
|
|
||||||
visibility: hidden !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Lift up cover when hovering on it*/
|
|
||||||
.card-image-content-wrapper,
|
|
||||||
.Card:not(.Card--artist) .Card__image-wrapper {
|
|
||||||
transition-property: transform, box-shadow !important;
|
|
||||||
transition-duration: 1s !important;
|
|
||||||
transition-timing-function: cubic-bezier(.3,0,0,1) !important;
|
|
||||||
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-image-hit-area:not(.no-hover):hover .card-image-content-wrapper,
|
|
||||||
.Card:not(.Card--artist) .Card__image-hit-area-counter-scale:hover .Card__image-wrapper {
|
|
||||||
transform: translateY(-10px);
|
|
||||||
box-shadow: 0 15px 30px rgba(0,0,0,0.3);
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-image-hit-area .card-button-add,
|
|
||||||
.card-image-hit-area .card-button-play,
|
|
||||||
.card-image-hit-area .card-button-more,
|
|
||||||
.Card__image-hit-area .card-button-add,
|
|
||||||
.Card__image-hit-area .card-button-play,
|
|
||||||
.Card__image-hit-area .card-button-more,
|
|
||||||
.Card__image-hit-area .Card__play-button,
|
|
||||||
.Card__image-hit-area .Card__add-button,
|
|
||||||
.Card__image-hit-area .Card__more-button,
|
|
||||||
.Card__image-hit-area .Card__overlay {
|
|
||||||
transition-property: all !important;
|
|
||||||
transition-duration: 1s !important;
|
|
||||||
transition-timing-function: cubic-bezier(.3,0,0,1) !important;
|
|
||||||
opacity: 0 !important;
|
|
||||||
}
|
|
||||||
.card-image-hit-area:not(.no-hover):hover .card-button-add,
|
|
||||||
.card-image-hit-area:not(.no-hover):hover .card-button-play,
|
|
||||||
.card-image-hit-area:not(.no-hover):hover .card-button-more,
|
|
||||||
.Card__image-hit-area:not(.no-hover):hover .card-button-add,
|
|
||||||
.Card__image-hit-area:not(.no-hover):hover .card-button-play,
|
|
||||||
.Card__image-hit-area:not(.no-hover):hover .card-button-more {
|
|
||||||
opacity: 1 !important;
|
|
||||||
transform: translateY(-10px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.Card__image-hit-area:hover .Card__play-button,
|
|
||||||
.Card__image-hit-area:hover .Card__add-button,
|
|
||||||
.Card__image-hit-area:hover .Card__more-button,
|
|
||||||
.Card__image-hit-area:hover .Card__overlay {
|
|
||||||
opacity: 1 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.glue-page-header__content .glue-page-header__image-inner {
|
|
||||||
border-radius: 0px;
|
|
||||||
box-shadow: unset !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.glue-page-header__full-description-overlay {
|
|
||||||
box-shadow: unset !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-placeholder-wrapper {
|
|
||||||
background: transparent !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Spice up search input background*/
|
|
||||||
.SearchInput {
|
|
||||||
color: var(--modspotify_main_fg);
|
|
||||||
}
|
|
||||||
.SearchInput__input {
|
|
||||||
color: var(--modspotify_secondary_fg);
|
|
||||||
background-color: rgba(var(--modspotify_rgb_scrollbar_fg_and_selected_row_bg), 0.5) !important;
|
|
||||||
border-radius: 0px !important;
|
|
||||||
padding-left: 34px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar:hover .sidebar-navbar.sidebar-scroll-element {
|
|
||||||
opacity: 1!important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-player .player-controls-container,
|
|
||||||
.view-player .player-controls-container .controls {
|
|
||||||
overflow: visible !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-player .player-controls-container .controls .button-play{
|
|
||||||
height:50px !important;
|
|
||||||
border-radius:50px !important;
|
|
||||||
background: transparent !important;
|
|
||||||
box-shadow:0 0 0 0 !important;
|
|
||||||
width:50px !important;
|
|
||||||
overflow: visible !important;
|
|
||||||
box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
|
|
||||||
transition:none 0.3s cubic-bezier(.3,0,.7,1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-player .player-controls-container .controls .button-play:before{
|
|
||||||
font-size:18px !important;
|
|
||||||
padding-left: 16px !important;
|
|
||||||
padding-top: 9px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-player .player-controls-container .controls .button-play:after {
|
|
||||||
box-shadow: unset !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-player .player-controls-container {
|
|
||||||
position: absolute !important;
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-player .player-controls-container .controls {
|
|
||||||
width: 100% !important;
|
|
||||||
height: 100% !important;
|
|
||||||
align-items: center !important;
|
|
||||||
margin-top : 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
Hide the song duration and elapsed text. I dont know where to put those so I just hide them
|
|
||||||
*/
|
|
||||||
.view-player .player-controls-container .progress-container .elapsed,
|
|
||||||
.view-player .player-controls-container .progress-container .remaining {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Add round corner for Gerne and Mood cards */
|
|
||||||
.gc-image-container,
|
|
||||||
.gc-image {
|
|
||||||
border-radius: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
Collage of 3 album covers is usually seen in Browse and Chart.
|
|
||||||
*/
|
|
||||||
.card-puff__image-wrapper,
|
|
||||||
.card-puff__info-container,
|
|
||||||
.card-puff__card-image {
|
|
||||||
border-radius: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-puff__image-wrapper {
|
|
||||||
overflow: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-puff__card-image {
|
|
||||||
box-shadow: 5px 0 30px rgba(0,0,0,0.7);
|
|
||||||
overflow: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-puff__title-container {
|
|
||||||
background-color: transparent !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-puff.pressed .card-puff__image-wrapper,
|
|
||||||
.card-puff.pressed .card-puff__info-container {
|
|
||||||
opacity: 0.7 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-puff__title {
|
|
||||||
padding: 5px 10px 5px 10px !important;
|
|
||||||
background-color: var(--modspotify_main_bg) !important;
|
|
||||||
border-radius: 0px;
|
|
||||||
border: 2px solid var(--modspotify_main_fg);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
We use round corner on cover so they look weird in original
|
|
||||||
form, so I move last cover to the right 20px and first one to the left 20px
|
|
||||||
*/
|
|
||||||
.card-puff__card-image:nth-child(1) {
|
|
||||||
right: 20px;
|
|
||||||
box-shadow: 0 0 0 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-puff__card-image:nth-child(3) {
|
|
||||||
left: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.grid-overlay-label {
|
|
||||||
top: 140px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**/
|
|
||||||
.glue-page-header__background-color {
|
|
||||||
background-image: none !important;
|
|
||||||
background: var(--modspotify_main_bg);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* .glue-page-header__sticky {
|
|
||||||
padding-top: 60px !important;
|
|
||||||
} */
|
|
||||||
|
|
||||||
/*
|
|
||||||
Remove those title, cringy description and
|
|
||||||
meaningless followers number
|
|
||||||
*/
|
|
||||||
|
|
||||||
.carousel .card-info-subtitle-description,
|
|
||||||
.carousel .card-info-subtitle-metadata,
|
|
||||||
.carousel .card:not(.card-type-station).card-info-title,
|
|
||||||
.carousel .card.card-type-playlist.image-loaded .card-info-subtitle-description,
|
|
||||||
.carousel .card.card-type-playlist.image-loaded .card-info-subtitle-metadata {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
In top of Browse usually has bunch of Playlist or Album cards,
|
|
||||||
and they has .carousel as a wrapper and it hides anything that
|
|
||||||
overflows from its zone, aka our shadow and lifting animation.
|
|
||||||
*/
|
|
||||||
.carousel {
|
|
||||||
overflow: visible !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
Button with text Play
|
|
||||||
*/
|
|
||||||
.button.button-green,
|
|
||||||
.GlueButton.GlueButton--style-green {
|
|
||||||
color: var(--modspotify_main_bg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
Change text color in playlist
|
|
||||||
*/
|
|
||||||
.tl-explicit .label,
|
|
||||||
.tl-premium .label,
|
|
||||||
.tl-cell:not(.tl-number),
|
|
||||||
.tl-cell a:link,
|
|
||||||
.tl-highlight {
|
|
||||||
color: var(--modspotify_secondary_fg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-type-album .card-info-title,
|
|
||||||
.card-type-track .card-info-title,
|
|
||||||
.card-type-collection-album .card-info-title,
|
|
||||||
.card-type-episode .card-info-title {
|
|
||||||
font-size: 15px;
|
|
||||||
font-weight: 600 !important;
|
|
||||||
text-align: center !important;
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-type-album .card-info-subtitle-links,
|
|
||||||
.card-type-track .card-info-subtitle-links,
|
|
||||||
.card-type-collection-album .card-info-subtitle-links,
|
|
||||||
.card-type-episode .card-info-subtitle-links {
|
|
||||||
text-align: center !important;
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tracklist-station-container::after {
|
|
||||||
background: transparent !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.GlueHeader__background-overlay {
|
|
||||||
background: var(--modspotify_main_bg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Move navigation buttons and search field to the right and down */
|
|
||||||
.browser-navigation-top-bar {
|
|
||||||
margin-left: 40px !important;
|
|
||||||
margin-top: 15px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.SearchInput__input,
|
|
||||||
.SearchInput__searchIcon,
|
|
||||||
.SearchInput__clearButton {
|
|
||||||
margin-top: 15px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content-top-bar__profile-menu-button {
|
|
||||||
margin-top: 15px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.body-container--windows:not(.with-buddy-list):not(.messagebar) .content-top-bar__profile {
|
|
||||||
margin-right: 110px !important;
|
|
||||||
margin-top: -5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Spice up Fullscreen mode */
|
|
||||||
#view-player .album-art .album-art__image {
|
|
||||||
border-radius: 0px !important;
|
|
||||||
box-shadow: 0 10px 70px rgba(var(--modspotify_rgb_cover_overlay_and_shadow),.5) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#view-player .album-art .album-art__image .card-image-content-wrapper,
|
|
||||||
#view-player .album-art .album-art__image .card-image-content-wrapper .card-image {
|
|
||||||
border-radius: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Daily mixes */
|
|
||||||
.carousel .card-info-wrapper.card-info-with-description.card-info-with-metadata {
|
|
||||||
height: 50px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Remove section divider */
|
|
||||||
.section-divider {
|
|
||||||
border-bottom: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Adjust Position of border active tab in Nav bar at top
|
|
||||||
and add little glowing effect
|
|
||||||
*/
|
|
||||||
.nav.navbar-nav {
|
|
||||||
overflow: hidden !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav.navbar-nav a {
|
|
||||||
overflow: visible !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav.navbar-nav a::after {
|
|
||||||
bottom: 0px !important;
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav.navbar-nav .active a::after{
|
|
||||||
box-shadow: 0 0px 20px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav.navbar-nav a:focus:not(.button):active::after{
|
|
||||||
background-color: var(--modspotify_pressing_fg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Notification bar */
|
|
||||||
#content-wrapper #view-message-bar {
|
|
||||||
position: absolute !important;
|
|
||||||
width: calc(100% - 160px) !important;
|
|
||||||
margin-left: 80px !important;
|
|
||||||
border-radius: 0 0 0px 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Small cover Big cover mechanism */
|
|
||||||
.now-playing.cover-size-transition.active.image-expanded .cover-image {
|
|
||||||
width: 10px !important;
|
|
||||||
height: 10px !important;
|
|
||||||
}
|
|
||||||
.now-playing.cover-size-transition.active.image-expanded .caption {
|
|
||||||
padding-left: 0px !important;
|
|
||||||
}
|
|
||||||
#view-now-playing a.image {
|
|
||||||
overflow: visible !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#view-now-playing.expanded {
|
|
||||||
width: 200px;
|
|
||||||
height: 200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#now-playing-image-large .cover-image {
|
|
||||||
height: 200px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Profile arrow in top left */
|
|
||||||
.content-top-bar__profile-menu-button .dropdown {
|
|
||||||
position: fixed !important;
|
|
||||||
top: 10px !important;
|
|
||||||
-webkit-app-region: no-drag !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
body.body-container--windows .content-top-bar__profile-menu-button .dropdown {
|
|
||||||
right: 190px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
body:not(.body-container--windows) .content-top-bar__profile-menu-button .dropdown {
|
|
||||||
right: 20px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Small tooltip */
|
|
||||||
#tooltip {
|
|
||||||
box-shadow: 0 0 10px rgba(0,0,0,0.2) !important;
|
|
||||||
border-radius: 0px !important;
|
|
||||||
border: 2px solid var(--modspotify_main_fg);
|
|
||||||
padding: 10px 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tooltip-arrow-top, .tooltip-arrow-bottom {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.lyrics-lines-container,
|
|
||||||
.message-container {
|
|
||||||
color: #FFFFFF !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Home page */
|
|
||||||
.GlueCarousel__grid-wrapper::-webkit-scrollbar-thumb {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.GlueCard__info-wrapper,
|
|
||||||
.Card__info-wrapper {
|
|
||||||
margin-bottom: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-horizontal-interior-wrapper .card-info-title {
|
|
||||||
text-align: start !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tl-row.selected:hover .tl-cell {
|
|
||||||
background: var(--modspotify_scrollbar_fg_and_selected_row_bg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.GlueTableRow--is-selected {
|
|
||||||
background-color: var(--modspotify_scrollbar_fg_and_selected_row_bg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tracklist-podcast .tl-progress .row-progress__bar {
|
|
||||||
background-color: var(--modspotify_main_fg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.Header__background-color{
|
|
||||||
background-color: var(--modspotify_main_bg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.Button--style-green,
|
|
||||||
.button.button-green, .button.button-white {
|
|
||||||
border-radius: 25px;
|
|
||||||
color: var(--modspotify_main_bg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.glue-page-header:not(.glue-page-header--album):not(.glue-page-header--playlist):not(.glue-page-header--artist):not(.glue-page-header--dailymix):not(.glue-page-header--user):not(.glue-page-header--show)
|
|
||||||
.glue-page-header__content-inner .glue-page-header__title-text,
|
|
||||||
.HomeHeader .Header__content-inner .Header__title-text-inner,
|
|
||||||
.MadeForYouHeader .Header__content-inner .Header__title-text-inner,
|
|
||||||
.RecentlyPlayedPage__header .Header__content-inner .Header__title-text-inner {
|
|
||||||
background-color: var(--modspotify_main_bg);
|
|
||||||
padding: 5px 20px;
|
|
||||||
border: 5px solid var(--modspotify_main_fg) !important;
|
|
||||||
border-radius: 0px;
|
|
||||||
box-shadow: 0 4px 12px 0 rgba(var(--modspotify_rgb_cover_overlay_and_shadow),.2);
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
.glue-page-header.glue-page-header--album .glue-page-header__content-inner .glue-page-header__title,
|
|
||||||
.glue-page-header.glue-page-header--artist .glue-page-header__content-inner .glue-page-header__title,
|
|
||||||
.glue-page-header.glue-page-header--dailymix .glue-page-header__content-inner .glue-page-header__title,
|
|
||||||
.glue-page-header.glue-page-header--playlist .glue-page-header__content-inner .glue-page-header__title {
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.glue-page-header__title-text {
|
|
||||||
color: var(--modspotify_main_fg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.glue-page-header .glue-page-header__content-inner .glue-page-header__button {
|
|
||||||
margin-top: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.glue-page-header__content-inner,
|
|
||||||
.glue-page-header__data,
|
|
||||||
.glue-page-header__title,
|
|
||||||
.Header__content-inner,
|
|
||||||
.Header__data,
|
|
||||||
.Header__title,
|
|
||||||
.Header__title-text,
|
|
||||||
.Header__title-text-inner {
|
|
||||||
overflow: visible !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Force player bar to has fixed height*/
|
|
||||||
.view-player {
|
|
||||||
height: var(--bar-height) !important;
|
|
||||||
border-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-player .now-playing {
|
|
||||||
overflow: unset;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-player .now-playing .cover-image-link,
|
|
||||||
.view-player .now-playing .cover-image-link figure {
|
|
||||||
width: var(--bar-height);
|
|
||||||
height: var(--bar-height);
|
|
||||||
}
|
|
||||||
|
|
||||||
#now-playing-image-small .cover-image {
|
|
||||||
position: fixed !important;
|
|
||||||
width: var(--bar-height);
|
|
||||||
height: var(--bar-height);
|
|
||||||
left: 0;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-player .now-playing .cover-image-link-wrapper {
|
|
||||||
flex: 0 1 calc(var(--bar-height) + 10px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-container {
|
|
||||||
z-index: 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-player .now-playing-container .button-add {
|
|
||||||
color: var(--modspotify_main_fg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.progress-container .progress-bar,
|
|
||||||
.progress-container .inner {
|
|
||||||
top: 0 !important;
|
|
||||||
margin-top: 0 !important;
|
|
||||||
height: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.progress-container .progress-bar-wrapper {
|
|
||||||
top: 0 !important;
|
|
||||||
height: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.progress-container {
|
|
||||||
position: fixed !important;
|
|
||||||
width: 100% !important;
|
|
||||||
bottom: var(--bar-height) !important;
|
|
||||||
margin : 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.progress-container .inner {
|
|
||||||
border-radius: 0 0px 0px 0 !important;
|
|
||||||
background-color: var(--modspotify_main_fg) !important;
|
|
||||||
box-shadow: 0 0px 0px 0 var(--modspotify_main_fg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.glue-page-header__p2s-details,
|
|
||||||
.glue-page-header__p2s-followers {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.context-menu {
|
|
||||||
border: 2px solid var(--modspotify_main_fg);
|
|
||||||
box-shadow: 0 4px 12px 0 rgba(var(--modspotify_rgb_cover_overlay_and_shadow),.2);
|
|
||||||
border-radius: 0px !important;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu-wrapper ::-webkit-scrollbar {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu-wrapper {
|
|
||||||
border-right: 3px solid black;
|
|
||||||
border-image: linear-gradient(0deg, transparent , var(--modspotify_scrollbar_fg_and_selected_row_bg) 40%, var(--modspotify_scrollbar_fg_and_selected_row_bg) 60%, transparent 90%) 2 90%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-view-wrapper {
|
|
||||||
overflow: unset;
|
|
||||||
}
|
|
||||||
|
|
||||||
.Button--style-icon-stroke:after,
|
|
||||||
.Button--style-icon-stroke:hover:after,
|
|
||||||
.Button--style-icon-stroke,
|
|
||||||
.glue-page-header__button .button-icon-with-stroke,
|
|
||||||
.glue-page-header__button .button-icon-with-stroke::after {
|
|
||||||
box-shadow: unset;
|
|
||||||
}
|
|
||||||
|
|
||||||
.glue-page-header.glue-page-header--artist .glue-page-header__label {
|
|
||||||
padding-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.glue-page-header.glue-page-header--artist.has-custom-image .glue-page-header__label {
|
|
||||||
padding-top: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.glue-page-header__content .glue-page-header__label {
|
|
||||||
margin-left: -2px;
|
|
||||||
z-index: 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.glue-page-header__label span,
|
|
||||||
.Header__label span {
|
|
||||||
background-color: var(--modspotify_main_fg);
|
|
||||||
color: var(--modspotify_main_bg);
|
|
||||||
padding: 2px 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.glue-page-header__label .header-verified-check {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
body.remotebar .view-player .player-bar-wrapper {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.SidebarListItem--is-active:after,
|
|
||||||
.RootlistItem--is-active:after,
|
|
||||||
/* For Linux */ #view-navigation-bar .item.active:after {
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: linear-gradient(90deg, var(--modspotify_sidebar_indicator) , transparent);
|
|
||||||
opacity: 0.2;
|
|
||||||
bottom: unset;
|
|
||||||
top: 5%;
|
|
||||||
height: 90%;
|
|
||||||
width: 100%
|
|
||||||
}
|
|
||||||
|
|
||||||
.Header__image-inner {
|
|
||||||
box-shadow: unset;
|
|
||||||
}
|
|
||||||
|
|
||||||
.button.button-green.contextmenu-active, .button.button-green:not(:disabled):hover {
|
|
||||||
background-color: var(--modspotify_hover_button_bg);
|
|
||||||
}
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
[Setting]
|
|
||||||
spotify_path = /opt/spotify
|
|
||||||
prefs_path = /home/rhiobet/.config/spotify/prefs
|
|
||||||
current_theme = SolarizedDarkGreen
|
|
||||||
color_scheme =
|
|
||||||
inject_css = 1
|
|
||||||
replace_colors = 1
|
|
||||||
overwrite_assets = 0
|
|
||||||
|
|
||||||
[Preprocesses]
|
|
||||||
remove_rtl_rule = 1
|
|
||||||
expose_apis = 1
|
|
||||||
disable_sentry = 1
|
|
||||||
disable_ui_logging = 1
|
|
||||||
|
|
||||||
[AdditionalOptions]
|
|
||||||
home = 0
|
|
||||||
lyric_always_show = 0
|
|
||||||
lyric_force_no_sync = 0
|
|
||||||
tastebuds = 0
|
|
||||||
fastUser_switching = 0
|
|
||||||
made_for_you_hub = 0
|
|
||||||
new_feedback_ui = 0
|
|
||||||
radio = 0
|
|
||||||
song_page = 0
|
|
||||||
extensions =
|
|
||||||
minimal_ui = 0
|
|
||||||
experimental_features = 0
|
|
||||||
search_in_sidebar = 0
|
|
||||||
visualization_high_framerate = 0
|
|
||||||
custom_apps =
|
|
||||||
|
|
||||||
; DO NOT CHANGE!
|
|
||||||
[Backup]
|
|
||||||
version = 1.1.10.546.ge08ef575
|
|
||||||
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
body {
|
|
||||||
--glue-font-family: Karla;
|
|
||||||
}
|
|
||||||
@@ -22,7 +22,10 @@ set $term kitty
|
|||||||
set $menu rofi -no-levenshtein-sort -color-enabled -show run\
|
set $menu rofi -no-levenshtein-sort -color-enabled -show run\
|
||||||
-run-command "zsh -i -c '{cmd}'" | xargs swaymsg exec --
|
-run-command "zsh -i -c '{cmd}'" | xargs swaymsg exec --
|
||||||
set $srclocker swaylock -c 222222 -u -i eDP-1:~/wallpapers/radiance.png\
|
set $srclocker swaylock -c 222222 -u -i eDP-1:~/wallpapers/radiance.png\
|
||||||
-i DP-5:~/wallpapers/hornet.jpg -i DP-4:~/wallpapers/knight.jpg
|
-i DP-5:~/wallpapers/hornet.jpg -i DP-4:~/wallpapers/knight.jpg\
|
||||||
|
-i DP-7:~/wallpapers/hornet.jpg -i DP-6:~/wallpapers/knight.jpg\
|
||||||
|
-i DP-9:~/wallpapers/hornet.jpg -i DP-8:~/wallpapers/knight.jpg\
|
||||||
|
-i HDMI-A-1:~/wallpapers/radiance.png
|
||||||
|
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
@@ -34,6 +37,8 @@ output "Samsung Electric Company SyncMaster H1AK500000" res 3840 2160
|
|||||||
output "Dell Inc. DELL U2410 F525M0A1082L" pos 1920 680 res 1920 1200
|
output "Dell Inc. DELL U2410 F525M0A1082L" pos 1920 680 res 1920 1200
|
||||||
#output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 3840 0 mode --custom 2560x1440@39Hz transform 90
|
#output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 3840 0 mode --custom 2560x1440@39Hz transform 90
|
||||||
output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 1920 1480 mode 2560 1440
|
output "Dell Inc. DELL U2717D JXRPT83GAHKS" pos 1920 1480 mode 2560 1440
|
||||||
|
output "Hewlett Packard HP LA2405x CN43480QK5" pos 3840 320 mode 1920 1200 transform 270
|
||||||
|
output "Dell Inc. DELL U2410 F525M98C17AL" pos 0 680 mode 1920 1200
|
||||||
output * bg ~/wallpapers/filianore-u.jpg fill
|
output * bg ~/wallpapers/filianore-u.jpg fill
|
||||||
focus output eDP-1
|
focus output eDP-1
|
||||||
#
|
#
|
||||||
@@ -98,10 +103,10 @@ input "9653:84:Samsung_electronics_inc._Samsung_HID_Multi-Touch"\
|
|||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# Sound
|
# Sound
|
||||||
bindsym XF86AudioRaiseVolume exec amixer -c 0 sset Master 5%+
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
bindsym XF86AudioLowerVolume exec amixer -c 0 sset Master 5%-
|
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
bindsym XF86AudioMute exec 'amixer -c 0 sset Master toggle && amixer -c 0 sset Speaker on && amixer -c 0 sset Headphone on'
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
bindsym XF86AudioMicMute exec amixer -c 0 sset Capture toggle
|
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
|
|
||||||
# Brightness
|
# Brightness
|
||||||
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
|
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
|
||||||
@@ -256,7 +261,9 @@ bar {
|
|||||||
# The default just shows the current date and time.
|
# The default just shows the current date and time.
|
||||||
#status_command while ~/.config/sway/status.sh; do sleep 1; done
|
#status_command while ~/.config/sway/status.sh; do sleep 1; done
|
||||||
status_command i3status-rs ~/.config/sway/status.toml
|
status_command i3status-rs ~/.config/sway/status.toml
|
||||||
|
# swaybar_command waybar
|
||||||
status_padding 0
|
status_padding 0
|
||||||
|
height 22
|
||||||
|
|
||||||
colors {
|
colors {
|
||||||
statusline #ffffff
|
statusline #ffffff
|
||||||
@@ -267,6 +274,9 @@ bar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bindswitch --locked --reload lid:on output eDP-1 disable
|
||||||
|
bindswitch --locked --reload lid:off output eDP-1 enable
|
||||||
|
|
||||||
bindsym Ctrl+m exec mpv "$(wl-paste -t text)"
|
bindsym Ctrl+m exec mpv "$(wl-paste -t text)"
|
||||||
|
|
||||||
hide_edge_borders both
|
hide_edge_borders both
|
||||||
@@ -279,7 +289,7 @@ include /etc/sway/config.d/*
|
|||||||
# Assignments
|
# Assignments
|
||||||
assign [class="discord"] workspace 3
|
assign [class="discord"] workspace 3
|
||||||
assign [class="Spotify"] workspace 3
|
assign [class="Spotify"] workspace 3
|
||||||
for_window [class="Spotify"] opacity 0.8
|
#for_window [class="Spotify"] opacity 0.8
|
||||||
#for_window [class="Chromium"] opacity 0.9
|
#for_window [class="Chromium"] opacity 0.9
|
||||||
|
|
||||||
exec redshift -O 4500 -m wayland
|
exec redshift -O 4500 -m wayland
|
||||||
@@ -289,7 +299,7 @@ exec nm-applet --indicator
|
|||||||
#exec cadence
|
#exec cadence
|
||||||
#exec ~/.local/start_jack.sh
|
#exec ~/.local/start_jack.sh
|
||||||
|
|
||||||
exec ~/.config/sway/workspace-rename.sh
|
exec ~/.config/sway/workspace_rename.py
|
||||||
|
|
||||||
for_window [class="Tor Browser"] floating enable
|
for_window [class="Tor Browser"] floating enable
|
||||||
|
|
||||||
|
|||||||
5
.config/sway/run-once.sh
Executable file
5
.config/sway/run-once.sh
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if ! pgrep -x $1; then
|
||||||
|
${@:1}
|
||||||
|
fi
|
||||||
9
.config/sway/status.sh
Executable file
9
.config/sway/status.sh
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
date_formatted=$(date +'%d/%m/%Y %R')
|
||||||
|
|
||||||
|
battery_status=$(acpi -b | awk '{printf "%3d%", substr($4, 1, length($4)-1)}')
|
||||||
|
|
||||||
|
ram_status=$(free -m | awk '/Mem/{mem = $3}; END {printf "%5dMB", mem}')
|
||||||
|
|
||||||
|
cpu_status=$(top -bn1 | awk '/Cpu/{cpu = 100 - $8}; END {printf "%3d\%", cpu}')
|
||||||
|
|
||||||
|
echo "| RAM: ${ram_status} | CPU: $cpu_status | BAT: $battery_status | $date_formatted |"
|
||||||
@@ -9,11 +9,12 @@ good_bg = "#859900cc"
|
|||||||
warning_bg = "#b58900cc"
|
warning_bg = "#b58900cc"
|
||||||
critical_bg = "#dc322fcc"
|
critical_bg = "#dc322fcc"
|
||||||
alternating_tint_bg = "#00000000"
|
alternating_tint_bg = "#00000000"
|
||||||
|
#separator = "<span font='14'>\ue0b2</span>"
|
||||||
separator = ""
|
separator = ""
|
||||||
|
|
||||||
[[block]]
|
#[[block]]
|
||||||
block = "focused_window"
|
#block = "focused_window"
|
||||||
max_width = 100
|
#max_width = 100
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "music"
|
block = "music"
|
||||||
@@ -25,19 +26,22 @@ marquee = true
|
|||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "sound"
|
block = "sound"
|
||||||
driver = "alsa"
|
driver = "auto"
|
||||||
#device = "hw:0"
|
show_volume_when_muted = true
|
||||||
|
headphones_indicator = true
|
||||||
step_width = 3
|
step_width = 3
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "memory"
|
block = "memory"
|
||||||
display_type = "memory"
|
display_type = "memory"
|
||||||
format_mem = "{Mum}MB"
|
format_mem = "{mem_used;M}"
|
||||||
clickable = false
|
clickable = false
|
||||||
|
on_click = "kitty btop"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "cpu"
|
block = "cpu"
|
||||||
interval = 1
|
interval = 1
|
||||||
|
on_click = "kitty btop"
|
||||||
|
|
||||||
#[[block]]
|
#[[block]]
|
||||||
#block = "sound"
|
#block = "sound"
|
||||||
@@ -46,6 +50,23 @@ interval = 1
|
|||||||
block = "battery"
|
block = "battery"
|
||||||
interval = 10
|
interval = 10
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "pacman"
|
||||||
|
interval = 600
|
||||||
|
format = "{both} updates available"
|
||||||
|
format_singular = "{both} update available"
|
||||||
|
format_up_to_date = "up to date"
|
||||||
|
hide_when_uptodate = true
|
||||||
|
critical_updates_regex = "(^(linux-|sway|wl)|pipewire)"
|
||||||
|
aur_command = "yay -Qua"
|
||||||
|
on_click = "kitty zsh -i -c update"
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "networkmanager"
|
||||||
|
on_click = "networkmanager_dmenu"
|
||||||
|
device_format = "{icon}{ap}"
|
||||||
|
interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"]
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "time"
|
block = "time"
|
||||||
interval = 60
|
interval = 60
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ swaymsg -t subscribe -m '[ "window" ]' | while read -r event ; do
|
|||||||
|
|
||||||
if [ "$app_name" = "kitty" ] ; then
|
if [ "$app_name" = "kitty" ] ; then
|
||||||
app_name=""
|
app_name=""
|
||||||
elif [ "$app_name" = "chromium" ] ; then
|
elif [ "$app_name" = "Chromium" ] || [ "$app_name" = "google-chrome" ]; then
|
||||||
case "$(jq -r '.container.name' <<< $event)" in
|
case "$(jq -r '.container.name' <<< $event)" in
|
||||||
*YouTube*)
|
*YouTube*)
|
||||||
app_name=""
|
app_name=""
|
||||||
|
|||||||
52
.config/sway/workspace_rename.py
Executable file
52
.config/sway/workspace_rename.py
Executable file
@@ -0,0 +1,52 @@
|
|||||||
|
#!/bin/python3
|
||||||
|
|
||||||
|
import asyncio
|
||||||
|
|
||||||
|
from i3ipc import Event
|
||||||
|
from i3ipc.aio import Connection
|
||||||
|
|
||||||
|
|
||||||
|
async def main():
|
||||||
|
sway = await Connection().connect()
|
||||||
|
|
||||||
|
def on(event, handler=None):
|
||||||
|
def on_wrapped(handler):
|
||||||
|
sway.on(event, handler)
|
||||||
|
return handler
|
||||||
|
if handler:
|
||||||
|
return on_wrapped(handler)
|
||||||
|
else:
|
||||||
|
return on_wrapped
|
||||||
|
|
||||||
|
@on(Event.WINDOW_FOCUS)
|
||||||
|
async def on_window_focus(sway, e):
|
||||||
|
focused_window = (await sway.get_tree()).find_focused()
|
||||||
|
focused_workspace = focused_window.workspace()
|
||||||
|
|
||||||
|
new_name = f'{focused_workspace.num}:'
|
||||||
|
|
||||||
|
app_name = e.container.app_id
|
||||||
|
if not app_name:
|
||||||
|
app_name = e.container.window_instance
|
||||||
|
|
||||||
|
if app_name == 'kitty':
|
||||||
|
new_name += ''
|
||||||
|
elif app_name in ['Chromium', 'google-chrome']:
|
||||||
|
if 'YouTube' in e.container.name:
|
||||||
|
new_name += ''
|
||||||
|
else:
|
||||||
|
new_name += ''
|
||||||
|
elif app_name == 'discord':
|
||||||
|
new_name += ''
|
||||||
|
elif app_name == 'spotify':
|
||||||
|
new_name += ''
|
||||||
|
elif app_name in ['GEMOC Studio', 'code-oss']:
|
||||||
|
new_name += ''
|
||||||
|
elif app_name:
|
||||||
|
new_name += app_name
|
||||||
|
|
||||||
|
await sway.command(f'rename workspace to "{new_name}"')
|
||||||
|
|
||||||
|
await sway.main()
|
||||||
|
|
||||||
|
asyncio.get_event_loop().run_until_complete(main())
|
||||||
1
.zshenv
1
.zshenv
@@ -1,2 +1,3 @@
|
|||||||
export JAVA_HOME=/usr/lib/jvm/$(archlinux-java get)
|
export JAVA_HOME=/usr/lib/jvm/$(archlinux-java get)
|
||||||
export GDK_BACKEND=x11
|
export GDK_BACKEND=x11
|
||||||
|
export JAVAFX_HOME=/lib/jvm/java-16-openjdk
|
||||||
|
|||||||
1
.zshrc
1
.zshrc
@@ -35,3 +35,4 @@ fi
|
|||||||
eval $(thefuck --alias)
|
eval $(thefuck --alias)
|
||||||
|
|
||||||
alias chromium='GDK_BACKEND=wayland chromium --enable-features=UseOzonePlatform --ozone-platform=wayland'
|
alias chromium='GDK_BACKEND=wayland chromium --enable-features=UseOzonePlatform --ozone-platform=wayland'
|
||||||
|
alias start_gnome='XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session'
|
||||||
|
|||||||
Reference in New Issue
Block a user