From 6e148d865e1138199fe28863530396a99f946fe1 Mon Sep 17 00:00:00 2001 From: t0xa Date: Sat, 23 Aug 2025 23:37:41 +0300 Subject: [PATCH] i3: Split theme to separate file --- i3/config | 24 ++++-------------------- i3/themes/cattpuccin.conf | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 20 deletions(-) create mode 100644 i3/themes/cattpuccin.conf diff --git a/i3/config b/i3/config index bcd2dcd..975018f 100644 --- a/i3/config +++ b/i3/config @@ -166,14 +166,7 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu # Obsidian # bindsym Ctrl+Shift+O exec obsidian -# Binding to focus fo certain apps -# 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+b exec --no-startup-id sh -c 'i3-msg "[class=\"Brave-browser\"] focus" || brave' 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 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 font pango:JetBrainsMonoNL Nerd Font Bold 10 -# Set theme -default_border pixel 2 - -# 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 +# Load theme +include ~/.config/i3/themes/cattpuccin.conf # Lockscreen binding bindsym Control+Mod1+q exec "i3lock -c 000000" # Wallpapers setup # 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 diff --git a/i3/themes/cattpuccin.conf b/i3/themes/cattpuccin.conf new file mode 100644 index 0000000..e2b7a48 --- /dev/null +++ b/i3/themes/cattpuccin.conf @@ -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 +