Browse Source

Shebang should have implicit path of bash, to make it more portableWithout this, the script is not executable in environments like NixOS, where packages are managed in unconventional directories, ie. /nix/store

pull/166/head
Masum Reza 2 years ago
parent
commit
137843beda
  1. 2
      config/hypr/UserScripts/QuickEdit.sh
  2. 2
      config/hypr/UserScripts/RainbowBorders.sh
  3. 2
      config/hypr/UserScripts/RofiBeats.sh
  4. 2
      config/hypr/UserScripts/Sounds.sh
  5. 2
      config/hypr/UserScripts/WallpaperAutoChange.sh
  6. 2
      config/hypr/UserScripts/WallpaperRandom.sh
  7. 2
      config/hypr/UserScripts/WallpaperSelect.sh
  8. 2
      config/hypr/UserScripts/Weather.sh
  9. 2
      config/hypr/UserScripts/ZshChangeTheme.sh
  10. 2
      config/hypr/initial-boot.sh
  11. 2
      config/hypr/scripts/AirplaneMode.sh
  12. 2
      config/hypr/scripts/Brightness.sh
  13. 2
      config/hypr/scripts/BrightnessKbd.sh
  14. 2
      config/hypr/scripts/ChangeBlur.sh
  15. 2
      config/hypr/scripts/ChangeLayout.sh
  16. 2
      config/hypr/scripts/ClipManager.sh
  17. 2
      config/hypr/scripts/DarkLight.sh
  18. 2
      config/hypr/scripts/GameMode.sh
  19. 2
      config/hypr/scripts/KeyHints.sh
  20. 2
      config/hypr/scripts/LockScreen.sh
  21. 2
      config/hypr/scripts/MediaCtrl.sh
  22. 2
      config/hypr/scripts/Polkit-NixOS.sh
  23. 2
      config/hypr/scripts/Polkit.sh
  24. 2
      config/hypr/scripts/PortalHyprland.sh
  25. 2
      config/hypr/scripts/PywalSwww.sh
  26. 2
      config/hypr/scripts/Refresh.sh
  27. 2
      config/hypr/scripts/RefreshNoWaybar.sh
  28. 2
      config/hypr/scripts/RofiEmoji.sh
  29. 2
      config/hypr/scripts/ScreenShot.sh
  30. 2
      config/hypr/scripts/SwitchKeyboardLayout.sh
  31. 2
      config/hypr/scripts/TouchPad.sh
  32. 2
      config/hypr/scripts/Volume.sh
  33. 2
      config/hypr/scripts/WaybarCava.sh
  34. 2
      config/hypr/scripts/WaybarLayout.sh
  35. 2
      config/hypr/scripts/WaybarStyles.sh
  36. 2
      config/hypr/scripts/Wlogout.sh
  37. 2
      copy.sh
  38. 2
      release.sh
  39. 2
      upgrade.sh

2
config/hypr/UserScripts/QuickEdit.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Rofi menu for Quick Edit / View of Settings (SUPER E)
configs="$HOME/.config/hypr/configs"

2
config/hypr/UserScripts/RainbowBorders.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function random_hex() {
random_hex=("0xff$(openssl rand -hex 3)")

2
config/hypr/UserScripts/RofiBeats.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Directory for icons
iDIR="$HOME/.config/swaync/icons"

2
config/hypr/UserScripts/Sounds.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# This script is used to play system sounds.

2
config/hypr/UserScripts/WallpaperAutoChange.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# source https://wiki.archlinux.org/title/Hyprland#Using_a_script_to_change_wallpaper_every_X_minutes

2
config/hypr/UserScripts/WallpaperRandom.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Script for Random Wallpaper ( CTRL ALT W)

2
config/hypr/UserScripts/WallpaperSelect.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# This script for selecting wallpapers (SUPER W)

2
config/hypr/UserScripts/Weather.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
city=
cachedir=~/.cache/rbn

2
config/hypr/UserScripts/ZshChangeTheme.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
themes_dir="$HOME/.oh-my-zsh/themes"
file_extension=".zsh-theme"

2
config/hypr/initial-boot.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# A bash script designed to run only once dotfiles installed
# THIS SCRIPT CAN BE DELETED ONCE SUCCESSFULLY BOOTED!! And also, edit ~/.config/hypr/configs/Settings.conf

2
config/hypr/scripts/AirplaneMode.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Airplane Mode. Turning on or off all wifi using rfkill.

2
config/hypr/scripts/Brightness.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Script for Monitor backlights (if supported) using brightnessctl

2
config/hypr/scripts/BrightnessKbd.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Script for keyboard backlights (if supported) using brightnessctl

2
config/hypr/scripts/ChangeBlur.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
## Script for changing blurs on the fly

2
config/hypr/scripts/ChangeLayout.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# for changing Hyprland Layouts (Master or Dwindle) on the fly

2
config/hypr/scripts/ClipManager.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Clipboard Manager. This script uses cliphist, rofi, and wl-copy.

2
config/hypr/scripts/DarkLight.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# For Dark and Light switching
# Note: Scripts are looking for keywords Light or Dark except for wallpapers as the are in a separate folders

2
config/hypr/scripts/GameMode.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Game Mode. Turning off all animations

2
config/hypr/scripts/KeyHints.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Keyhints. Idea got from Garuda Hyprland

2
config/hypr/scripts/LockScreen.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# For Swaylock

2
config/hypr/scripts/MediaCtrl.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Playerctl

2
config/hypr/scripts/Polkit-NixOS.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# For NixOS starting of polkit-gnome. Dec 2023, the settings stated in NixOS wiki does not work so have to manual start it

2
config/hypr/scripts/Polkit.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# This is for polkits, it will start from top and will stop if the top is executed

2
config/hypr/scripts/PortalHyprland.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# For manually starting xdg-desktop-portal

2
config/hypr/scripts/PywalSwww.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Pywal Colors for current wallpaper

2
config/hypr/scripts/Refresh.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Scripts for refreshing waybar, rofi, swaync, pywal colors

2
config/hypr/scripts/RefreshNoWaybar.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Modified version of Refresh but no waybar refresh

2
config/hypr/scripts/RofiEmoji.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Rofi Emoticons. Not my own. Cant remember the source

2
config/hypr/scripts/ScreenShot.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Screenshots scripts

2
config/hypr/scripts/SwitchKeyboardLayout.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# This is for changing kb_layouts. Set kb_layouts in $settings_file

2
config/hypr/scripts/TouchPad.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# For disabling touchpad.

2
config/hypr/scripts/Volume.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Scripts for volume controls for audio and mic

2
config/hypr/scripts/WaybarCava.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Not my own work. This was added through Github PR. Credit to original author

2
config/hypr/scripts/WaybarLayout.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Script for waybar layout or configs

2
config/hypr/scripts/WaybarStyles.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Script for waybar styles

2
config/hypr/scripts/Wlogout.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# wlogout (Power, Screen Lock, Suspend, etc)

2
copy.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
### https://github.com/JaKooLit/JaKooLit
clear

2
release.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Set some colors for output messages
OK="$(tput setaf 2)[OK]$(tput sgr0)"

2
upgrade.sh

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
### https://github.com/JaKooLit/JaKooLit
# Set some colors for output messages

Loading…
Cancel
Save