0
0
Fork 0
mirror of https://github.com/stronk-dev/Tokyo-Night-Linux.git synced 2024-10-17 20:58:16 -04:00

Picom config for rounded corners and slight transparency on inactive windows when using I3

This commit is contained in:
Marco van Dijk 2021-07-20 14:41:45 +02:00
parent fcc3ad1ddd
commit 5c5a1914c7
5 changed files with 10 additions and 9 deletions

View file

@ -3,4 +3,4 @@ i3-msg "workspace 1; append_layout /home/marco/.config/i3/workspace-1.json"
urxvt -name "termDocuments" -e $SHELL -c 'cd /home/marco/Documents;$SHELL -i'& urxvt -name "termDocuments" -e $SHELL -c 'cd /home/marco/Documents;$SHELL -i'&
urxvt -name "termHome" -e $SHELL -c 'cd /home/marco/;neofetch | lolcat;$SHELL -i'& urxvt -name "termHome" -e $SHELL -c 'cd /home/marco/;neofetch | lolcat;$SHELL -i'&
urxvt -name "termConfig" -e $SHELL -c 'cd /home/marco/.config;htop;$SHELL -i'& urxvt -name "termConfig" -e $SHELL -c 'cd /home/marco/.config;htop;$SHELL -i'&
urxvt -name "termDownloads" -e $SHELL -c 'cd /home/marco/Downloads;$SHELL -i'& urxvt -name "termDownloads" -e $SHELL -c 'cd /home/marco/Downloads/;fortune | cowsay | lolcat;$SHELL -i'&

View file

@ -6,7 +6,7 @@
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1 # inactive-opacity = 1
inactive-opacity = 0.80; inactive-opacity = 0.90;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0 # frame-opacity = 1.0
@ -38,7 +38,7 @@ opacity-rule = [ "100:class_g = 'firefox'", "100:class_g = 'Brave-browser'" ];
# add rounded corners to everything except polybar # add rounded corners to everything except polybar
corner-radius = 8.0; corner-radius = 5.0;
rounded-corners-exclude = [ rounded-corners-exclude = [
"class_g = 'Polybar'" "class_g = 'Polybar'"
]; ];

View file

@ -14,7 +14,7 @@ window#waybar {
text-shadow: none; text-shadow: none;
transition-duration: 0s; transition-duration: 0s;
color: rgba(217, 216, 216, 1); color: rgba(217, 216, 216, 1);
background: rgba(22, 22, 30, 1.0); background: #1a1b26;
} }
#workspaces { #workspaces {

View file

@ -60,6 +60,6 @@ eval $(keychain --systemd -q --eval)
#start thing for transparency #start thing for transparency
#picom --config /home/marco/.config/picom/picom.conf & #picom --config /home/marco/.config/picom/picom.conf &
#picom --config /home/marco/.config/picom/picom.conf -b --experimental-backends & picom --config /home/marco/.config/picom/picom.conf -b --experimental-backends &
#Start i3 #Start i3
exec i3 exec i3

View file

@ -1,6 +1,6 @@
# Tokyo Night Linux theme # Tokyo Night Linux theme
This collection is aimed to make your Linux environment look like the vscode <a href="https://github.com/enkia/tokyo-night-vscode-theme">Tokyo Night</a> theme. This is currently still a WIP, as most of the configuration is based off of modifying existing themes. This collection is aimed to make your Linux environment look like the vscode <a href="https://github.com/enkia/tokyo-night-vscode-theme">Tokyo Night</a> theme. This is currently still a WIP, so expect colour or unthemed applications.
Although replacing your icon theme or cursor is not required, this theme goes well with the <a href="https://github.com/numixproject/numix-icon-theme">Numix</a> icon theme goes well with this theme. Although replacing your icon theme or cursor is not required, this theme goes well with the <a href="https://github.com/numixproject/numix-icon-theme">Numix</a> icon theme goes well with this theme.
@ -16,6 +16,7 @@ Theming
- spicetify-cli: Used to apply the Spotify theme - spicetify-cli: Used to apply the Spotify theme
- betterdiscord: Used to apply the Discord theme - betterdiscord: Used to apply the Discord theme
- betterdiscord-ctk: Used to install betterdiscord - betterdiscord-ctk: Used to install betterdiscord
- <a href="https://github.com/enkia/tokyo-night-vscode-theme">VS code Tokyo Night theme</a>
Optional Utils Optional Utils
- st: The terminal we are using in our configs. Requires<a href="ttps://wiki.archlinux.org/title/st#Patches">patches</a> to get it good. urxvt can be used as an alternative and is themed using the config files. - st: The terminal we are using in our configs. Requires<a href="ttps://wiki.archlinux.org/title/st#Patches">patches</a> to get it good. urxvt can be used as an alternative and is themed using the config files.
@ -32,7 +33,7 @@ Optional Utils
When using I3 as window manager When using I3 as window manager
- clipit: Clipboard manager - clipit: Clipboard manager
- picom: If you want transparency - picom: If you want transparent and rounded borders in I3
- polybar: Status bar - polybar: Status bar
- polybar-themes: Is included in the repo, but should be installed separately as well to get all their dependencies. - polybar-themes: Is included in the repo, but should be installed separately as well to get all their dependencies.
- autotiling: Automatically sets in which direction a window will split based on if the parent container is wider or taller - autotiling: Automatically sets in which direction a window will split based on if the parent container is wider or taller
@ -60,7 +61,7 @@ When using Sway as window manager
- gtk-3.0: Sets some theme settings - gtk-3.0: Sets some theme settings
- i3: Example i3 config with auto starting applications, borders and gaps settings, etc - i3: Example i3 config with auto starting applications, borders and gaps settings, etc
- kanshi: Example config for using Kanshi to set your wayland monitors - kanshi: Example config for using Kanshi to set your wayland monitors
- Picom: Example config for enabling transparency when using I3. Not updated to match the theme at this moment - Picom: Example config for enabling transparency and rounded corners when using I3.
- Polybar: Theme and config for the status bar when using I3 with modules n shit enabled - Polybar: Theme and config for the status bar when using I3 with modules n shit enabled
- Spicetify: Contains theme for modifying Spotify - Spicetify: Contains theme for modifying Spotify
- Sway: Example sway config with auto starting applications, borders and gaps settings, etc - Sway: Example sway config with auto starting applications, borders and gaps settings, etc
@ -80,7 +81,7 @@ When using Sway as window manager
- Spotify: Manually edit ./config/spicetify/Themes/Base/color.ini - Spotify: Manually edit ./config/spicetify/Themes/Base/color.ini
- Discord: There is an <a href="https://limeshark.dev/editor/Nocturnal">online editor</a> to edit all the themes - Discord: There is an <a href="https://limeshark.dev/editor/Nocturnal">online editor</a> to edit all the themes
- Polybar comes bundled with various modules. Check out their for more info. Also check out the <a href="https://github.com/adi1090x/polybar-themes#readme">readme</a> of polybar-themes if you are using I3. - Polybar comes bundled with various modules. Check out their for more info. Also check out the <a href="https://github.com/adi1090x/polybar-themes#readme">readme</a> of polybar-themes if you are using I3.
- Picom can be turned on to enable transparency for I3 - Picom can be be configured for more or less transparency or different kinds of blur. The included config uses dual-kawase blur which goes over an image as background
## Installation ## Installation
### Copying files ### Copying files