diff options
| -rwxr-xr-x | claws/claws-mail | 15 | ||||
| -rwxr-xr-x | install.sh | 3 | ||||
| -rw-r--r-- | shell/.profile | 1 | ||||
| -rwxr-xr-x | sway/init.sh | 9 |
4 files changed, 28 insertions, 0 deletions
diff --git a/claws/claws-mail b/claws/claws-mail new file mode 100755 index 0000000..da73064 --- /dev/null +++ b/claws/claws-mail @@ -0,0 +1,15 @@ +#!/bin/sh + +sed -i \ + "s/^mainwin_maximised=.*$/mainwin_maximised=0/g" \ + "s/^main_messagewin_x=.*$/main_messagewin_x=256/g" \ + "s/^main_messagewin_y=.*$/main_messagewin_y=210/g" \ + "s/^messageview_width=.*$/messageview_width=971/g" \ + "s/^messageview_height=.*$/messageview_height=513/g" \ + "s/^mainview_width=.*$/mainview_width=971/g" \ + "s/^mainview_height=.*$/mainview_height=909/g" \ + "s/^mainwin_width=.*$/mainwin_width=1291/g" \ + "s/^mainwin_height=.*$/mainwin_height=909/g" \ + ~/.claws-mail/clawsrc + +exec /usr/bin/claws-mail "$@" @@ -63,6 +63,9 @@ cp /usr/share/applications/chromium.desktop ~/.local/share/applications sed -i "s/^Exec=\\/usr/Exec=$(cd; pwd | sed 's/\//\\\//g')/g" \ ~/.local/share/applications/chromium.desktop +# claws +symlink ~/.dotfiles/claws/claws-mail ~/bin/claws-mail + # cudatext mkdir -p ~/.config/cudatext/settings symlink ~/.dotfiles/cudatext/user.json ~/.config/cudatext/settings/user.json diff --git a/shell/.profile b/shell/.profile index 579109f..a3a427d 100644 --- a/shell/.profile +++ b/shell/.profile @@ -6,6 +6,7 @@ # export QT_QPA_PLATFORM=wayland # export QT_WAYLAND_FORCE_DPI=120 # export SDL_VIDEODRIVER=wayland +# export SWEETHOME3D_JAVA3D=1.6 # export WLR_DRM_NO_MODIFIERS=1 export PATH=~/bin:~/opt/python39/bin:~/opt/janet/bin:$PATH export QT_QPA_PLATFORMTHEME=qt5ct diff --git a/sway/init.sh b/sway/init.sh index c854d80..95d2952 100755 --- a/sway/init.sh +++ b/sway/init.sh @@ -27,3 +27,12 @@ swaymsg assign "[app_id=\"^tmux_term\$\"]" 9:term # export GDK_DPI_SCALE=0.95 gsettings set org.gnome.desktop.interface scaling-factor 1 gsettings set org.gnome.desktop.interface text-scaling-factor 1 + +export QT_QPA_PLATFORM=wayland +systemctl --user import-environment \ + QT_QPA_PLATFORM \ + SWAYSOCK \ + WAYLAND_DISPLAY \ + XDG_SESSION_TYPE + +systemctl --user restart plasma-kactivitymanagerd.service |
