Some fixes from Sway edition

This commit is contained in:
Aleksey Samoilov 2024-07-19 21:58:31 +04:00
parent 5876e2df16
commit 91d53b955d
Signed by: Sunderland93
GPG key ID: D3E730685C28F1FB
5 changed files with 82 additions and 48 deletions

View file

@ -1,78 +1,96 @@
color_set:
text: &TEXT "#CAD3F5"
subtext0: &SUBTEXT0 "#E3E3F3"
subtext1: &SUBTEXT1 "#CED4E0"
surface2: &SURFACE2 "#5B6078"
surface1: &SURFACE1 "#494D64"
index16: &INDEX16 "#F5A97F"
index17: &INDEX17 "#F4DBD6"
base: &BASE "#24273A"
red: &RED "#ED6070"
green: &GREEN "#A6DA95"
blue: &BLUE "#8AADF4"
yellow: &YELLOW "#EED49F"
pink: &PINK "#F5BDE6"
teal: &TEAL "#8BD5CA"
rosewater: &ROSEWATER "#F4DBD6"
lavender: &LAVENDER "#B7BDF8"
colors: colors:
# Default colors # Default colors
primary: primary:
background: "#24273A" # base background: *BASE # base
foreground: "#CAD3F5" # text foreground: *TEXT # text
# Bright and dim foreground colors # Bright and dim foreground colors
dim_foreground: "#CAD3F5" # text dim_foreground: *TEXT # text
bright_foreground: "#CAD3F5" # text bright_foreground: *TEXT # text
# Cursor colors # Cursor colors
cursor: cursor:
text: "#24273A" # base text: *BASE # base
cursor: "#F4DBD6" # rosewater cursor: *ROSEWATER # rosewater
vi_mode_cursor: vi_mode_cursor:
text: "#24273A" # base text: *BASE # base
cursor: "#B7BDF8" # lavender cursor: *LAVENDER # lavender
# Search colors # Search colors
search: search:
matches: matches:
foreground: "#24273A" # base foreground: *BASE # base
background: "#A5ADCB" # subtext0 background: *SUBTEXT0 # subtext0
focused_match: focused_match:
foreground: "#24273A" # base foreground: *BASE # base
background: "#A6DA95" # green background: *GREEN # green
footer_bar: footer_bar:
foreground: "#24273A" # base foreground: *BASE # base
background: "#A5ADCB" # subtext0 background: *SUBTEXT0 # subtext0
# Keyboard regex hints # Keyboard regex hints
hints: hints:
start: start:
foreground: "#24273A" # base foreground: *BASE # base
background: "#EED49F" # yellow background: *YELLOW # yellow
end: end:
foreground: "#24273A" # base foreground: *BASE # base
background: "#A5ADCB" # subtext0 background: *SUBTEXT0 # subtext0
# Selection colors # Selection colors
selection: selection:
text: "#24273A" # base text: *BASE # base
background: "#F4DBD6" # rosewater background: *ROSEWATER # rosewater
# Normal colors # Normal colors
normal: normal:
black: "#494D64" # surface1 black: *SURFACE1 # surface1
red: "#ED8796" # red red: *RED # red
green: "#A6DA95" # green green: *GREEN # green
yellow: "#EED49F" # yellow yellow: *YELLOW # yellow
blue: "#8AADF4" # blue blue: *BLUE # blue
magenta: "#F5BDE6" # pink magenta: *PINK # pink
cyan: "#8BD5CA" # teal cyan: *TEAL # teal
white: "#B8C0E0" # subtext1 white: *SUBTEXT1 # subtext1
# Bright colors # Bright colors
bright: bright:
black: "#5B6078" # surface2 black: *SURFACE2 # surface2
red: "#ED8796" # red red: *RED # red
green: "#A6DA95" # green green: *GREEN # green
yellow: "#EED49F" # yellow yellow: *YELLOW # yellow
blue: "#8AADF4" # blue blue: *BLUE # blue
magenta: "#F5BDE6" # pink magenta: *PINK # pink
cyan: "#8BD5CA" # teal cyan: *TEAL # teal
white: "#A5ADCB" # subtext0 white: *SUBTEXT0 # subtext0
# Dim colors # Dim colors
dim: dim:
black: "#494D64" # surface1 black: *SURFACE1 # surface1
red: "#ED8796" # red red: *RED # red
green: "#A6DA95" # green green: *GREEN # green
yellow: "#EED49F" # yellow yellow: *YELLOW # yellow
blue: "#8AADF4" # blue blue: *BLUE # blue
magenta: "#F5BDE6" # pink magenta: *PINK # pink
cyan: "#8BD5CA" # teal cyan: *TEAL # teal
white: "#B8C0E0" # subtext1 white: *SUBTEXT1 # subtext1
indexed_colors: indexed_colors:
- { index: 16, color: "#F5A97F" } - { index: 16, color: "#F5A97F" }

View file

@ -13,7 +13,7 @@ Catppuccin Gedit theme based on Oblivion theme and Cappuccin for Visual Studio C
<color name="macchiato_flamingo" value="#f0c6c6"/> <color name="macchiato_flamingo" value="#f0c6c6"/>
<color name="macchiato_pink" value="#f5bde6"/> <color name="macchiato_pink" value="#f5bde6"/>
<color name="macchiato_mauve" value="#c6a0f6"/> <color name="macchiato_mauve" value="#c6a0f6"/>
<color name="macchiato_red" value="#ed8796"/> <color name="macchiato_red" value="#ed6070"/>
<color name="macchiato_maroon" value="#ee99a0"/> <color name="macchiato_maroon" value="#ee99a0"/>
<color name="macchiato_peach" value="#f5a97f"/> <color name="macchiato_peach" value="#f5a97f"/>
<color name="macchiato_yellow" value="#eed49f"/> <color name="macchiato_yellow" value="#eed49f"/>
@ -24,8 +24,8 @@ Catppuccin Gedit theme based on Oblivion theme and Cappuccin for Visual Studio C
<color name="macchiato_blue" value="#8aadf4"/> <color name="macchiato_blue" value="#8aadf4"/>
<color name="macchiato_lavender" value="#b7bdf8"/> <color name="macchiato_lavender" value="#b7bdf8"/>
<color name="macchiato_text" value="#cad3f5"/> <color name="macchiato_text" value="#cad3f5"/>
<color name="macchiato_subtext1" value="#b8c0e0"/> <color name="macchiato_subtext1" value="#ced4e0"/>
<color name="macchiato_subtext0" value="#a5adcb"/> <color name="macchiato_subtext0" value="#e3e3f3"/>
<color name="macchiato_overlay2" value="#939ab7"/> <color name="macchiato_overlay2" value="#939ab7"/>
<color name="macchiato_overlay1" value="#8087a2"/> <color name="macchiato_overlay1" value="#8087a2"/>
<color name="macchiato_overlay0" value="#6e738d"/> <color name="macchiato_overlay0" value="#6e738d"/>

View file

@ -0,0 +1,10 @@
[Unit]
Description=Automatically restart the swayidle when its configuration changes
PartOf=swayidle.service
After=swayidle.service
[Path]
PathChanged=%h/.config/swayidle/config
[Install]
WantedBy=river-session.target

View file

@ -0,0 +1,6 @@
[Service]
ExecStart=systemctl --user restart swayidle.service
Type=oneshot
[Install]
WantedBy=graphical-session.target

View file

@ -6,7 +6,7 @@ ConditionPathExists=/usr/bin/swayidle
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/swayidle ExecStart=/usr/bin/swayidle -w
[Install] [Install]
WantedBy=river-session.target WantedBy=river-session.target