Update
This commit is contained in:
parent
e41ac2333e
commit
d8ec741430
|
@ -1,5 +1,5 @@
|
|||
[Desktop Entry]
|
||||
Exec=$HOME/.local/userbin/reset-layout.sh
|
||||
Exec=/usr/bin/bash ~/.local/userbin/reset-layout.sh
|
||||
Icon=
|
||||
Name=reset-layout.sh
|
||||
Path=
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[Desktop Entry]
|
||||
Exec=$HOME/.local/userbin/set-default-web-browser.sh
|
||||
Exec=/usr/bin/bash ~/.local/userbin/set-default-web-browser.sh
|
||||
Icon=
|
||||
Name=set-default-web-browser.sh
|
||||
Path=
|
||||
|
|
|
@ -2,10 +2,14 @@
|
|||
|
||||
sleep 20
|
||||
|
||||
plasma-apply-lookandfeel -a "com.github.Melawy.Melawy-round-gray.Nier-A2.desktop" --resetLayout
|
||||
theme="com.github.Melawy.Melawy-round-gray.Nier-A2.desktop"
|
||||
|
||||
plasma-apply-lookandfeel -a "$theme" --resetLayout
|
||||
|
||||
notify-send -t 5000 -a "Theme is" "$theme" "$(date '+%Y.%m.%d %H:%M:%S')"
|
||||
|
||||
if [ "$(whoami)" != "liveuser" ]; then
|
||||
sleep 5
|
||||
rm $HOME/.config/autostart/reset-layout.desktop
|
||||
rm $HOME/.local/userbin/reset-layout.sh
|
||||
rm "$HOME/.config/autostart/reset-layout.desktop"
|
||||
rm "$HOME/.local/userbin/reset-layout.sh"
|
||||
fi
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
sleep 20
|
||||
sleep 10
|
||||
|
||||
xdg-settings set default-web-browser firefox.desktop
|
||||
browser="firefox.desktop"
|
||||
|
||||
xdg-settings set default-web-browser "$browser"
|
||||
|
||||
notify-send -t 5000 -a "Default browser is" "$browser" "$(date '+%Y.%m.%d %H:%M:%S')"
|
||||
|
||||
if [ "$(whoami)" != "liveuser" ]; then
|
||||
sleep 5
|
||||
rm $HOME/.config/autostart/set-default-web-browser.desktop
|
||||
rm $HOME/.local/userbin/set-default-web-browser.sh
|
||||
rm "$HOME/.config/autostart/set-default-web-browser.desktop"
|
||||
rm "$HOME/.local/userbin/set-default-web-browser.sh"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue