mirror of
https://github.com/zoriya/dotfiles.git
synced 2026-06-01 18:47:26 +00:00
Adding qt5ct configuration
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
[submodule "gtk/themes/MaterialOcean"]
|
||||
path = gtk/themes/MaterialOcean
|
||||
url = git@github.com:material-ocean/Gtk-Theme.git
|
||||
[submodule "qt5ct/config"]
|
||||
path = qt5ct/config
|
||||
url = git@github.com:material-ocean/Qt5ct-theme.git
|
||||
|
||||
@@ -50,6 +50,9 @@ ln -s "$(realpath fontconfig/config)" ~/.config/fontconfig -f
|
||||
ln -s "$(realpath gtk/themes)" ~/.themes -f
|
||||
ln -s "$(realpath gtk/config/gtk-3.0/settings.ini)" ~/.config/gtk-3.0/settings.ini -f
|
||||
ln -s "$(realpath gtk/gtkrc-2.0)" ~/.gtkrc-2.0 -f
|
||||
|
||||
./qt5ct/install.sh
|
||||
|
||||
sudo ln -s "$(realpath startdwm)" /usr/bin/startdwm -f
|
||||
sudo ln -s "$(realpath dwm.desktop)" /usr/share/xsessions/dwm.desktop -f
|
||||
sudo ln -s "$(realpath fonts)" /usr/local/share/fonts -f
|
||||
|
||||
+2
-1
@@ -6,4 +6,5 @@ networkmanager
|
||||
blueberry
|
||||
clipmenu
|
||||
flameshot
|
||||
ibhagwan/picom
|
||||
ibhagwan/picom
|
||||
qt5ct
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
# FG BTN_BG bright less brdark less da txt fg br text btn fg txt bg bg shadow sel bg sel fg link visited alt bg default tooltip bg tooltip_fg
|
||||
[ColorScheme]
|
||||
active_colors=#ffffff, #0f111a, #0f111a, #0f111a, #0f111a, #0f111a, #ffffff, #ffffff, #ffffff, #0f111a, #0f111a, #0f111a, #ff4151, #ffffff, #ff4151, #ffffff, #0f111a, #ffffff, 0f111a, #ffffff
|
||||
disabled_colors=#c3c3c5, #0f111a, #0f111a, #0f111a, #0f111a, #0f111a, #c3c3c5, #c3c3c5, #c3c3c5, #0f111a, #0f111a, #0f111a, #ff4151, #ffffff, #ff4151, #c3c3c5, #0f111a, #c3c3c5, #0f111a, #c3c3c5
|
||||
inactive_colors=#ffffff, #0f111a, #0f111a, #0f111a, #0f111a, #0f111a, #ffffff, #ffffff, #ffffff, #0f111a, #0f111a, #0f111a, #ff4151, #ffffff, #ff4151, #ffffff, #0f111a, #ffffff, #0f111a, #ffffff
|
||||
|
||||
# FG BTN_BG bright less br dark less da txt fg br text btn fg txt bg bg shadow sel bg sel fg link visite alt bg default tooltip bg tooltip_fg
|
||||
# active_colors=#ffffff, #0f111a, #0f111a, #cbc7c4, #9f9d9a, #b8b5b2, #ffffff, #ff0000, #ffffff, #0f111a, #0f111a, #767472, #ff4151, #ffffff, #ff4151, #ffffff, #0f111a, #ffffff, 0f111a, #ffffff
|
||||
#disabled_colors=#c3c3c5, #0f111a, #0f111a, #cbc7c4, #9f9d9a, #b8b5b2, #c3c3c5, #ffec17, #ffffff, #0f111a, #0f111a, #767472, #ff4151, #ffffff, #ff4151, #c3c3c5, #0f111a, #c3c3c5, #0f111a, #c3c3c5
|
||||
#inactive_colors=#ffffff, #0f111a, #0f111a, #cbc7c4, #9f9d9a, #b8b5b2, #ffffff, #ff9040, #ffffff, #0f111a, #0f111a, #767472, #ff4151, #ffffff, #ff4151, #ffffff, #0f111a, #ffffff, #0f111a, #ffffff
|
||||
@@ -0,0 +1,135 @@
|
||||
QMenuBar, QMenu, QToolBar, QStatusBar, QFrame, QScrollBar {
|
||||
border: none;
|
||||
}
|
||||
QTabBar::tab:selected {
|
||||
color: palette(bright-text);
|
||||
}
|
||||
|
||||
/* match scrollbars to gtk theme */
|
||||
QScrollBar::handle {
|
||||
background: #41434A;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:hover {
|
||||
background: palette(highlight);
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
QScrollBar::add-line, QScrollBar::sub-line {
|
||||
background: palette(window);
|
||||
}
|
||||
|
||||
QScrollBar {
|
||||
background: palette(dark);
|
||||
}
|
||||
|
||||
/* match tooltips */
|
||||
QToolTip{
|
||||
background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 palette(window), stop: 1 palette(alternate-window));
|
||||
border-radius: 1px;
|
||||
border: 1px solid palette(dark);
|
||||
padding: 1px;
|
||||
color: palette(text);
|
||||
}
|
||||
|
||||
/* SLIDERS */
|
||||
QSlider::groove:horizontal {
|
||||
border: 1px solid palette(mid);
|
||||
background: palette(alternate-window);
|
||||
height: 10px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
QSlider::groove:vertical {
|
||||
border: 1px solid palette(mid);
|
||||
background: palette(alternate-window);
|
||||
width: 10px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
QSlider::sub-page:horizontal {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1,
|
||||
stop: 0 transparent, stop: 1 palette(highlight) );
|
||||
border: 1px solid transparent;
|
||||
height: 10px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
QSlider::add-page:vertical {
|
||||
background: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1,
|
||||
stop: 0 transparent, stop: 1 palette(highlight) );
|
||||
border: 1px solid transparent;
|
||||
width: 10px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
QSlider::add-page:horizontal{
|
||||
background: palette(alternate-window);
|
||||
border: 1px solid transparent;
|
||||
height: 10px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
QSlider::sub-page:vertical{
|
||||
background: palette(alternate-window);
|
||||
border: 1px solid transparent;
|
||||
width: 10px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
QSlider::handle:horizontal{
|
||||
background: palette(mid);
|
||||
border: 1px solid palette(mid);
|
||||
width: 1ex;
|
||||
border-radius: 1px;
|
||||
}
|
||||
QSlider::handle:vertical{
|
||||
background: palette(mid);
|
||||
border: 1px solid palette(mid);
|
||||
height: 1ex;
|
||||
border-radius: 1px;
|
||||
}
|
||||
QSlider::handle:horizontal:hover, QSlider::handle:vertical:hover{
|
||||
border: 1px solid palette(highlight);
|
||||
background: palette(highlight);
|
||||
}
|
||||
|
||||
QSlider::sub-page:horizontal:disabled {
|
||||
background: palette(highlight);
|
||||
border-color: palette(highlight);
|
||||
}
|
||||
|
||||
QSlider::add-page:horizontal:disabled {
|
||||
background: palette(highlight);
|
||||
border-color: palette(highlight);
|
||||
}
|
||||
|
||||
QSlider::handle:horizontal:disabled {
|
||||
background: palette(alternate-window);
|
||||
border: 1px solid palette(highlight);
|
||||
}
|
||||
|
||||
/* hide window resize grip */
|
||||
QSizeGrip {
|
||||
background: palette(dark);
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
}
|
||||
|
||||
/* radio buttons */
|
||||
QRadioButton {
|
||||
background-color: palette(dark);
|
||||
color: white;
|
||||
}
|
||||
|
||||
QRadioButton::indicator {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
QRadioButton::indicator:checked {
|
||||
background-color: palette(highlight);
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
QRadioButton::indicator:unchecked {
|
||||
background-color: palette(dark);
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#/usr/bin/env zsh
|
||||
set -e
|
||||
cd $(dirname $0)
|
||||
|
||||
ln -s $(realpath qt5ct/qt5ct.conf) ~/.config/qt5ct/qt5ct.conf -f
|
||||
ln -s $(realpath Material-Ocean/colors/Material-Ocean.conf) ~/.config/qt5ct/colors -f
|
||||
ln -s $(realpath Material-Ocean/colors/Material-Ocean.conf) ~/.config/qt5ct/colors -f
|
||||
@@ -0,0 +1,32 @@
|
||||
[Appearance]
|
||||
color_scheme_path=~/.config/qt5ct/colors/Material-Ocean.conf
|
||||
custom_palette=true
|
||||
icon_theme=breeze-dark
|
||||
standard_dialogs=default
|
||||
style=Breeze
|
||||
|
||||
[Fonts]
|
||||
fixed=@Variant(\0\0\0@\0\0\0.\0J\0\x65\0t\0\x42\0r\0\x61\0i\0n\0s\0M\0o\0n\0o\0 \0N\0\x65\0r\0\x64\0 \0\x46\0o\0n\0t@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x11)
|
||||
general=@Variant(\0\0\0@\0\0\0\x12\0N\0o\0t\0o\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
|
||||
|
||||
[Interface]
|
||||
activate_item_on_single_click=1
|
||||
buttonbox_layout=0
|
||||
cursor_flash_time=1000
|
||||
dialog_buttons_have_icons=1
|
||||
double_click_interval=400
|
||||
gui_effects=@Invalid()
|
||||
keyboard_scheme=2
|
||||
menus_have_icons=true
|
||||
show_shortcuts_in_context_menus=true
|
||||
stylesheets=@Invalid()
|
||||
toolbutton_style=4
|
||||
underline_shortcut=1
|
||||
wheel_scroll_lines=3
|
||||
|
||||
[SettingsWindow]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\a\x80\0\0\0\x1b\0\0\xe\xff\0\0\x4\x37\0\0\a\x80\0\0\0\x1b\0\0\xe\xff\0\0\x4\x37\0\0\0\0\0\0\0\0\a\x80\0\0\a\x80\0\0\0\x1b\0\0\xe\xff\0\0\x4\x37)
|
||||
|
||||
[Troubleshooting]
|
||||
force_raster_widgets=1
|
||||
ignored_applications=@Invalid()
|
||||
@@ -10,7 +10,7 @@ setxkbmap fr
|
||||
xset +fp /usr/local/share/fonts
|
||||
xset fp rehash
|
||||
|
||||
xset -dpms
|
||||
xset s off -dpms
|
||||
|
||||
/usr/lib/polkit-kde-authentication-agent-1 &
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ export LANG=en_US.UTF-8
|
||||
export XDG_CONFIG_HOME=$HOME/.config
|
||||
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
|
||||
export EDITOR=vim
|
||||
export VISUAL=$EDITOR
|
||||
|
||||
Reference in New Issue
Block a user