More scripts. Kernel script to be run with root
dwm changes are useless
This commit is contained in:
parent
0f43640f29
commit
94b36f0820
|
@ -35,7 +35,7 @@ static const Rule rules[] = {
|
||||||
/* class instance title tags mask isfloating monitor */
|
/* class instance title tags mask isfloating monitor */
|
||||||
{ "Gimp", NULL, NULL, 0, 1, -1 },
|
{ "Gimp", NULL, NULL, 0, 1, -1 },
|
||||||
{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
|
{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
|
||||||
{ "Tor Browser", NULL, NULL, 1 << 8, 0, -1 },
|
{ "Tor Browser", "Navigator",NULL, 1 << 8, 0, -1 },
|
||||||
{ "TelegramDesktop", NULL, NULL, 1 << 6, 0, -1 },
|
{ "TelegramDesktop", NULL, NULL, 1 << 6, 0, -1 },
|
||||||
{ "Workrave", NULL, NULL, ~0, 1, -1 },
|
{ "Workrave", NULL, NULL, ~0, 1, -1 },
|
||||||
{ "mpv", "gl", NULL, 1 << 5, 0, -1 },
|
{ "mpv", "gl", NULL, 1 << 5, 0, -1 },
|
||||||
|
|
BIN
dwm/dwm-6.2/dwm
BIN
dwm/dwm-6.2/dwm
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
xdotool key ctrl+l
|
||||||
|
xdotool key ctrl+c
|
||||||
|
# xdotool type yy
|
||||||
|
|
||||||
|
# link="$(xclip -o -selection clipboard | sed -E 's|([^&]*)(&)(.*)|\1|')"
|
||||||
|
link="$(xclip -o | sed -E 's|([^&]*)(&)(.*)|\1|')"
|
||||||
|
|
||||||
|
filename="$(dash $SCRIPTS/download-selected-video.sh "$link")"
|
||||||
|
|
||||||
|
echo "$filename"
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
url="$(xclip -o -selection clipboard)"
|
||||||
|
|
||||||
|
filename="$(dash $TSCRIPTS/download-video.sh "$url")"
|
||||||
|
|
||||||
|
echo "$filename"
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
fav_streamers="$(cat $FAV_STREAMERS)"
|
||||||
|
|
||||||
|
watch="$(echo "$fav_streamers" | rofi -dmenu -matching fuzzy)"
|
||||||
|
|
||||||
|
[ -n "$watch" ] && mpv "https://www.twitch.tv/$watch"
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
dash $TSCRIPTS/run-on-terminal.sh "cd /opt/lampp/; su initega"
|
|
@ -2,23 +2,23 @@
|
||||||
|
|
||||||
next_number="$(eselect kernel list | wc -l)" &&
|
next_number="$(eselect kernel list | wc -l)" &&
|
||||||
|
|
||||||
old_config="$HOME/kernel-config-`uname -r`" &&
|
old_config="/home/initega/kernel-config-`uname -r`" &&
|
||||||
|
|
||||||
cp /usr/src/linux/.config $old_config &&
|
cp /usr/src/linux/.config $old_config &&
|
||||||
sudo emerge --ask --update --deep --with-bdeps=y --newuse \
|
emerge --ask --update --deep --with-bdeps=y --newuse \
|
||||||
sys-kernel/gentoo-sources &&
|
sys-kernel/gentoo-sources &&
|
||||||
|
|
||||||
sudo eselect kernel set $next_number &&
|
eselect kernel set $next_number &&
|
||||||
|
|
||||||
cp $old_config /usr/src/linux/.config &&
|
cp $old_config /usr/src/linux/.config &&
|
||||||
|
|
||||||
cd /usr/src/linux &&
|
cd /usr/src/linux &&
|
||||||
|
|
||||||
sudo make syncconfig &&
|
make syncconfig &&
|
||||||
sudo make modules_prepare &&
|
make modules_prepare &&
|
||||||
sudo emerge --ask @module-rebuild &&
|
emerge --ask @module-rebuild &&
|
||||||
sudo make -j2 &&
|
make -j2 &&
|
||||||
sudo make modules_install &&
|
make modules_install &&
|
||||||
sudo make install &&
|
make install &&
|
||||||
|
|
||||||
sudo grub-mkconfig -o /grub/libreboot_grub.cfg
|
grub-mkconfig -o /grub/libreboot_grub.cfg
|
||||||
|
|
Loading…
Reference in New Issue