Skip to content

Commit

Permalink
Unset QT_QPA_PLATFORMTHEME
Browse files Browse the repository at this point in the history
  • Loading branch information
wizawu committed Jun 28, 2024
1 parent 144d097 commit 3b940e6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
install:
ansible-playbook -b -e user=wizawu -v install.yml
ansible-playbook -b -e user=wizawu install.yml

cron:
ansible-playbook cron.yml
Expand Down
2 changes: 1 addition & 1 deletion bin/wxwork
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ elif [ "$1" = reset ]; then
elif [ "$1" = off ]; then
VBoxManage controlvm wxwork poweroff
else
VBoxManage startvm wxwork --type gui
QT_QPA_PLATFORMTHEME=qt5ct VBoxManage startvm wxwork --type gui
fi
1 change: 0 additions & 1 deletion dotfiles/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export NODE_PATH=/usr/local/lib/node_modules
export PATH=$HOME/.sysconf/bin:$GOPATH/bin:$GRADLE_HOME/bin:$JAVA_HOME/bin:/usr/sbin:$PATH
export QT_QPA_PLATFORMTHEME=qt5ct
export RUSTUP_DIST_SERVER=https://mirrors4.tuna.tsinghua.edu.cn/rustup
export RUSTUP_UPDATE_ROOT=https://mirrors4.tuna.tsinghua.edu.cn/rustup/rustup
export TRASH_DIR=$HOME/.local/share/Trash
Expand Down
16 changes: 12 additions & 4 deletions tasks/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
enabled: false
ignore_errors: true
with_items:
- snapd
- snapd.seeded
- snapd.socket
- snapd
- systemd-resolved

- name: uninstall packages
apt:
Expand All @@ -18,14 +19,16 @@
- xdg-desktop-portal-gtk
- xdg-desktop-portal-wlr

- name: apt clean
- name: clean apt cache
apt:
autoremove: true
purge: true
clean: true

- name: remove cinnamon-screensaver, nemo-desktop
shell: mv /usr/bin/{{item}} /usr/bin/.{{item}}
- name: disable execution
file:
path: /usr/bin/{{item}}
mode: 400
ignore_errors: true
with_items:
- cinnamon-screensaver
Expand All @@ -34,3 +37,8 @@
- csd-media-keys
- csd-screensaver-proxy
- nemo-desktop

- name: remove qt5ct config
file:
path: /etc/X11/Xsession.d/99qt5ct
state: absent

0 comments on commit 3b940e6

Please sign in to comment.