From d0c50cfa8a03b5354cd91610388197f7eb720ada Mon Sep 17 00:00:00 2001 From: CoolnsX Date: Thu, 8 Jul 2021 20:07:10 +0530 Subject: [PATCH] update --- bluetooth | 19 ------------------- dmenu-5.0/config.def.h | 4 ++-- dmenu-5.0/config.h | 4 ++-- dmenu-5.0/dmenu | Bin 43488 -> 43488 bytes dmenu-5.0/dmenu.o | Bin 33376 -> 33376 bytes launch.sh | 17 ----------------- pi.sh | 13 ------------- screenlock.sh | 8 -------- startup.sh | 7 ------- wifi | 9 --------- youtube | 2 +- 11 files changed, 5 insertions(+), 78 deletions(-) delete mode 100755 bluetooth delete mode 100755 launch.sh delete mode 100755 pi.sh delete mode 100755 screenlock.sh delete mode 100755 startup.sh delete mode 100755 wifi diff --git a/bluetooth b/bluetooth deleted file mode 100755 index 7c4ac39..0000000 --- a/bluetooth +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -if rfkill list bluetooth | grep -q 'yes$' ; then - sudo rfkill unblock 1 - sudo rfkill unblock bluetooth - notify-send "bluetooth on" - sleep 3 - notify-send "bluetooth connecting" - bluetoothctl power on - sleep 1 - bluetoothctl connect FC:58:FA:C8:40:46 - notify-send "bluetooth connected : Infinity Glide 120" -else - bluetoothctl disconnect FC:58:FA:C8:40:46 - notify-send "bluetooth disconnected : Infinity Glide 120" - sleep 1 - bluetoothctl power off - sudo rfkill block 1 - notify-send "bluetooth off" -fi diff --git a/dmenu-5.0/config.def.h b/dmenu-5.0/config.def.h index a8874f3..7692ce9 100644 --- a/dmenu-5.0/config.def.h +++ b/dmenu-5.0/config.def.h @@ -4,7 +4,7 @@ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ /* -fn option overrides fonts[0]; default X11 font or font set */ static const char *fonts[] = { - "Comic Sans MS:size=10" + "Comic Sans MS:size=12" }; static const char *prompt = NULL; /* -p option; prompt to the left of input field */ static const char *colors[SchemeLast][2] = { @@ -14,7 +14,7 @@ static const char *colors[SchemeLast][2] = { [SchemeOut] = { "#000000", "#3A72FE" }, }; /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ -static unsigned int lines = 0; +static unsigned int lines = 10; /* -h option; minimum height of a menu line */ static unsigned int lineheight = 0; static unsigned int min_lineheight = 8; diff --git a/dmenu-5.0/config.h b/dmenu-5.0/config.h index a8874f3..7692ce9 100644 --- a/dmenu-5.0/config.h +++ b/dmenu-5.0/config.h @@ -4,7 +4,7 @@ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ /* -fn option overrides fonts[0]; default X11 font or font set */ static const char *fonts[] = { - "Comic Sans MS:size=10" + "Comic Sans MS:size=12" }; static const char *prompt = NULL; /* -p option; prompt to the left of input field */ static const char *colors[SchemeLast][2] = { @@ -14,7 +14,7 @@ static const char *colors[SchemeLast][2] = { [SchemeOut] = { "#000000", "#3A72FE" }, }; /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ -static unsigned int lines = 0; +static unsigned int lines = 10; /* -h option; minimum height of a menu line */ static unsigned int lineheight = 0; static unsigned int min_lineheight = 8; diff --git a/dmenu-5.0/dmenu b/dmenu-5.0/dmenu index d835d280eacb17dac1db3041beff7b74e89d519b..9c22d2ecc2e8be127eba518a9eaff152cc5ba787 100755 GIT binary patch delta 226 zcmV<803H9}(*oer05P{UQM~lbR-30o{}I zCL;lLvlu7Q0u1A5002mfM>t4}HJFq2DWd^6vzaP00RjVOv(78P2@*YB0001V6@$AnB}0E0a&lb|)u0$p6Qa5jPk5874$07yC5NDoKDi3QD8lL0)90X~zDJbMDcRg(-o zZ30qNvwJ;_0s(}R2|zRfPm?}CDgt9tlWIWx0%cLNXhHfQ0Wz~=Vr?J+3X{!(FS3K~ c0R$NU(2}$AgvJ2@kh8gl9{~Z>v)P9SB0$|%P5=M^ delta 228 zcmVt4}HK3FADWd^2vzaP00RsPKv(78P2@?HX0001V6@$AnB}0E0d3lb|)u0v%nma5jPk51Lm107yC5NDoKDi3N>UlL0)90sfPZJbMCxR+9`p zZ2}TjvwJ;_0s)MZ2|zRfSCc+KDgq-@lWIWx0wq$jXhHfQ0Wh;;Vr?Lk)PgLNzybua egYE$Y8UT=!v+{(-0Rfn^xrQGB0noGAhX*3%@>sqA diff --git a/dmenu-5.0/dmenu.o b/dmenu-5.0/dmenu.o index c5cbb2d43c3b516060b6897553505a41e79a7dd1..857997cfc81d45b1dd4c80a764b7bef3c0fe8906 100644 GIT binary patch delta 345 zcmaFR!t|hpX+r`Z3l{?e!{h`$navG+@l1?Hn;!_wlVoOQVA$NKb)1n=V6&%=IU^&> z=0;s-5fz{?!=L{UAO_+90TU1-i%)*xc!mdAVDkZ|7)D-@$Zx1tjmd_t;*%X*o`BWC zL^m6_O0Y2UO!o9F2a*Rpi&14AyiAx-MH+l~cqaQq@=Tr)v4aET6cCsk5$P~_LIlU= z1(9>uz_!91oHE%kL40#Uf&n8!@r=YBjQ=+WCLQKgMRp*+0K_nu-(XIZog7#ozB!;k Ugb~#x1%&}Tj2xQ}*3M@E0E^I&N&o-= delta 359 zcmaFR!t|hpX+r`Z%YPu4?5HfWxq&a9iP2#51A%#x%q$E7n;W%`GcrnS_S7+FWMtUf zsOv1E!otA7zyrh}AjS-#nSd0s_~aLkXLyhWHXm?`VdMpga6@!3XiPSA6`$d!5z$mhLX5?Zv zS!9=_fH*(^bF#?h$OLmnjz6Fv0D{Rg5_d5E-W-^8m{%3qx%>jC+F%Zrog7#ozB!;k Ugb~$U1%&}Tj4YcE*3M@E05~l}A^-pY diff --git a/launch.sh b/launch.sh deleted file mode 100755 index e6528ad..0000000 --- a/launch.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env sh - -# Terminate already running bar instances -killall -q polybar - -# custom script -rm $HOME/wallpapers/x.png -conky -c "/home/tanveer/.conky/Rock and Roll/Rock/Hermoso_Rc" & -conky -c "/home/tanveer/.conky/Rock and Roll/Rock 1/.conkyrc" & -sleep 2 -maim --hidecursor -d 1 $HOME/wallpapers/x.png #screenshot of wallpaper with conky running -killall -q conky & -xwallpaper --stretch $HOME/wallpapers/x.png & #apply that screenshot as wallpaper - -# Launch polybar -polybar example & - diff --git a/pi.sh b/pi.sh deleted file mode 100755 index e4259d8..0000000 --- a/pi.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -if ps aux | grep "picom$" ; then - killall -q picom - sleep 1 - notify-send "picom vsync on" - picom --vsync & -else - killall -q picom - sleep 1 - picom & - notify-send "picom vsync off" -fi - diff --git a/screenlock.sh b/screenlock.sh deleted file mode 100755 index efa9f98..0000000 --- a/screenlock.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - revert() { - xset dpms 0 0 0 - } - trap revert HUP INT TERM - xset +dpms dpms 5 5 5 - slock - revert diff --git a/startup.sh b/startup.sh deleted file mode 100755 index ee88be4..0000000 --- a/startup.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env sh - -sleep 5 -synclient TapButton1=1 -synclient HorizEdgeScroll=1 -synclient RBCornerButton=3 - diff --git a/wifi b/wifi deleted file mode 100755 index 81d9aa3..0000000 --- a/wifi +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -if rfkill list wifi | grep -q 'yes$' ; then - sudo rfkill unblock 0 - notify-send "wifi on" -else - sudo rfkill block 0 - notify-send "wifi off" -fi - diff --git a/youtube b/youtube index 77e9b80..d7d2000 100755 --- a/youtube +++ b/youtube @@ -21,7 +21,7 @@ part_video() video=$1 printf "${c_magenta}Enter Starting Point(hh:mm:ss)or(mm:ss)${c_reset}:" read start - printf "${c_yellow}Enter Duration(seconds):${c_cyan}" + printf "${c_yellow}Enter Upto Seconds:${c_cyan}" read dur ffmpeg -i $(youtube-dl -f best --get-url "$video") -ss $start -t $dur $HOME/Videos/$(date +%s).mp4 }