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 d835d28..9c22d2e 100755 Binary files a/dmenu-5.0/dmenu and b/dmenu-5.0/dmenu differ diff --git a/dmenu-5.0/dmenu.o b/dmenu-5.0/dmenu.o index c5cbb2d..857997c 100644 Binary files a/dmenu-5.0/dmenu.o and b/dmenu-5.0/dmenu.o differ 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 }