Skip to content

Commit

Permalink
✨ Switch to qt5/6ct and add keepassxc.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
mekb-turtle committed Jan 14, 2025
1 parent 118a269 commit 9c110fd
Show file tree
Hide file tree
Showing 9 changed files with 151 additions and 62 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
[submodule "submodules/catppuccin-kvantum"]
path = submodules/catppuccin-kvantum
url = https://github.com/catppuccin/kvantum
[submodule "submodules/catppuccin-qt5ct"]
path = submodules/catppuccin-qt5ct
url = https://github.com/catppuccin/qt5ct
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
1. Clone the repo: `git clone https://github.com/mekb-turtle/dotfiles`
2. Run the following command to install the required packages with [Paru](https://github.com/Morganamilo/paru), or [you can install them manually, see the list below](#packages-to-install)

- paru -S hyprland hyprland-qtutils waybar dunst kitty hyprlock hyprpaper libnotify glib2 grim slurp wl-clipboard hyprpicker imagemagick jq tesseract tesseract-data-eng zbar pipewire pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse wireplumber xdg-desktop-portal xdg-desktop-portal-hyprland keepassxc openssh ttf-fira-code ttf-fira-mono ttf-nerd-fonts-symbols ttf-nerd-fonts-symbols-mono ttf-twemoji ttf-ubuntu-font-family catppuccin-gtk-theme-mocha papirus-folders-catppuccin-git catppuccin-cursors-mocha qt5ct qt6ct kvantum swayosd-git cliphist nemo mpv feh firefox gimp krita brightnessctl hypridle elogind rofi-wayland
- paru -S hyprland hyprland-qtutils waybar dunst kitty hyprlock hyprpaper libnotify glib2 grim slurp wl-clipboard hyprpicker imagemagick jq tesseract tesseract-data-eng zbar pipewire pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse wireplumber xdg-desktop-portal xdg-desktop-portal-hyprland keepassxc openssh ttf-fira-code ttf-fira-mono ttf-nerd-fonts-symbols ttf-nerd-fonts-symbols-mono ttf-twemoji ttf-ubuntu-font-family catppuccin-gtk-theme-mocha papirus-folders-catppuccin-git catppuccin-cursors-mocha qt5ct qt6ct kvantum swayosd-git cliphist nemo mpv feh firefox gimp krita brightnessctl hypridle elogind rofi-wayland darkly

3. Run the following command to install Papirus folder icons:

Expand All @@ -38,7 +38,7 @@
- To use it in your shell, run `\do shutdown` or `\do reboot`. You can also create aliases for these commands
- Auto-start keepassxc: `keepassxc` `openssh` (ssh-agent)
- Fonts: `ttf-fira-code` `ttf-fira-mono` `ttf-nerd-fonts-symbols` `ttf-nerd-fonts-symbols-mono` `ttf-twemoji` `ttf-ubuntu-font-family`
- Theme: `catppuccin-gtk-theme-mocha` `papirus-folders-catppuccin-git` `catppuccin-cursors-mocha` `qt5ct` `qt6ct` `kvantum`
- Theme: `catppuccin-gtk-theme-mocha` `papirus-folders-catppuccin-git` `catppuccin-cursors-mocha` `qt5ct` `qt6ct` `kvantum` `darkly`
- Lock screen: `hyprlock`, `hypridle`, and `elogind`
- Additional applications: `nemo` `mpv` `feh` `firefox` `gimp` `krita`
- GIMP is migrating to GTK3 in GIMP 3.0, along with other changes, so you may want to use the `gimp-git` package if you want that now
Expand Down
72 changes: 13 additions & 59 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
- Installing submodules
- - touch ~/.config/hypr/hyprland-custom.conf
- Creating custom Hyprland configuration file

- - 'if ! test -e ~/.config/keepassxc/keepassxc.ini; then install -Dm644 config/keepassxc.ini ~/.config/keepassxc/keepassxc.ini; fi'
- Installing KeePassXC configuration file
- defaults:
link:
relink: yes

- create:
- ~/.config/
- ~/.config/Kvantum
Expand All @@ -30,109 +30,63 @@
- ~/.config/cava/
- ~/.bin/
- ~/.bin/emojipicker/

- link:

~/.bin/convert-wallpaper: scripts/convert-wallpaper

~/.bin/emoji: submodules/emojipicker/emoji

~/.bin/emojiclip: submodules/emojipicker/emojiclip

~/.bin/emojipicker/emojis: submodules/emojipicker/emojis

~/.bin/hyprstart: scripts/hyprstart

~/.bin/keybinds: keybinds

~/.bin/kill-window: scripts/kill-window

~/.bin/power: scripts/power

~/.bin/rewallpaper: scripts/rewallpaper

~/.bin/rewaybar: scripts/rewaybar

~/.bin/screenshot: submodules/hyprland-screenshot/screenshot.sh

~/.bin/screenshot-ocr: scripts/screenshot-ocr

~/.bin/screenshot-preview: scripts/screenshot-preview

~/.bin/screenshot-qr: scripts/screenshot-qr

~/.bin/start-keepassxc: scripts/start-keepassxc

~/.bin/update-gtk: scripts/update-gtk

~/.config/Kvantum/catppuccin-mocha-pink: submodules/catppuccin-kvantum/themes/catppuccin-mocha-pink

~/.config/qt5ct/qt5ct.conf: config/qt5ct.conf
~/.config/qt6ct/qt6ct.conf: config/qt6ct.conf
~/.config/qt5ct/colors/catppuccin-$CTP_THEME.conf: submodules/catppuccin-qt5ct/themes/catppuccin-$CTP_THEME.conf
~/.config/qt6ct/colors/catppuccin-$CTP_THEME.conf: submodules/catppuccin-qt5ct/themes/catppuccin-$CTP_THEME.conf
~/.config/Kvantum/catppuccin-$CTP_THEME: submodules/catppuccin-kvantum/themes/catppuccin-$CTP_THEME
~/.config/Kvantum/kvantum.kvconfig: config/kvantum.kvconfig

~/.config/cava/config:
force: yes
path: config/cava.conf

~/.config/dunst/dunstrc: config/dunstrc

~/.config/fontconfig/fonts.conf: config/fonts.conf

~/.config/gtk-2.0/gtkfilechooser.ini:
force: yes
path: config/gtkfilechooser.ini

~/.config/gtk-2.0/gtkrc: config/gtkrc

~/.config/gtk-3.0/assets: /usr/share/themes/catppuccin-mocha-pink-standard+default/gtk-3.0/assets

~/.config/gtk-3.0/gtk-dark.css: /usr/share/themes/catppuccin-mocha-pink-standard+default/gtk-3.0/gtk-dark.css

~/.config/gtk-3.0/gtk.css: /usr/share/themes/catppuccin-mocha-pink-standard+default/gtk-3.0/gtk.css

~/.config/gtk-3.0/assets: /usr/share/themes/catppuccin-$CTP_THEME-standard+default/gtk-3.0/assets
~/.config/gtk-3.0/gtk-dark.css: /usr/share/themes/catppuccin-$CTP_THEME-standard+default/gtk-3.0/gtk-dark.css
~/.config/gtk-3.0/gtk.css: /usr/share/themes/catppuccin-$CTP_THEME-standard+default/gtk-3.0/gtk.css
~/.config/gtk-3.0/gtkfilechooser.ini:
force: yes
path: config/gtkfilechooser.ini

~/.config/gtk-3.0/settings.ini: config/gtksettings.ini

~/.config/gtk-4.0/assets: /usr/share/themes/catppuccin-mocha-pink-standard+default/gtk-4.0/assets

~/.config/gtk-4.0/gtk-dark.css: /usr/share/themes/catppuccin-mocha-pink-standard+default/gtk-4.0/gtk-dark.css

~/.config/gtk-4.0/gtk.css: /usr/share/themes/catppuccin-mocha-pink-standard+default/gtk-4.0/gtk.css

~/.config/gtk-4.0/assets: /usr/share/themes/catppuccin-$CTP_THEME-standard+default/gtk-4.0/assets
~/.config/gtk-4.0/gtk-dark.css: /usr/share/themes/catppuccin-$CTP_THEME-standard+default/gtk-4.0/gtk-dark.css
~/.config/gtk-4.0/gtk.css: /usr/share/themes/catppuccin-$CTP_THEME-standard+default/gtk-4.0/gtk.css
~/.config/hypr/conf: hyprland.conf.d

~/.config/hypr/hypridle.conf: config/hypridle.conf

~/.config/hypr/hyprland.conf: hyprland.conf

~/.config/hypr/hyprlock.conf: config/hyprlock.conf

~/.config/hypr/hyprpaper.conf: config/hyprpaper.conf

~/.config/hypr/themes/frappe.conf: submodules/catppuccin-hyprland/themes/frappe.conf

~/.config/hypr/themes/latte.conf: submodules/catppuccin-hyprland/themes/latte.conf

~/.config/hypr/themes/macchiato.conf: submodules/catppuccin-hyprland/themes/macchiato.conf

~/.config/hypr/themes/mocha.conf: submodules/catppuccin-hyprland/themes/mocha.conf

~/.config/kitty/kitty.conf: config/kitty.conf

~/.config/rofi/config.rasi: config/rofi.rasi

~/.config/waybar/config.jsonc: config/waybar/config.jsonc

~/.config/waybar/style.css: config/waybar/style.css

~/.icons/default/index.theme: config/icons.theme

~/.local/share/rofi/themes/catppuccin-frappe.rasi: submodules/catppuccin-rofi/basic/.local/share/rofi/themes/catppuccin-frappe.rasi

~/.local/share/rofi/themes/catppuccin-latte.rasi: submodules/catppuccin-rofi/basic/.local/share/rofi/themes/catppuccin-latte.rasi

~/.local/share/rofi/themes/catppuccin-macchiato.rasi: submodules/catppuccin-rofi/basic/.local/share/rofi/themes/catppuccin-macchiato.rasi

~/.local/share/rofi/themes/catppuccin-mocha.rasi: submodules/catppuccin-rofi/basic/.local/share/rofi/themes/catppuccin-mocha.rasi
71 changes: 71 additions & 0 deletions config/keepassxc.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
[General]
BackupBeforeSave=true
BackupFilePathPattern={DB_FILENAME}.kdbx.{TIME:dd.MM.yy}.old
ConfigVersion=2
FaviconDownloadTimeout=6
UpdateCheckMessageShown=true

[Browser]
CustomProxyLocation=
Enabled=true

[FdoSecrets]
Enabled=true
NoConfirmDeleteItem=false
UnlockBeforeSearch=true

[GUI]
AdvancedSettings=false
ApplicationTheme=classic
CheckForUpdates=false
ColorPasswords=true
CompactMode=true
HideMenubar=false
HidePasswords=true
HidePreviewPanel=false
HideToolbar=false
HideUsernames=false
MinimizeOnClose=true
MinimizeOnStartup=true
MinimizeToTray=true
MonospaceNotes=true
MovableToolbar=false
ShowExpiredEntriesOnDatabaseUnlock=false
ShowTrayIcon=true
ToolButtonStyle=0
TrayIconAppearance=monochrome-light

[KeeShare]
QuietSuccess=true

[PasswordGenerator]
AdditionalChars=
AdvancedMode=true
Braces=false
Dashes=false
EASCII=false
ExcludeAlike=true
ExcludedChars=
Length=64
Logograms=false
LowerCase=true
Math=false
Numbers=true
Punctuation=false
Quotes=false
SpecialChars=true
UpperCase=true
WordCase=2
WordCount=40

[SSHAgent]
Enabled=true

[Security]
ClearClipboardTimeout=7
IconDownloadFallback=true
LockDatabaseIdle=true
LockDatabaseIdleSeconds=120
LockDatabaseMinimize=false
LockDatabaseScreenLock=true
NoConfirmMoveEntryToRecycleBin=false
29 changes: 29 additions & 0 deletions config/qt5ct.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[Appearance]
color_scheme_path=/home/sophie/.config/qt5ct/colors/catppuccin-mocha-pink.conf
custom_palette=true
icon_theme=Papirus
standard_dialogs=gtk3
style=Darkly

[Fonts]
fixed="Ubuntu,12,-1,5,50,0,0,0,0,0"
general="Ubuntu,12,-1,5,50,0,0,0,0,0"

[Interface]
activate_item_on_single_click=1
buttonbox_layout=3
cursor_flash_time=1000
dialog_buttons_have_icons=1
double_click_interval=400
gui_effects=@Invalid()
keyboard_scheme=4
menus_have_icons=true
show_shortcuts_in_context_menus=true
stylesheets=@Invalid()
toolbutton_style=2
underline_shortcut=1
wheel_scroll_lines=3

[Troubleshooting]
force_raster_widgets=1
ignored_applications=@Invalid()
29 changes: 29 additions & 0 deletions config/qt6ct.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[Appearance]
color_scheme_path=/home/sophie/.config/qt6ct/colors/catppuccin-mocha-pink.conf
custom_palette=true
icon_theme=Papirus
standard_dialogs=gtk3
style=Darkly

[Fonts]
fixed="Ubuntu,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
general="Ubuntu,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"

[Interface]
activate_item_on_single_click=1
buttonbox_layout=3
cursor_flash_time=1000
dialog_buttons_have_icons=1
double_click_interval=400
gui_effects=@Invalid()
keyboard_scheme=4
menus_have_icons=true
show_shortcuts_in_context_menus=true
stylesheets=@Invalid()
toolbutton_style=2
underline_shortcut=1
wheel_scroll_lines=3

[Troubleshooting]
force_raster_widgets=1
ignored_applications=@Invalid()
2 changes: 1 addition & 1 deletion hyprland.conf.d/appearance.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env = XCURSOR_SIZE, 32

# Theme
env = GTK_THEME, catppuccin-mocha-pink-standard+default
env = QT_STYLE_OVERRIDE, kvantum-dark
env = QT_QPA_PLATFORMTHEME, qt5ct

workspace=w[tv1], gapsout:8 # set outer gaps on workspaces with only 1 tiled window

Expand Down
2 changes: 2 additions & 0 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -e

export CTP_THEME=mocha-pink

CONFIG="config.yaml"
DOTBOT_DIR="submodules/dotbot"

Expand Down
1 change: 1 addition & 0 deletions submodules/catppuccin-qt5ct
Submodule catppuccin-qt5ct added at 0442cc

0 comments on commit 9c110fd

Please sign in to comment.