mirror of https://github.com/ericonr/dotfiles.git
Remove old scripts.
This commit is contained in:
parent
02a93d127f
commit
c0b5754473
|
@ -1,13 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# layouts
|
|
||||||
i3-msg "workspace 2; append_layout ~/.config/i3/tmux.json"
|
|
||||||
i3-msg "workspace 1; append_layout ~/.config/i3/editor.json"
|
|
||||||
|
|
||||||
# editor workspace
|
|
||||||
i3-msg "exec --no-startup-id emacs --name editor"
|
|
||||||
i3-msg "exec --no-startup-id alacritty -t editortop"
|
|
||||||
i3-msg "exec --no-startup-id alacritty -t editorbot"
|
|
||||||
|
|
||||||
# tmux workspace
|
|
||||||
i3-msg "exec --no-startup-id alacritty -t tmux -e tmuxi3"
|
|
|
@ -1,4 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
~/.fehbg
|
|
||||||
beepoff
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
export KDEWM=/usr/bin/i3
|
|
|
@ -1,5 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
i3-msg "append_layout ~/.config/i3/browser.json"
|
|
||||||
i3-msg "exec --no-startup-id qutebrowser"
|
|
||||||
i3-msg "exec --no-startup-id kioclient5 exec .local/share/applications/firefox.desktop"
|
|
|
@ -1,5 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
sudo mv /usr/share/sddm/themes/breath/components/artwork/background.png /usr/share/sddm/themes/breath/components/artwork/background.png.back
|
|
||||||
|
|
||||||
sudo convert /home/ericonr/Pictures/Wallpaper/wallpaper_login.* /usr/share/sddm/themes/breath/components/artwork/background.png
|
|
|
@ -1,4 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
sleep 5
|
|
||||||
tmux
|
|
|
@ -1,33 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# based on: https://bbs.archlinux.org/viewtopic.php?id=215899
|
|
||||||
# and: https://git.reviewboard.kde.org/r/125648/
|
|
||||||
# and: https://github.com/chubin/wttr.in
|
|
||||||
|
|
||||||
WALLPATH=/home/ericonr/Pictures/Wallpaper
|
|
||||||
|
|
||||||
# download png
|
|
||||||
curl wttr.in/Campinas_tqp0.png --output $WALLPATH/weather.png --silent
|
|
||||||
convert $WALLPATH/weather.png -resize 130% $WALLPATH/weather.png
|
|
||||||
echo DOWNLOADED
|
|
||||||
|
|
||||||
# create the background image
|
|
||||||
convert $WALLPATH/wallpaper_default.jpg $WALLPATH/weather.png -geometry '+50+50' -composite $WALLPATH/wallpaper_weather.jpg
|
|
||||||
|
|
||||||
# run script that changes the wallpaper - convoluted mess
|
|
||||||
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript \
|
|
||||||
'var allDesktops = desktops();
|
|
||||||
print (allDesktops);
|
|
||||||
|
|
||||||
wallpath = "file:///home/ericonr/Pictures/Wallpaper/";
|
|
||||||
|
|
||||||
// allDesktops.lentgh not used, changing only the main background
|
|
||||||
|
|
||||||
for (i=0; i < 1; i++) {
|
|
||||||
d = allDesktops[i];
|
|
||||||
d.wallpaperPlugin = "org.kde.image";
|
|
||||||
d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");
|
|
||||||
d.writeConfig("Image", wallpath + "wallpaper_default.jpg")
|
|
||||||
d.writeConfig("Image", wallpath + "wallpaper_weather.jpg")
|
|
||||||
}'
|
|
||||||
echo CHANGED_BACKGROUND
|
|
Loading…
Reference in New Issue