Optimizations

This commit is contained in:
Stephan Raabe 2023-02-22 11:06:09 +01:00
parent f9f3fc5ca0
commit 07b3d5b54d
7 changed files with 41 additions and 9 deletions

18
.gtkrc-2.0 Normal file
View File

@ -0,0 +1,18 @@
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
include "/home/raabe/.gtkrc-2.0.mine"
gtk-theme-name="Adapta-Nokto"
gtk-icon-theme-name="Tela-circle-orange-dark"
gtk-font-name="Cantarell 11"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"

View File

@ -12,13 +12,13 @@ echo "START INSTALLATION..."
# Install required packages # Install required packages
# ------------------------------------------------------ # ------------------------------------------------------
echo "-> Install main packages" echo "-> Install main packages"
sudo pacman -S alacritty scrot nitrogen picom starship chromium slock neomutt rofi dunst ueberzug mpv freerdp spotifyd xfce4-power-manager python-pip thunar mousepad lxappearance papirus-icon-theme ttf-font-awesome ttf-fira-sans ttf-fira-code ttf-firacode-nerd figlet cmatrix sudo pacman -S alacritty scrot nitrogen picom starship chromium slock neomutt rofi dunst ueberzug mpv freerdp spotifyd xfce4-power-manager python-pip thunar mousepad lxappearance papirus-icon-theme ttf-font-awesome ttf-fira-sans ttf-fira-code ttf-firacode-nerd figlet cmatrix qalculate-gtk adapta-gtk-theme
# ------------------------------------------------------ # ------------------------------------------------------
# Install required packages # Install required packages
# ------------------------------------------------------ # ------------------------------------------------------
echo "-> Install AUR packages" echo "-> Install AUR packages"
yay -S pywal timeshift graphite-gtk-theme tela-circle-icon-theme-orange yay -S pywal timeshift tela-circle-icon-theme-orange
# ------------------------------------------------------ # ------------------------------------------------------
# Install Pip packages # Install Pip packages
@ -42,6 +42,8 @@ ln -s ~/dotfiles/vim/ ~/.config
ln -s ~/dotfiles/starship/starship.toml ~/.config/starship.toml ln -s ~/dotfiles/starship/starship.toml ~/.config/starship.toml
rm ~/.bashrc rm ~/.bashrc
ln -s ~/dotfiles/.bashrc ~/.bashrc ln -s ~/dotfiles/.bashrc ~/.bashrc
rm ~/.gtkrc-2.0
ln -s ~/dotfiles/.gtkrc-2.0 ~/.gtkrc-2.0
# ------------------------------------------------------ # ------------------------------------------------------
# Clone wallpapers # Clone wallpapers

View File

@ -259,7 +259,10 @@ inactive-dim-fixed = 1.0
# opacity-rule = [ "80:class_g = 'URxvt'" ]; # opacity-rule = [ "80:class_g = 'URxvt'" ];
# #
opacity-rule = [ opacity-rule = [
"90:class_g = 'Alacritty'" "90:class_g = 'Alacritty' && focused",
"70:class_g = 'Alacritty' && !focused",
"70:class_g = 'Rofi'",
"80:class_g = 'Chromium' && !focused"
] ]
@ -276,7 +279,7 @@ rounded-corners-exclude = [
"window_type = 'dock'", "window_type = 'dock'",
"window_type = 'desktop'", "window_type = 'desktop'",
# "class_g = 'Dunst'", # "class_g = 'Dunst'",
# "class_g = 'Rofi'", "class_g = 'Rofi'",
"QTILE_INTERNAL:32c = 1" "QTILE_INTERNAL:32c = 1"
]; ];

View File

@ -181,8 +181,16 @@ screens = [
), ),
widget.Systray(), widget.Systray(),
widget.TextBox( widget.TextBox(
text='', text='',
foreground=ColorC, fontsize=16,
foreground='ffffff',
desc='Calculator',
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn('qalculate-gtk')},
),
widget.TextBox(
text='',
fontsize=16,
foreground='ffffff',
desc='Notes', desc='Notes',
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e vim /home/raabe/notes.txt')}, mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e vim /home/raabe/notes.txt')},
), ),

View File

@ -2,7 +2,7 @@ configuration {
display-drun: "Applications:"; display-drun: "Applications:";
display-window: "Windows:"; display-window: "Windows:";
drun-display-format: "{name}"; drun-display-format: "{name}";
font: "JetBrainsMono Nerd Font Medium 10"; font: "Fira Sans 11";
modi: "window,run,drun"; modi: "window,run,drun";
lines: 10; lines: 10;
} }
@ -15,7 +15,7 @@ configuration {
} }
#window { #window {
border:0px; border:2px;
border-color:@foreground; border-color:@foreground;
} }

View File

@ -5,5 +5,6 @@ echo "Waiting 20 sec for Windows 11 startup..."
sleep 20 sleep 20
echo "Starting xfreerdp now..." echo "Starting xfreerdp now..."
xfreerdp -grab-keyboard /t:"Windows 11" /v:192.168.122.42 /size:100% /d: /p:sancho /dynamic-resolution /gfx-h264:avc444 +gfx-progressive & xfreerdp -grab-keyboard /t:"Windows 11" /v:192.168.122.42 /size:100% /d: /p:sancho /dynamic-resolution /gfx-h264:avc444 +gfx-progressive &
sleep 3
exit return 0