i3: Split theme to separate file

This commit is contained in:
t0xa 2025-08-23 23:37:41 +03:00
parent a86d3bc789
commit 6e148d865e
2 changed files with 30 additions and 20 deletions

View file

@ -166,14 +166,7 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu
# Obsidian # Obsidian
# bindsym Ctrl+Shift+O exec obsidian # bindsym Ctrl+Shift+O exec obsidian
# Binding to focus fo certain apps bindsym Ctrl+Shift+b exec --no-startup-id sh -c 'i3-msg "[class=\"Brave-browser\"] focus" || brave'
# bindsym Mod1+Shift+o [class="obsidian"] focus
# bindsym Mod1+Shift+d [class="Google-chrome"] focus
# bindsym Mod1+Shift+k [class="kitty"] focus
# bindsym Mod1+Shift+t [class="Telegram"] focus
# bindsym Mod1+Shift+b [class="Brave-browser"] focus
bindsym Ctrl+Shift+b exec --no-startup-id sh -c 'i3-msg "[class=\"Brave-browser\"] focus" || brave-browser'
bindsym Ctrl+Shift+o exec --no-startup-id sh -c 'i3-msg "[class=\"obsidian\"] focus" || obsidian' bindsym Ctrl+Shift+o exec --no-startup-id sh -c 'i3-msg "[class=\"obsidian\"] focus" || obsidian'
bindsym $mod+Return exec --no-startup-id sh -c 'i3-msg "[class=\"kitty\"] focus" || ~/.local/kitty.app/bin/kitty' bindsym $mod+Return exec --no-startup-id sh -c 'i3-msg "[class=\"kitty\"] focus" || ~/.local/kitty.app/bin/kitty'
bindsym Ctrl+Shift+t exec --no-startup-id sh -c 'i3-msg "[class=\"Telegram\"] focus" || Telegram' bindsym Ctrl+Shift+t exec --no-startup-id sh -c 'i3-msg "[class=\"Telegram\"] focus" || Telegram'
@ -249,22 +242,13 @@ workspace 10 output DP-2
# Set font # Set font
font pango:JetBrainsMonoNL Nerd Font Bold 10 font pango:JetBrainsMonoNL Nerd Font Bold 10
# Set theme # Load theme
default_border pixel 2 include ~/.config/i3/themes/cattpuccin.conf
# class border backgr. text indicator child_border
client.focused #FB8B24 #272727 #FB8B24 #272727 #FB8B24
client.focused_inactive #333333 #626262 #FB8B24 #272727 #5f676a
client.unfocused #333333 #272727 #888888 #292d2e #222222
client.urgent #2f343a #900000 #ffffff #900000 #900000
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #ffffff
# Lockscreen binding # Lockscreen binding
bindsym Control+Mod1+q exec "i3lock -c 000000" bindsym Control+Mod1+q exec "i3lock -c 000000"
# Wallpapers setup # Wallpapers setup
# exec --no-startup-id feh --bg-scale --randomize ~/Pictures/Wallpapers/gruvbox/* # exec --no-startup-id feh --bg-scale --randomize ~/Pictures/Wallpapers/gruvbox/*
exec --no-startup-id ~/Pictures/Wallpapers/wps.sh # exec --no-startup-id ~/Pictures/Wallpapers/wps.sh

26
i3/themes/cattpuccin.conf Normal file
View file

@ -0,0 +1,26 @@
set $c_accent #43adb7
set $c_bg #272727
set $c_mid1 #333333
set $c_mid2 #626262
set $c_dimtext #888888
set $c_dim1 #292d2e
set $c_dim2 #222222
set $c_urgent #900000
set $c_white #ffffff
set $c_black #000000
set $c_gray0 #0c0c0c
set $c_2f343a #2f343a
set $c_5f676a #5f676a
# class border backgr. text indicator child_border
client.focused $c_accent $c_bg $c_accent $c_bg $c_accent
client.focused_inactive $c_mid1 $c_mid2 $c_accent $c_bg $c_5f676a
client.unfocused $c_mid1 $c_bg $c_dimtext $c_dim1 $c_dim2
client.urgent $c_2f343a $c_urgent $c_white $c_urgent $c_urgent
client.placeholder $c_black $c_gray0 $c_white $c_black $c_gray0
client.background #ffffff
default_border pixel 2