From d510a0332940643d6ec3c76bb57cd470414d0a77 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Sun, 28 Jan 2024 20:28:27 +0100 Subject: [PATCH] Add GTK Mocha theme --- .config/bootstrap/config_common | 5 +++++ .config/gtk-3.0/settings.ini | 19 +++++++++++++++---- .config/picom.conf | 15 +++++++++++++-- .init_config.sh | 3 +++ 4 files changed, 36 insertions(+), 6 deletions(-) diff --git a/.config/bootstrap/config_common b/.config/bootstrap/config_common index 365c9b2..7880b23 100644 --- a/.config/bootstrap/config_common +++ b/.config/bootstrap/config_common @@ -4,6 +4,8 @@ arc-icon-theme bluez bluetooth-autoconnect bind +catppuccin-cursors-macchiato +catppuccin-gtk-theme-macchiato chromium cups docker @@ -26,6 +28,7 @@ kwayland5 libreoffice-fresh libusb-compat less +lxappearance-gtk3 maim man-db man-pages @@ -42,6 +45,8 @@ obsidian oh-my-posh oh-my-zsh-git pacman-contrib +papirus-icon-theme +papirus-folders-catppuccin-git pass picom playerctl diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini index 2ca23c7..d3b68a6 100644 --- a/.config/gtk-3.0/settings.ini +++ b/.config/gtk-3.0/settings.ini @@ -1,5 +1,16 @@ [Settings] -gtk-icon-theme-name = Arc -gtk-theme-name = Arc -gtk-font-name = Noto Sans 11 -gtk-can-change-accels = 1 +gtk-icon-theme-name=Papirus-Dark +gtk-theme-name=Catppuccin-Macchiato-Standard-Flamingo-Dark +gtk-font-name=Noto Sans 11 +gtk-can-change-accels=1 +gtk-cursor-theme-name=Catppuccin-Macchiato-Flamingo-Cursors +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_ICONS +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=0 +gtk-menu-images=0 +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle=hintmedium diff --git a/.config/picom.conf b/.config/picom.conf index 48c8e90..d6fc25d 100644 --- a/.config/picom.conf +++ b/.config/picom.conf @@ -8,7 +8,8 @@ # unless explicitly requested using the wintypes option. # # shadow = false -shadow = true; +# Get rid of shadow behind corners +shadow = false; # The blur radius for shadows, in pixels. (defaults to 12) # shadow-radius = 12 @@ -156,6 +157,14 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ]; ################################# +blur: { + method = "dual_kawase"; + strength = 1; + background = true; + background-frame = true; + background-fixed = true; +} + # Parameters for background blurring, see the *BLUR* section for more information. # blur-method = # blur-size = 12 @@ -207,7 +216,8 @@ blur-background-exclude = [ # `xrender` is the default one. # # backend = 'glx' -backend = "xrender"; +# With xrender there is black in place of rounded corners +backend = "glx"; # Enable/disable VSync. # vsync = false @@ -232,6 +242,7 @@ mark-ovredir-focused = true; # detect-rounded-corners = false detect-rounded-corners = true; +corner-radius = 7.0 # Detect '_NET_WM_OPACITY' on client windows, useful for window managers # not passing '_NET_WM_OPACITY' of client windows to frame windows. # diff --git a/.init_config.sh b/.init_config.sh index 308221d..e90d35e 100755 --- a/.init_config.sh +++ b/.init_config.sh @@ -130,6 +130,9 @@ if [ ! -z "$INIT" ]; then echo -e "\tFor zsh..." sudo mkdir -p /usr/local/share/fsh sudo wget https://raw.githubusercontent.com/catppuccin/zsh-fsh/main/themes/catppuccin-mocha.ini -O /usr/local/share/fsh/catppuccin-mocha.ini + echo -e "\tFor gtk..." + # Change icon color for Papirus Icon Theme + papirus-folders -C cat-latte-flamingo --theme Papirus-Dark # Basic directory structure echo -e "* Create base home directories..." mkdir -p ~/documents ~/images/screenshots ~/videos ~/downloads