mirror of
https://github.com/zedsalim/debian-z.git
synced 2025-12-09 20:59:29 +00:00
Initial Commit
This commit is contained in:
parent
f18da1cc25
commit
a5bc6b13c5
96 changed files with 6936 additions and 0 deletions
7
config/scripts/bookmarks.sh
Executable file
7
config/scripts/bookmarks.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
choice=$(cat ~/.config/bookmarks.txt | rofi -dmenu -p "Choose Website: ")
|
||||
[ -z "$choice" ] && exit 0 || echo "$choice" | xargs "$BROWSER" || echo "$choice" | xargs brave-browser
|
||||
|
||||
|
||||
sleep 1 && exit
|
||||
24
config/scripts/brightness-control.sh
Executable file
24
config/scripts/brightness-control.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
# This script handles brightness control using the brightnessctl utility.
|
||||
|
||||
# Configuration:
|
||||
# - Use the 'brightnessctl -l' command to identify the backlight control directory specific to your system.
|
||||
# - Update the 'intel_backlight' part in the decrease_brightness() and increase_brightness() functions with your specific backlight control directory.
|
||||
|
||||
function decrease_brightness() {
|
||||
brightnessctl -d intel_backlight set 10%-
|
||||
}
|
||||
|
||||
function increase_brightness() {
|
||||
brightnessctl -d intel_backlight set 10%+
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
XF86MonBrightnessDown)
|
||||
decrease_brightness
|
||||
;;
|
||||
XF86MonBrightnessUp)
|
||||
increase_brightness
|
||||
;;
|
||||
esac
|
||||
36
config/scripts/c/compile.sh
Executable file
36
config/scripts/c/compile.sh
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /home/zed/Documents/c_projects
|
||||
|
||||
# List all directories in the current directory
|
||||
dirs=(*/)
|
||||
echo "Choose your project:"
|
||||
|
||||
# Loop through the directories and print a numbered list
|
||||
for i in "${!dirs[@]}"; do
|
||||
printf "%s\t%s\n" "$i" "${dirs[$i]}"
|
||||
done
|
||||
|
||||
# Prompt the user to enter a number
|
||||
read num
|
||||
|
||||
# Check that the input is a valid number
|
||||
re='^[0-9]+$'
|
||||
if ! [[ $num =~ $re ]] ; then
|
||||
echo "Error: Not a valid number" >&2; exit 1
|
||||
fi
|
||||
|
||||
# Get the name of the selected directory
|
||||
name=${dirs[$num]}
|
||||
name=${name::-1}
|
||||
|
||||
cd "$name"
|
||||
|
||||
# Remove a.out if it exists
|
||||
if [ -f a.out ]; then
|
||||
rm a.out
|
||||
fi
|
||||
clear
|
||||
# Compile and run main.c
|
||||
gcc -Wall -Wextra main.c
|
||||
./a.out
|
||||
25
config/scripts/c/new_project.sh
Executable file
25
config/scripts/c/new_project.sh
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /home/zed/Documents/c_projects
|
||||
|
||||
ls
|
||||
|
||||
echo "Enter the file's name: "
|
||||
|
||||
read name
|
||||
|
||||
mkdir $name
|
||||
|
||||
cd $name
|
||||
|
||||
touch main.c
|
||||
|
||||
echo "#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
return 0;
|
||||
}" > main.c
|
||||
|
||||
vim main.c
|
||||
30
config/scripts/c/old_project.sh
Executable file
30
config/scripts/c/old_project.sh
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /home/zed/Documents/c_projects
|
||||
|
||||
# List all directories in the current directory
|
||||
dirs=(*/)
|
||||
echo "Please choose a project by entering the corresponding number:"
|
||||
|
||||
# Loop through the directories and print a numbered list
|
||||
for i in "${!dirs[@]}"; do
|
||||
printf "%s\t%s\n" "$i" "${dirs[$i]}"
|
||||
done
|
||||
|
||||
# Prompt the user to enter a number
|
||||
read num
|
||||
|
||||
# Check that the input is a valid number
|
||||
re='^[0-9]+$'
|
||||
if ! [[ $num =~ $re ]] ; then
|
||||
echo "Error: Not a valid number" >&2; exit 1
|
||||
fi
|
||||
|
||||
# Get the name of the selected directory
|
||||
name=${dirs[$num]}
|
||||
name=${name::-1}
|
||||
|
||||
cd "$name"
|
||||
|
||||
# Open main.c in nano
|
||||
vim main.c
|
||||
57
config/scripts/conf.sh
Executable file
57
config/scripts/conf.sh
Executable file
|
|
@ -0,0 +1,57 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Define the choices
|
||||
choices=("i3-config" "i3-workspaces" "i3-colors" "sxhkd" "polybar" "alacritty" "kitty" "ranger" "GitHub" "scripts" "themes")
|
||||
|
||||
# Prompt the user to select a choice using rofi
|
||||
selected_choice=$(printf '%s\n' "${choices[@]}" | rofi -dmenu -p "Select a config file:")
|
||||
|
||||
# Define the corresponding config file paths
|
||||
case $selected_choice in
|
||||
"i3-config")
|
||||
config_file="$HOME/.config/i3/config"
|
||||
;;
|
||||
"i3-workspaces")
|
||||
config_file="$HOME/.config/i3/workspaces.conf"
|
||||
;;
|
||||
"i3-colors")
|
||||
config_file="$HOME/.config/i3/colors.conf"
|
||||
;;
|
||||
"sxhkd")
|
||||
config_file="$HOME/.config/sxhkd/sxhkdrc"
|
||||
;;
|
||||
"polybar")
|
||||
config_file="$HOME/.config/polybar/config"
|
||||
;;
|
||||
"alacritty")
|
||||
config_file="$HOME/.config/alacritty/alacritty.yml"
|
||||
;;
|
||||
"kitty")
|
||||
config_file="$HOME/.config/kitty/kitty.conf"
|
||||
;;
|
||||
"ranger")
|
||||
config_file="$HOME/.config/ranger/rc.conf"
|
||||
;;
|
||||
"GitHub")
|
||||
config_file="ranger $HOME/Documents/GitHub/"
|
||||
;;
|
||||
"scripts")
|
||||
config_file="ranger $HOME/.config/scripts"
|
||||
;;
|
||||
"themes")
|
||||
config_file="ranger $HOME/.config/scripts/themes"
|
||||
;;
|
||||
*)
|
||||
echo "Invalid choice"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# Check if the config file exists
|
||||
if [[ $config_file == ranger* ]]; then
|
||||
# Open the selected directory with Ranger
|
||||
$config_file
|
||||
else
|
||||
# Open the selected config file with Vim
|
||||
vim "$config_file"
|
||||
fi
|
||||
12
config/scripts/help_notification.sh
Executable file
12
config/scripts/help_notification.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Display the startup notification
|
||||
notify-send --expire-time=10000000 --urgency=critical "IMPORTANT !" "
|
||||
Press Super + Shift + h to view the Guide
|
||||
|
||||
NOTE: The 'Super' Key is the 'Windows' Key
|
||||
|
||||
|
||||
(Click me and I disappear)"
|
||||
|
||||
|
||||
9
config/scripts/keyboard_layout.sh
Executable file
9
config/scripts/keyboard_layout.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
# This script is optional, it switches the input method engine for the IBus (Intelligent Input Bus) framework between two options AR and FR.
|
||||
current=$(ibus engine)
|
||||
if [ "$current" = "xkb:dz:ar:ara" ]; then
|
||||
ibus engine xkb:fr:latin9:fra
|
||||
elif [ "$current" = "xkb:fr:latin9:fra" ]; then
|
||||
ibus engine xkb:dz:ar:ara
|
||||
fi
|
||||
2
config/scripts/last-single-wallpapers.sh
Executable file
2
config/scripts/last-single-wallpapers.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
feh --bg-fill /home/zed/.config/wallpapers/71k61pmm5kd81.jpg
|
||||
2
config/scripts/last-two-wallpapers.sh
Executable file
2
config/scripts/last-two-wallpapers.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
feh --bg-fill /home/zed/.config/wallpapers/ign_cityRain.png --bg-fill /home/zed/.config/wallpapers/ign-0011.png
|
||||
72
config/scripts/old/wallpaper-double-display.sh
Executable file
72
config/scripts/old/wallpaper-double-display.sh
Executable file
|
|
@ -0,0 +1,72 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Set the directory containing the wallpapers
|
||||
wallpaper_dir="/home/zed/.config/wallpapers/"
|
||||
|
||||
# Launch ranger to navigate to the wallpaper directory
|
||||
kitty ranger "$wallpaper_dir"
|
||||
|
||||
# Get a list of image names in the wallpaper directory
|
||||
image_list=("$wallpaper_dir"/*)
|
||||
|
||||
# Check if any images exist
|
||||
if [ "${#image_list[@]}" -eq 0 ]; then
|
||||
echo "No images found in the directory."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Select an image for DVI (Enter the index):"
|
||||
|
||||
# Prompt user to enter the index of the selected image for DVI
|
||||
read -p "Enter the index of the selected image for DVI: " dvi_index
|
||||
|
||||
echo "Select an image for HDMI (Enter the index):"
|
||||
|
||||
# Prompt user to enter the index of the selected image for HDMI
|
||||
read -p "Enter the index of the selected image for HDMI: " hdmi_index
|
||||
|
||||
# Validate the selected indices
|
||||
if [[ "$dvi_index" =~ ^[0-9]+$ ]] && [ "$dvi_index" -ge 1 ] && [ "$dvi_index" -le "${#image_list[@]}" ] &&
|
||||
[[ "$hdmi_index" =~ ^[0-9]+$ ]] && [ "$hdmi_index" -ge 1 ] && [ "$hdmi_index" -le "${#image_list[@]}" ]; then
|
||||
# Get the corresponding image names
|
||||
selected_image_dvi="${image_list[$((dvi_index-1))]}"
|
||||
selected_image_hdmi="${image_list[$((hdmi_index-1))]}"
|
||||
|
||||
# Trim leading/trailing whitespaces from the selected images
|
||||
selected_image_dvi=$(echo "$selected_image_dvi" | awk '{$1=$1};1')
|
||||
selected_image_hdmi=$(echo "$selected_image_hdmi" | awk '{$1=$1};1')
|
||||
|
||||
# Extract the filenames
|
||||
dvi_filename=$(basename "$selected_image_dvi")
|
||||
hdmi_filename=$(basename "$selected_image_hdmi")
|
||||
|
||||
# Display the selected images
|
||||
echo "Selected image for DVI: $selected_image_dvi"
|
||||
echo "Selected image for HDMI: $selected_image_hdmi"
|
||||
|
||||
# Export the filenames as environment variables
|
||||
export DVI_FILENAME="$dvi_filename"
|
||||
export HDMI_FILENAME="$hdmi_filename"
|
||||
|
||||
echo "#!/bin/bash" > ~/.config/scripts/double-display.sh
|
||||
echo "" >> ~/.config/scripts/double-display.sh
|
||||
echo "xrandr --output DVI-D-0 --mode 1920x1080 --pos 900x0 --output HDMI-0 --mode 1600x900 --pos 0x0 --rotate right" >> ~/.config/scripts/double-display.sh
|
||||
echo "" >> ~/.config/scripts/double-display.sh
|
||||
echo "feh --bg-fill ~/.config/wallpapers/$DVI_FILENAME --bg-fill ~/.config/wallpapers/$HDMI_FILENAME" >> ~/.config/scripts/double-display.sh
|
||||
echo "" >> ~/.config/scripts/double-display.sh
|
||||
echo "xrandr --output DVI-D-0 --mode 1920x1080 --pos 900x0 --output HDMI-0 --mode 1600x900 --pos 0x0 --rotate right" >> ~/.config/scripts/double-display.sh
|
||||
echo "clear" >> ~/.config/scripts/double-display.sh
|
||||
|
||||
##################
|
||||
echo "#!/bin/bash" > ~/.config/scripts/single-display.sh
|
||||
echo "xrandr --output DVI-D-0 --mode 1920x1080 --pos 0x0 --output HDMI-0 --off" >> ~/.config/scripts/single-display.sh
|
||||
echo "feh --bg-fill ~/.config/wallpapers/$DVI_FILENAME" >> ~/.config/scripts/single-display.sh
|
||||
echo "" >> ~/.config/scripts/single-display.sh
|
||||
#################
|
||||
source ~/.config/scripts/double-display.sh
|
||||
echo "Wallpapers set successfully."
|
||||
else
|
||||
echo "Invalid index(es). No wallpapers selected."
|
||||
|
||||
fi
|
||||
|
||||
47
config/scripts/old/wallpaper-single-display.sh
Executable file
47
config/scripts/old/wallpaper-single-display.sh
Executable file
|
|
@ -0,0 +1,47 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Set the directory containing the wallpapers
|
||||
wallpaper_dir="/home/zed/.config/wallpapers/"
|
||||
|
||||
# Launch ranger to navigate to the wallpaper directory
|
||||
kitty ranger "$wallpaper_dir"
|
||||
|
||||
# Get a list of image names in the wallpaper directory
|
||||
image_list=("$wallpaper_dir"/*)
|
||||
|
||||
# Check if any images exist
|
||||
if [ "${#image_list[@]}" -eq 0 ]; then
|
||||
echo "No images found in the directory."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Select an image for DVI (Enter the index):"
|
||||
echo
|
||||
|
||||
# Prompt user to enter the index of the selected image for DVI
|
||||
read -p "Enter the index of the selected image for DVI: " dvi_index
|
||||
|
||||
# Validate the selected index
|
||||
if [[ "$dvi_index" =~ ^[0-9]+$ ]] && [ "$dvi_index" -ge 1 ] && [ "$dvi_index" -le "${#image_list[@]}" ]; then
|
||||
# Get the corresponding image name
|
||||
selected_image_dvi="${image_list[$((dvi_index-1))]}"
|
||||
|
||||
# Trim leading/trailing whitespaces from the selected image
|
||||
selected_image_dvi=$(echo "$selected_image_dvi" | awk '{$1=$1};1')
|
||||
|
||||
# Extract the filename
|
||||
dvi_filename=$(basename "$selected_image_dvi")
|
||||
|
||||
# Display the selected image
|
||||
echo "Selected image for DVI: $selected_image_dvi"
|
||||
|
||||
echo "#!/bin/bash" > ~/.config/scripts/single-display.sh
|
||||
echo "xrandr --output DVI-D-0 --mode 1920x1080 --pos 0x0 --output HDMI-0 --off" >> ~/.config/scripts/single-display.sh
|
||||
echo "feh --bg-fill ~/.config/wallpapers/$dvi_filename" >> ~/.config/scripts/single-display.sh
|
||||
echo "" >> ~/.config/scripts/single-display.sh
|
||||
|
||||
source ~/.config/scripts/single-display.sh
|
||||
else
|
||||
echo "Invalid index. No wallpaper selected."
|
||||
fi
|
||||
|
||||
31
config/scripts/python/compile.sh
Executable file
31
config/scripts/python/compile.sh
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /home/zed/Documents/python_projects
|
||||
|
||||
# List all directories in the current directory
|
||||
dirs=(*/)
|
||||
echo "Choose your project:"
|
||||
|
||||
# Loop through the directories and print a numbered list
|
||||
for i in "${!dirs[@]}"; do
|
||||
printf "%s\t%s\n" "$i" "${dirs[$i]}"
|
||||
done
|
||||
|
||||
# Prompt the user to enter a number
|
||||
read num
|
||||
|
||||
# Check that the input is a valid number
|
||||
re='^[0-9]+$'
|
||||
if ! [[ $num =~ $re ]] ; then
|
||||
echo "Error: Not a valid number" >&2; exit 1
|
||||
fi
|
||||
|
||||
# Get the name of the selected directory
|
||||
name=${dirs[$num]}
|
||||
name=${name::-1}
|
||||
|
||||
cd "$name"
|
||||
|
||||
clear
|
||||
# Compile and run main.c
|
||||
python3 main.py
|
||||
17
config/scripts/python/new_project.sh
Executable file
17
config/scripts/python/new_project.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /home/zed/Documents/python_projects
|
||||
|
||||
ls
|
||||
|
||||
echo "Enter the file's name: "
|
||||
|
||||
read name
|
||||
|
||||
mkdir $name
|
||||
|
||||
cd $name
|
||||
|
||||
touch main.py
|
||||
|
||||
code main.py
|
||||
30
config/scripts/python/old_project.sh
Executable file
30
config/scripts/python/old_project.sh
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /home/zed/Documents/python_projects
|
||||
|
||||
# List all directories in the current directory
|
||||
dirs=(*/)
|
||||
echo "Please choose a project by entering the corresponding number:"
|
||||
|
||||
# Loop through the directories and print a numbered list
|
||||
for i in "${!dirs[@]}"; do
|
||||
printf "%s\t%s\n" "$i" "${dirs[$i]}"
|
||||
done
|
||||
|
||||
# Prompt the user to enter a number
|
||||
read num
|
||||
|
||||
# Check that the input is a valid number
|
||||
re='^[0-9]+$'
|
||||
if ! [[ $num =~ $re ]] ; then
|
||||
echo "Error: Not a valid number" >&2; exit 1
|
||||
fi
|
||||
|
||||
# Get the name of the selected directory
|
||||
name=${dirs[$num]}
|
||||
name=${name::-1}
|
||||
|
||||
cd "$name"
|
||||
|
||||
# Open main.c in nano
|
||||
code main.py
|
||||
2
config/scripts/resolution-double.sh
Executable file
2
config/scripts/resolution-double.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
xrandr --output DVI-D-0 --primary --mode 1920x1080 --pos 900x0 --rotate normal --output HDMI-0 --mode 1600x900 --pos 0x0 --rotate right --output DP-0 --off --output DP-1 --off
|
||||
2
config/scripts/resolution.sh
Executable file
2
config/scripts/resolution.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
xrandr --output DVI-D-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-0 --off --output DP-0 --off --output DP-1 --off
|
||||
6
config/scripts/set-double-display.sh
Executable file
6
config/scripts/set-double-display.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
xrandr --output DVI-D-0 --mode 1920x1080 --pos 900x0 --output HDMI-0 --mode 1600x900 --pos 0x0 --rotate right
|
||||
|
||||
source ~/.config/scripts/last-two-wallpapers.sh
|
||||
clear
|
||||
4
config/scripts/set-single-display.sh
Executable file
4
config/scripts/set-single-display.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
xrandr --output DVI-D-0 --mode 1920x1080 --pos 0x0 --output HDMI-0 --off
|
||||
|
||||
source ~/.config/scripts/last-single-wallpapers.sh
|
||||
35
config/scripts/themes.sh
Executable file
35
config/scripts/themes.sh
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ~/.config/scripts/themes
|
||||
|
||||
# List all the themes
|
||||
themes=(*.sh)
|
||||
theme_names=()
|
||||
|
||||
# Loop through the themes and collect their names
|
||||
for theme in "${themes[@]}"; do
|
||||
theme_names+=("${theme%.sh}")
|
||||
done
|
||||
|
||||
# Prompt the user to select a theme using dmenu
|
||||
selected_theme=$(printf '%s\n' "${theme_names[@]}" | rofi -dmenu -p "Select a theme:")
|
||||
|
||||
# Find the selected theme
|
||||
selected_index=-1
|
||||
for index in "${!theme_names[@]}"; do
|
||||
if [[ "${theme_names[$index]}" == "$selected_theme" ]]; then
|
||||
selected_index=$index
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Check if a valid theme was selected
|
||||
if [ "$selected_index" -eq -1 ]; then
|
||||
echo "Invalid theme"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Get the name of the selected theme
|
||||
selected_theme_file="${themes[$selected_index]}"
|
||||
source "$selected_theme_file"
|
||||
|
||||
15
config/scripts/themes/BlueNova.sh
Executable file
15
config/scripts/themes/BlueNova.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
cp ~/.config/scripts/themes/BlueNova/dunstrc ~/.config/dunst/
|
||||
|
||||
cp ~/.config/scripts/themes/BlueNova/config.rasi ~/.config/rofi/
|
||||
|
||||
cp ~/.config/scripts/themes/BlueNova/colors.conf ~/.config/i3/
|
||||
|
||||
cp ~/.config/scripts/themes/BlueNova/alacritty.yml ~/.config/alacritty/
|
||||
|
||||
cp ~/.config/scripts/themes/BlueNova/config ~/.config/polybar/
|
||||
|
||||
cp ~/.config/scripts/themes/BlueNova/settings.ini ~/.config/gtk-3.0/
|
||||
cp ~/.config/scripts/themes/BlueNova/.gtkrc-2.0 ~/
|
||||
|
||||
18
config/scripts/themes/BlueNova/.gtkrc-2.0
Normal file
18
config/scripts/themes/BlueNova/.gtkrc-2.0
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
||||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||
|
||||
include "/home/zed/.gtkrc-2.0.mine"
|
||||
gtk-theme-name="BlueSky-Clean-Dark"
|
||||
gtk-icon-theme-name="Papirus"
|
||||
gtk-font-name="Sans 10"
|
||||
gtk-cursor-theme-name="Sunity-cursors"
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=1
|
||||
gtk-menu-images=1
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=1
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle="hintfull"
|
||||
33
config/scripts/themes/BlueNova/alacritty.yml
Normal file
33
config/scripts/themes/BlueNova/alacritty.yml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
window:
|
||||
#padding:
|
||||
#x: 10
|
||||
#y: 10
|
||||
class:
|
||||
instance: Alacritty
|
||||
general: Alacritty
|
||||
opacity: 0.92
|
||||
|
||||
scrolling:
|
||||
history: 10000
|
||||
multiplier: 3
|
||||
|
||||
font:
|
||||
normal:
|
||||
family: Hack Nerd Font
|
||||
style: Regular
|
||||
bold:
|
||||
family: Hack Nerd Font
|
||||
style: Bold
|
||||
italic:
|
||||
family: Hack Nerd Font
|
||||
style: Italic
|
||||
bold_italic:
|
||||
family: Hack Nerd Font
|
||||
style: Bold Italic
|
||||
size: 12
|
||||
draw_bold_text_with_bright_colors: true
|
||||
|
||||
selection:
|
||||
save_to_clipboard: true
|
||||
import:
|
||||
- ~/.config/alacritty/blue.yml
|
||||
9
config/scripts/themes/BlueNova/colors.conf
Executable file
9
config/scripts/themes/BlueNova/colors.conf
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
######################################
|
||||
# Colors
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused #727F8D #727F8D #EFF1F5 #65737E #65737E.
|
||||
client.focused_inactive #2B303B #65737E #D9DEE8 #000000 #000000
|
||||
client.unfocused #2B303B #2B303B #65737E #292d2e #222222
|
||||
client.urgent #BF616A #BF616A #D9DEE8 #BF616A #BF616A
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
||||
client.background #ffffff
|
||||
396
config/scripts/themes/BlueNova/config
Executable file
396
config/scripts/themes/BlueNova/config
Executable file
|
|
@ -0,0 +1,396 @@
|
|||
[colors]
|
||||
;background = ${xrdb:color0:#222}
|
||||
background = #2B303B
|
||||
background-alt = #65737E
|
||||
;foreground = ${xrdb:color7:#222}
|
||||
foreground = #dfdfdf
|
||||
foreground-alt = #555
|
||||
primary = #C0C5CE
|
||||
secondary = #353C4A
|
||||
alert = #BF616A
|
||||
|
||||
[bar/mybar]
|
||||
;monitor = ${env:MONITOR:HDMI-1}
|
||||
width = 100%
|
||||
height = 22
|
||||
;offset-x = 5%
|
||||
;offset-y = 1%
|
||||
radius = 8.0
|
||||
fixed-center = true
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 3
|
||||
line-color = #BF616A
|
||||
|
||||
border-size = 8
|
||||
border-color = #00000000
|
||||
|
||||
padding-left = 0
|
||||
padding-right = 2
|
||||
|
||||
module-margin-left = 1
|
||||
module-margin-right = 2
|
||||
|
||||
font-0 = fixed:pixelsize=10;1
|
||||
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||
font-2 = siji:pixelsize=10;1
|
||||
|
||||
modules-left = date xwindow
|
||||
modules-center = bspwm i3
|
||||
modules-right = powermenu pulseaudio xkeyboard memory cpu battery
|
||||
|
||||
|
||||
tray-position = none
|
||||
tray-padding = 2
|
||||
;tray-background = #0063ff
|
||||
|
||||
;wm-restack = bspwm
|
||||
;wm-restack = i3
|
||||
|
||||
;override-redirect = true
|
||||
|
||||
;scroll-up = bspwm-desknext
|
||||
;scroll-down = bspwm-deskprev
|
||||
|
||||
;scroll-up = i3wm-wsnext
|
||||
;scroll-down = i3wm-wsprev
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title:0:30:...%
|
||||
|
||||
[module/xkeyboard]
|
||||
type = internal/xkeyboard
|
||||
blacklist-0 = num lock
|
||||
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
|
||||
label-layout = %layout%
|
||||
|
||||
label-indicator-padding = 2
|
||||
label-indicator-margin = 1
|
||||
label-indicator-background = ${colors.secondary}
|
||||
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
interval = 25
|
||||
|
||||
mount-0 = /
|
||||
|
||||
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
|
||||
label-unmounted = %mountpoint% not mounted
|
||||
label-unmounted-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/bspwm]
|
||||
type = internal/bspwm
|
||||
|
||||
label-focused = %index%
|
||||
label-focused-background = ${colors.background-alt}
|
||||
label-focused-underline= ${colors.primary}
|
||||
label-focused-padding = 2
|
||||
|
||||
label-occupied = %index%
|
||||
label-occupied-padding = 2
|
||||
|
||||
label-urgent = %index%!
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 2
|
||||
|
||||
label-empty = %index%
|
||||
label-empty-foreground = ${colors.foreground-alt}
|
||||
label-empty-padding = 2
|
||||
|
||||
; Separator in between workspaces
|
||||
; label-separator = |
|
||||
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
format = <label-state> <label-mode>
|
||||
index-sort = true
|
||||
wrapping-scroll = false
|
||||
|
||||
; Only show workspaces on the same output as the bar
|
||||
;pin-workspaces = true
|
||||
|
||||
label-mode-padding = 2
|
||||
label-mode-foreground = #000
|
||||
label-mode-background = ${colors.primary}
|
||||
|
||||
; focused = Active workspace on focused monitor
|
||||
label-focused = %index%
|
||||
label-focused-background = ${colors.background-alt}
|
||||
label-focused-underline= ${colors.primary}
|
||||
label-focused-padding = 2
|
||||
|
||||
; unfocused = Inactive workspace on any monitor
|
||||
label-unfocused = %index%
|
||||
label-unfocused-padding = 2
|
||||
|
||||
; visible = Active workspace on unfocused monitor
|
||||
label-visible = %index%
|
||||
label-visible-background = ${self.label-focused-background}
|
||||
label-visible-underline = ${self.label-focused-underline}
|
||||
label-visible-padding = ${self.label-focused-padding}
|
||||
|
||||
; urgent = Workspace with urgency hint set
|
||||
label-urgent = %index%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 2
|
||||
|
||||
; Separator in between workspaces
|
||||
; label-separator = |
|
||||
|
||||
|
||||
[module/mpd]
|
||||
type = internal/mpd
|
||||
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
|
||||
|
||||
icon-prev =
|
||||
icon-stop =
|
||||
icon-play =
|
||||
icon-pause =
|
||||
icon-next =
|
||||
|
||||
label-song-maxlen = 25
|
||||
label-song-ellipsis = true
|
||||
|
||||
[module/xbacklight]
|
||||
type = internal/xbacklight
|
||||
|
||||
format = <label> <bar>
|
||||
label = BL
|
||||
|
||||
bar-width = 10
|
||||
bar-indicator = |
|
||||
bar-indicator-foreground = #fff
|
||||
bar-indicator-font = 2
|
||||
bar-fill = ─
|
||||
bar-fill-font = 2
|
||||
bar-fill-foreground = #9f78e1
|
||||
bar-empty = ─
|
||||
bar-empty-font = 2
|
||||
bar-empty-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/backlight-acpi]
|
||||
inherit = module/xbacklight
|
||||
type = internal/backlight
|
||||
card = intel_backlight
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 2
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
label = %percentage:2%%
|
||||
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
label = %percentage_used%%
|
||||
|
||||
[module/wlan]
|
||||
type = internal/network
|
||||
interface = wlp59s0
|
||||
interval = 3.0
|
||||
|
||||
format-connected = <ramp-signal> <label-connected>
|
||||
label-connected = %essid%
|
||||
|
||||
format-disconnected =
|
||||
;format-disconnected = <label-disconnected>
|
||||
;format-disconnected-underline = ${self.format-connected-underline}
|
||||
;label-disconnected = %ifname% disconnected
|
||||
;label-disconnected-foreground = ${colors.foreground-alt}
|
||||
|
||||
ramp-signal-0 =
|
||||
ramp-signal-1 =
|
||||
ramp-signal-2 =
|
||||
ramp-signal-3 =
|
||||
ramp-signal-4 =
|
||||
ramp-signal-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/eth]
|
||||
type = internal/network
|
||||
interface = enp0s31f6
|
||||
interval = 3.0
|
||||
|
||||
format-connected-prefix = " "
|
||||
format-connected-prefix-foreground = ${colors.foreground-alt}
|
||||
label-connected = %local_ip%
|
||||
|
||||
format-disconnected =
|
||||
;format-disconnected = <label-disconnected>
|
||||
;format-disconnected-underline = ${self.format-connected-underline}
|
||||
;label-disconnected = %ifname% disconnected
|
||||
;label-disconnected-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 5
|
||||
|
||||
date =
|
||||
date-alt = " %Y-%m-%d"
|
||||
|
||||
time = %H:%M
|
||||
time-alt = %H:%M:%S
|
||||
|
||||
format-prefix =
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
|
||||
label = %date% %time%
|
||||
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
|
||||
format-volume = <label-volume> <bar-volume>
|
||||
label-volume = VOL %percentage%%
|
||||
label-volume-foreground = ${root.foreground}
|
||||
|
||||
label-muted = 🔇 muted
|
||||
label-muted-foreground = #666
|
||||
|
||||
bar-volume-width = 10
|
||||
bar-volume-foreground-0 = #55aa55
|
||||
bar-volume-foreground-1 = #55aa55
|
||||
bar-volume-foreground-2 = #55aa55
|
||||
bar-volume-foreground-3 = #55aa55
|
||||
bar-volume-foreground-4 = #55aa55
|
||||
bar-volume-foreground-5 = #f5a70a
|
||||
bar-volume-foreground-6 = #ff5555
|
||||
bar-volume-gradient = false
|
||||
bar-volume-indicator = |
|
||||
bar-volume-indicator-font = 2
|
||||
bar-volume-fill = ─
|
||||
bar-volume-fill-font = 2
|
||||
bar-volume-empty = ─
|
||||
bar-volume-empty-font = 2
|
||||
bar-volume-empty-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/alsa]
|
||||
type = internal/alsa
|
||||
|
||||
format-volume = <label-volume> <bar-volume>
|
||||
label-volume = VOL
|
||||
label-volume-foreground = ${root.foreground}
|
||||
|
||||
format-muted-prefix = " "
|
||||
format-muted-foreground = ${colors.foreground-alt}
|
||||
label-muted = sound muted
|
||||
|
||||
bar-volume-width = 10
|
||||
bar-volume-foreground-0 = #55aa55
|
||||
bar-volume-foreground-1 = #55aa55
|
||||
bar-volume-foreground-2 = #55aa55
|
||||
bar-volume-foreground-3 = #55aa55
|
||||
bar-volume-foreground-4 = #55aa55
|
||||
bar-volume-foreground-5 = #f5a70a
|
||||
bar-volume-foreground-6 = #ff5555
|
||||
bar-volume-gradient = false
|
||||
bar-volume-indicator = |
|
||||
bar-volume-indicator-font = 2
|
||||
bar-volume-fill = ─
|
||||
bar-volume-fill-font = 2
|
||||
bar-volume-empty = ─
|
||||
bar-volume-empty-font = 2
|
||||
bar-volume-empty-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
battery = BAT0
|
||||
adapter = AC
|
||||
full-at = 98
|
||||
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
|
||||
format-discharging = <animation-discharging> <label-discharging>
|
||||
format-discharging-underline = ${self.format-charging-underline}
|
||||
|
||||
format-full-prefix = " "
|
||||
format-full-prefix-foreground = ${colors.foreground-alt}
|
||||
format-full-underline = ${self.format-charging-underline}
|
||||
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-foreground = ${colors.foreground-alt}
|
||||
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-foreground = ${colors.foreground-alt}
|
||||
animation-charging-framerate = 750
|
||||
|
||||
animation-discharging-0 =
|
||||
animation-discharging-1 =
|
||||
animation-discharging-2 =
|
||||
animation-discharging-foreground = ${colors.foreground-alt}
|
||||
animation-discharging-framerate = 750
|
||||
|
||||
[module/temperature]
|
||||
type = internal/temperature
|
||||
thermal-zone = 0
|
||||
warn-temperature = 60
|
||||
|
||||
format = <ramp> <label>
|
||||
format-warn = <ramp> <label-warn>
|
||||
format-warn-underline = ${self.format-underline}
|
||||
|
||||
label = %temperature-c%
|
||||
label-warn = %temperature-c%
|
||||
label-warn-foreground = ${colors.secondary}
|
||||
|
||||
ramp-0 =
|
||||
ramp-1 =
|
||||
ramp-2 =
|
||||
ramp-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/powermenu]
|
||||
type = custom/menu
|
||||
|
||||
expand-right = true
|
||||
|
||||
format-spacing = 1
|
||||
|
||||
label-open =
|
||||
label-open-foreground = ${colors.secondary}
|
||||
label-close = cancel
|
||||
label-close-foreground = ${colors.secondary}
|
||||
label-separator = |
|
||||
label-separator-foreground = ${colors.foreground-alt}
|
||||
|
||||
menu-0-0 = reboot
|
||||
menu-0-0-exec = menu-open-1
|
||||
menu-0-1 = power off
|
||||
menu-0-1-exec = menu-open-2
|
||||
|
||||
menu-1-0 = cancel
|
||||
menu-1-0-exec = menu-open-0
|
||||
menu-1-1 = reboot
|
||||
menu-1-1-exec = sudo reboot
|
||||
|
||||
menu-2-0 = power off
|
||||
menu-2-0-exec = sudo poweroff
|
||||
menu-2-1 = cancel
|
||||
menu-2-1-exec = menu-open-0
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
;compositing-background = xor
|
||||
;compositing-background = screen
|
||||
;compositing-foreground = source
|
||||
;compositing-border = over
|
||||
;pseudo-transparency = false
|
||||
|
||||
[global/wm]
|
||||
margin-top = 5
|
||||
margin-bottom = 5
|
||||
|
||||
; vim:ft=dosini
|
||||
131
config/scripts/themes/BlueNova/config.rasi
Executable file
131
config/scripts/themes/BlueNova/config.rasi
Executable file
|
|
@ -0,0 +1,131 @@
|
|||
* {
|
||||
font: "Jetbrains Mono 12";
|
||||
foreground: #ffffff;
|
||||
background-color: #2B303B;
|
||||
active-background: #65737E;
|
||||
urgent-background: #BF616A;
|
||||
urgent-foreground: #2B303B;
|
||||
selected-background: @active-background;
|
||||
selected-urgent-background: @urgent-background;
|
||||
selected-active-background: @active-background;
|
||||
separatorcolor: @active-background;
|
||||
bordercolor: @active-background;
|
||||
}
|
||||
|
||||
configuration {
|
||||
show-icons: true;
|
||||
display-drun: "";
|
||||
disable-history: false;
|
||||
}
|
||||
|
||||
#window {
|
||||
background-color: @background-color;
|
||||
border: 3;
|
||||
border-radius: 6;
|
||||
border-color: @bordercolor;
|
||||
padding: 15;
|
||||
}
|
||||
#mainbox {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#message {
|
||||
border: 0px;
|
||||
border-color: @separatorcolor;
|
||||
padding: 1px;
|
||||
}
|
||||
#textbox {
|
||||
text-color: @foreground;
|
||||
}
|
||||
#listview {
|
||||
fixed-height: 0;
|
||||
border: 0px;
|
||||
border-color: @bordercolor;
|
||||
spacing: 2px ;
|
||||
scrollbar: false;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
#element {
|
||||
border: 0;
|
||||
padding: 3px ;
|
||||
}
|
||||
#element.normal.normal {
|
||||
background-color: @background-color;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
#element.normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.normal {
|
||||
background-color: @selected-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.normal {
|
||||
background-color: @background-color;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.active {
|
||||
background-color: @active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#scrollbar {
|
||||
width: 2px ;
|
||||
border: 0;
|
||||
handle-width: 8px ;
|
||||
padding: 0;
|
||||
}
|
||||
#sidebar {
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
}
|
||||
#button.selected {
|
||||
background-color: @selected-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#inputbar {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
padding: 1px ;
|
||||
}
|
||||
#case-indicator {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#entry {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#prompt {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#inputbar {
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
}
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ">";
|
||||
margin: 0px 0.3em 0em 0em ;
|
||||
text-color: @foreground;
|
||||
}
|
||||
element-text, element-icon {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
57
config/scripts/themes/BlueNova/dunstrc
Executable file
57
config/scripts/themes/BlueNova/dunstrc
Executable file
|
|
@ -0,0 +1,57 @@
|
|||
[global]
|
||||
font = Ubuntu Mono 11
|
||||
allow_markup = yes
|
||||
format = "<b>%s</b>\n%b"
|
||||
sort = yes
|
||||
indicate_hidden = yes
|
||||
alignment = left
|
||||
bounce_freq = 0
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
ignore_newline = no
|
||||
geometry = "300x5-30+20"
|
||||
shrink = no
|
||||
transparency = 0
|
||||
idle_threshold = 120
|
||||
monitor = 0
|
||||
sticky_history = yes
|
||||
history_length = 20
|
||||
show_indicators = yes
|
||||
line_height = 0
|
||||
separator_height = 2
|
||||
padding = 8
|
||||
horizontal_padding = 16
|
||||
separator_color = frame
|
||||
startup_notification = false
|
||||
dmenu = /usr/bin/dmenu -p dunst:
|
||||
browser = /usr/bin/firefox -new-tab
|
||||
icon_position = off
|
||||
icon_folders = /usr/share/icons/Papirus-Dark/16x16/status/:/usr/share/icons/Papirus-Dark/16x16/devices/
|
||||
|
||||
[frame]
|
||||
width = 3
|
||||
color = "#C0C5CE"
|
||||
|
||||
[shortcuts]
|
||||
close = ctrl+space
|
||||
close_all = ctrl+shift+space
|
||||
history = ctrl+grave
|
||||
context = ctrl+shift+period
|
||||
|
||||
[urgency_low]
|
||||
background = "#2B303B"
|
||||
foreground = "#C0C5CE"
|
||||
frame_color = "#C0C5CE"
|
||||
timeout = 4
|
||||
|
||||
[urgency_normal]
|
||||
background = "#2B303B"
|
||||
foreground = "#C0C5CE"
|
||||
frame_color = "#C0C5CE"
|
||||
timeout = 4
|
||||
|
||||
[urgency_critical]
|
||||
background = "#BF616A"
|
||||
foreground = "#EFF1F5"
|
||||
frame_color = "#EFF1F5"
|
||||
timeout = 0
|
||||
15
config/scripts/themes/BlueNova/settings.ini
Normal file
15
config/scripts/themes/BlueNova/settings.ini
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Settings]
|
||||
gtk-theme-name=BlueSky-Clean-Dark
|
||||
gtk-icon-theme-name=Papirus
|
||||
gtk-font-name=Sans 10
|
||||
gtk-cursor-theme-name=Sunity-cursors
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=1
|
||||
gtk-menu-images=1
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=1
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintfull
|
||||
167
config/scripts/themes/BlueNova/sxhkdrc
Executable file
167
config/scripts/themes/BlueNova/sxhkdrc
Executable file
|
|
@ -0,0 +1,167 @@
|
|||
super + shift + h
|
||||
mupdf "$HOME/.config/guide.pdf"
|
||||
|
||||
super + F1
|
||||
feh -F "$HOME/Pictures/work.png"
|
||||
|
||||
|
||||
super + Escape
|
||||
pkill -USR1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config'
|
||||
|
||||
# BG Ramdom
|
||||
|
||||
super + b
|
||||
feh --randomize --bg-fill ~/.config/wallpapers/
|
||||
|
||||
super + shift + f
|
||||
feh --randomize --bg-fill ~/.config/wallpapers/ --randomize --bg-fill ~/.config/wallpapers/
|
||||
|
||||
|
||||
# Apps Keybindings
|
||||
|
||||
super + Return
|
||||
kitty
|
||||
|
||||
super + p
|
||||
rofi -show drun -line padding 4 -hide-scrollbar -show-icons
|
||||
|
||||
super + d
|
||||
discord
|
||||
|
||||
super + shift + q
|
||||
i3-msg exit
|
||||
|
||||
super + r
|
||||
kitty -e "ranger"
|
||||
|
||||
super + n
|
||||
thunar
|
||||
|
||||
super + g
|
||||
github-desktop
|
||||
|
||||
alt + p
|
||||
rofi -show
|
||||
|
||||
super + w
|
||||
brave-browser
|
||||
|
||||
super + c
|
||||
codium
|
||||
|
||||
super + t
|
||||
telegram-desktop
|
||||
|
||||
super + s
|
||||
flameshot gui
|
||||
|
||||
super + m
|
||||
pavucontrol
|
||||
|
||||
# Audio Keybindings
|
||||
|
||||
XF86AudioMute
|
||||
amixer set Master toggle
|
||||
|
||||
XF86AudioLowerVolume
|
||||
amixer set Master 2%-
|
||||
|
||||
XF86AudioRaiseVolume
|
||||
amixer set Master 2%+
|
||||
|
||||
alt + d
|
||||
amixer -c 1 -- sset Master 2db+
|
||||
|
||||
alt + a
|
||||
amixer -c 1 -- sset Master 2db-
|
||||
|
||||
XF86AudioPlay
|
||||
playerctl play-pause
|
||||
|
||||
ctrl + alt + p
|
||||
playerctl play-pause
|
||||
|
||||
XF86AudioNext
|
||||
playerctl next
|
||||
|
||||
XF86AudioPrev
|
||||
playerctl previous
|
||||
|
||||
ctrl + shift + period
|
||||
playerctl next
|
||||
|
||||
ctrl + shift + comma
|
||||
playerctl previous
|
||||
|
||||
XF86AudioStop
|
||||
playerctl stop
|
||||
|
||||
alt + {h,j,k,l}
|
||||
mpc {prev,next,play,pause}
|
||||
|
||||
# Brightness bindings
|
||||
|
||||
XF86MonBrightnessDown
|
||||
~/.config/i3/scripts/brightness-control.sh XF86MonBrightnessDown
|
||||
|
||||
XF86MonBrightnessUp
|
||||
~/.config/i3/scripts/brightness-control.sh XF86MonBrightnessUp
|
||||
|
||||
# Switch between keyboard languages
|
||||
alt + space
|
||||
source ~/.config/i3/scripts/keyboard_layout.sh
|
||||
|
||||
#i3 Specific Keybindings
|
||||
|
||||
super + {v,h}
|
||||
i3-msg split {v,h}
|
||||
|
||||
super + f
|
||||
i3-msg fullscreen toggle
|
||||
|
||||
super + shift + space
|
||||
i3-msg floating toggle
|
||||
|
||||
super + control + space
|
||||
i3-msg focus mode_toggle
|
||||
|
||||
super + alt + a
|
||||
i3-msg focus parent
|
||||
|
||||
# Workspaces
|
||||
|
||||
super + {1-9,0}
|
||||
i3-msg workspace {1-9,10}
|
||||
|
||||
super + shift+{1-9,0}
|
||||
i3-msg move container to workspace number {1-9,10}
|
||||
|
||||
# Movement
|
||||
|
||||
super+{h,j,k,l}
|
||||
i3-msg focus {left,down,up,right}
|
||||
|
||||
super+shift+{h,j,k,l}
|
||||
i3-msg move {left,down,up,right}
|
||||
|
||||
super+{Left,Down,Up,Right}
|
||||
i3-msg focus {left,down,up,right}
|
||||
|
||||
super+shift+{Left,Down,Up,Right}
|
||||
i3-msg move {left,down,up,right}
|
||||
|
||||
|
||||
# Other bindings
|
||||
|
||||
super + q
|
||||
i3-msg kill
|
||||
|
||||
super + shift + c
|
||||
i3-msg reload
|
||||
|
||||
super + shift + r
|
||||
i3-msg restart; notify-send 'i3-gaps' 'Restarted'
|
||||
|
||||
super + ctrl + {Left,Down,Up,Right}
|
||||
i3-msg resize {grow width 1 px or 1 ppt, shrink height 1 px or 1 ppt, grow height 1 px or 1 ppt, shrink width 1 px or 1 ppt}
|
||||
|
||||
14
config/scripts/themes/Dracula.sh
Executable file
14
config/scripts/themes/Dracula.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
cp ~/.config/scripts/themes/Dracula/dunstrc ~/.config/dunst/
|
||||
|
||||
cp ~/.config/scripts/themes/Dracula/config.rasi ~/.config/rofi/
|
||||
|
||||
cp ~/.config/scripts/themes/Dracula/colors.conf ~/.config/i3/
|
||||
|
||||
cp ~/.config/scripts/themes/Dracula/alacritty.yml ~/.config/alacritty/
|
||||
|
||||
cp ~/.config/scripts/themes/Dracula/config ~/.config/polybar/
|
||||
|
||||
cp ~/.config/scripts/themes/Dracula/settings.ini ~/.config/gtk-3.0/
|
||||
cp ~/.config/scripts/themes/Dracula/.gtkrc-2.0 ~/
|
||||
18
config/scripts/themes/Dracula/.gtkrc-2.0
Normal file
18
config/scripts/themes/Dracula/.gtkrc-2.0
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
||||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||
|
||||
include "/home/zed/.gtkrc-2.0.mine"
|
||||
gtk-theme-name="Dracula"
|
||||
gtk-icon-theme-name="Dracula-icons"
|
||||
gtk-font-name="Sans 10"
|
||||
gtk-cursor-theme-name="Sunity-cursors"
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=1
|
||||
gtk-menu-images=1
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=1
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle="hintfull"
|
||||
33
config/scripts/themes/Dracula/alacritty.yml
Normal file
33
config/scripts/themes/Dracula/alacritty.yml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
window:
|
||||
#padding:
|
||||
#x: 10
|
||||
#y: 10
|
||||
class:
|
||||
instance: Alacritty
|
||||
general: Alacritty
|
||||
opacity: 0.92
|
||||
|
||||
scrolling:
|
||||
history: 10000
|
||||
multiplier: 3
|
||||
|
||||
font:
|
||||
normal:
|
||||
family: Hack Nerd Font
|
||||
style: Regular
|
||||
bold:
|
||||
family: Hack Nerd Font
|
||||
style: Bold
|
||||
italic:
|
||||
family: Hack Nerd Font
|
||||
style: Italic
|
||||
bold_italic:
|
||||
family: Hack Nerd Font
|
||||
style: Bold Italic
|
||||
size: 12
|
||||
draw_bold_text_with_bright_colors: true
|
||||
|
||||
selection:
|
||||
save_to_clipboard: true
|
||||
import:
|
||||
- ~/.config/alacritty/dracula.yml
|
||||
10
config/scripts/themes/Dracula/colors.conf
Executable file
10
config/scripts/themes/Dracula/colors.conf
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
######################################
|
||||
# Colors
|
||||
# class border bground text indicator child_border
|
||||
client.focused #d6acff #d6acff #F8F8F2 #d6acff #d6acff
|
||||
client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A
|
||||
client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36
|
||||
client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555
|
||||
client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36
|
||||
|
||||
client.background #F8F8F2
|
||||
183
config/scripts/themes/Dracula/config
Normal file
183
config/scripts/themes/Dracula/config
Normal file
|
|
@ -0,0 +1,183 @@
|
|||
[colors]
|
||||
background = ##282a36
|
||||
background-alt = #44475a
|
||||
foreground = #f8f8f2
|
||||
primary = #bd93f9
|
||||
secondary = #d6acff
|
||||
alert = #ff6e6e
|
||||
disabled = #00000
|
||||
|
||||
[bar/mybar]
|
||||
width = 100%
|
||||
height = 21pt
|
||||
radius = 0.0
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
line-size = 3pt
|
||||
border-size = 1pt
|
||||
border-color = #d6acff
|
||||
padding-left = 0
|
||||
padding-right = 1
|
||||
module-margin = 1
|
||||
;separator = |
|
||||
fixed-center = true
|
||||
separator-foreground = ${colors.disabled}
|
||||
font-0 = fixed:pixelsize=10;1
|
||||
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||
font-2 = siji:pixelsize=10;1
|
||||
modules-left = menu date xwindow
|
||||
modules-center = i3
|
||||
modules-right = pulseaudio xkeyboard memory cpu wlan battery
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
enable-ipc = true
|
||||
tray-position = right
|
||||
wm-restack = i3
|
||||
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
format = <label-state> <label-mode>
|
||||
index-sort = true
|
||||
wrapping-scroll = false
|
||||
label-mode-padding = 2
|
||||
label-mode-foreground = #000
|
||||
label-mode-background = ${colors.primary}
|
||||
label-focused = %index%
|
||||
label-focused-background = ${colors.background-alt}
|
||||
label-focused-underline= ${colors.primary}
|
||||
label-focused-padding = 2
|
||||
label-unfocused = %index%
|
||||
label-unfocused-padding = 2
|
||||
label-visible = %index%
|
||||
label-visible-background = ${self.label-focused-background}
|
||||
label-visible-underline = ${self.label-focused-underline}
|
||||
label-visible-padding = ${self.label-focused-padding}
|
||||
label-urgent = %index%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 2
|
||||
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
label-active = %name%
|
||||
label-active-background = ${colors.background-alt}
|
||||
label-active-underline= ${colors.primary}
|
||||
label-active-padding = 1
|
||||
label-occupied = %name%
|
||||
label-occupied-padding = 1
|
||||
label-urgent = %name%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 1
|
||||
label-empty = %name%
|
||||
label-empty-foreground = ${colors.disabled}
|
||||
label-empty-padding = 1
|
||||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title:0:30:...%
|
||||
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
interval = 25
|
||||
mount-0 = /home
|
||||
label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
|
||||
label-unmounted = %mountpoint% not mounted
|
||||
label-unmounted-foreground = ${colors.disabled}
|
||||
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
format-volume = <ramp-volume> <label-volume>
|
||||
format-volume-prefix = "VOL "
|
||||
format-volume-prefix-foreground = ${colors.foreground}
|
||||
label-volume = %percentage%%
|
||||
ramp-volume-0 = 🔈
|
||||
ramp-volume-1 = 🔉
|
||||
ramp-volume-2 = 🔊
|
||||
label-muted = 🔇 muted
|
||||
label-muted-foreground = ${colors.disabled}
|
||||
format-muted = <label-muted>
|
||||
|
||||
[module/xkeyboard]
|
||||
type = internal/xkeyboard
|
||||
blacklist-0 = num lock
|
||||
label-layout = %layout%
|
||||
label-layout-foreground = ${colors.foreground}
|
||||
label-indicator-padding = 2
|
||||
label-indicator-margin = 1
|
||||
label-indicator-foreground = ${colors.background}
|
||||
label-indicator-background = ${colors.secondary}
|
||||
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.foreground}
|
||||
label = %percentage_used:2%%
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 2
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.foreground}
|
||||
label = %percentage:2%%
|
||||
|
||||
[network-base]
|
||||
type = internal/network
|
||||
interval = 5
|
||||
format-connected = <label-connected>
|
||||
format-disconnected = <label-disconnected>
|
||||
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
|
||||
|
||||
[module/wlan]
|
||||
inherit = network-base
|
||||
interface-type = wireless
|
||||
label-connected = %{F#F0C674}%ifname%%{F-} %essid%
|
||||
|
||||
[module/eth]
|
||||
inherit = network-base
|
||||
interface-type = wired
|
||||
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
date = %H:%M
|
||||
date-alt = %Y-%m-%d %H:%M:%S
|
||||
label = %date%
|
||||
label-foreground = ${colors.foreground}
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
; This is useful in case the battery never reports 100% charge
|
||||
; Default: 100
|
||||
full-at = 99
|
||||
; format-low once this charge percentage is reached
|
||||
; Default: 10
|
||||
; New in version 3.6.0
|
||||
low-at = 5
|
||||
; Use the following command to list batteries and adapters:
|
||||
; $ ls -1 /sys/class/power_supply/
|
||||
battery = BAT0
|
||||
adapter = ADP1
|
||||
; If an inotify event haven't been reported in this many
|
||||
; seconds, manually poll for new values.
|
||||
;
|
||||
; Needed as a fallback for systems that don't report events
|
||||
; on sysfs/procfs.
|
||||
;
|
||||
; Disable polling by setting the interval to 0.
|
||||
;
|
||||
; Default: 5
|
||||
poll-interval = 5
|
||||
|
||||
[module/menu]
|
||||
type = custom/menu
|
||||
menu-0-1 = Files
|
||||
menu-0-1-exec = thunar &
|
||||
menu-0-2 = Terminal
|
||||
menu-0-2-exec = kitty &
|
||||
menu-0-3 = Browser
|
||||
menu-0-3-exec = brave-browser &
|
||||
format = <label-toggle> <menu>
|
||||
format-foreground = ${color.primary}
|
||||
label-open =
|
||||
label-close =
|
||||
131
config/scripts/themes/Dracula/config.rasi
Executable file
131
config/scripts/themes/Dracula/config.rasi
Executable file
|
|
@ -0,0 +1,131 @@
|
|||
* {
|
||||
font: "Jetbrains Mono 12";
|
||||
foreground: #f8f8f2;
|
||||
background-color: #282a36;
|
||||
active-background: #d6acff;
|
||||
urgent-background: #ff5555;
|
||||
urgent-foreground: #282a36;
|
||||
selected-background: @active-background;
|
||||
selected-urgent-background: @urgent-background;
|
||||
selected-active-background: @active-background;
|
||||
separatorcolor: @active-background;
|
||||
bordercolor: @active-background;
|
||||
}
|
||||
|
||||
configuration {
|
||||
show-icons: true;
|
||||
display-drun: "";
|
||||
disable-history: false;
|
||||
}
|
||||
|
||||
#window {
|
||||
background-color: @background-color;
|
||||
border: 3;
|
||||
border-radius: 6;
|
||||
border-color: @bordercolor;
|
||||
padding: 15;
|
||||
}
|
||||
#mainbox {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#message {
|
||||
border: 0px;
|
||||
border-color: @separatorcolor;
|
||||
padding: 1px;
|
||||
}
|
||||
#textbox {
|
||||
text-color: @foreground;
|
||||
}
|
||||
#listview {
|
||||
fixed-height: 0;
|
||||
border: 0px;
|
||||
border-color: @bordercolor;
|
||||
spacing: 2px ;
|
||||
scrollbar: false;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
#element {
|
||||
border: 0;
|
||||
padding: 3px ;
|
||||
}
|
||||
#element.normal.normal {
|
||||
background-color: @background-color;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
#element.normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.normal {
|
||||
background-color: @selected-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.normal {
|
||||
background-color: @background-color;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.active {
|
||||
background-color: @active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#scrollbar {
|
||||
width: 2px ;
|
||||
border: 0;
|
||||
handle-width: 8px ;
|
||||
padding: 0;
|
||||
}
|
||||
#sidebar {
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
}
|
||||
#button.selected {
|
||||
background-color: @selected-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#inputbar {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
padding: 1px ;
|
||||
}
|
||||
#case-indicator {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#entry {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#prompt {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#inputbar {
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
}
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ">";
|
||||
margin: 0px 0.3em 0em 0em ;
|
||||
text-color: @foreground;
|
||||
}
|
||||
element-text, element-icon {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
192
config/scripts/themes/Dracula/dunstrc
Normal file
192
config/scripts/themes/Dracula/dunstrc
Normal file
|
|
@ -0,0 +1,192 @@
|
|||
[global]
|
||||
font = Ubuntu Mono 11
|
||||
allow_markup = yes
|
||||
format = "<b>%s</b>\n%b"
|
||||
sort = yes
|
||||
indicate_hidden = yes
|
||||
alignment = left
|
||||
bounce_freq = 0
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
ignore_newline = no
|
||||
geometry = "300x5-30+20"
|
||||
shrink = no
|
||||
transparency = 0
|
||||
idle_threshold = 120
|
||||
monitor = 0
|
||||
sticky_history = yes
|
||||
history_length = 20
|
||||
show_indicators = yes
|
||||
line_height = 0
|
||||
separator_height = 2
|
||||
padding = 8
|
||||
horizontal_padding = 16
|
||||
separator_color = frame
|
||||
startup_notification = false
|
||||
dmenu = /usr/bin/dmenu -p dunst:
|
||||
browser = /usr/bin/firefox -new-tab
|
||||
icon_position = off
|
||||
icon_folders = /usr/share/icons/Papirus-Dark/16x16/status/:/usr/share/icons/Papirus-Dark/16x16/devices/
|
||||
|
||||
[frame]
|
||||
width = 3
|
||||
color = "#bd93f9"
|
||||
|
||||
[shortcuts]
|
||||
close = ctrl+space
|
||||
close_all = ctrl+shift+space
|
||||
history = ctrl+grave
|
||||
context = ctrl+shift+period
|
||||
|
||||
[urgency_low]
|
||||
background = "#282a36"
|
||||
foreground = "#bd93f9"
|
||||
frame_color = "#bd93f9"
|
||||
timeout = 4
|
||||
|
||||
[urgency_normal]
|
||||
background = "#282a36"
|
||||
foreground = "#bd93f9"
|
||||
frame_color = "#bd93f9"
|
||||
timeout = 4
|
||||
|
||||
[urgency_critical]
|
||||
background = "#ff5555"
|
||||
foreground = "#f8f8f2"
|
||||
frame_color = "#f8f8f2"
|
||||
timeout = 0
|
||||
|
||||
|
||||
|
||||
# Icon for notifications with low urgency, uncomment to enable
|
||||
#new_icon = /path/to/icon
|
||||
|
||||
|
||||
# Icon for notifications with normal urgency, uncomment to enable
|
||||
#new_icon = /path/to/icon
|
||||
|
||||
|
||||
# Icon for notifications with critical urgency, uncomment to enable
|
||||
#new_icon = /path/to/icon
|
||||
|
||||
# Every section that isn't one of the above is interpreted as a rules to
|
||||
# override settings for certain messages.
|
||||
#
|
||||
# Messages can be matched by
|
||||
# appname (discouraged, see desktop_entry)
|
||||
# body
|
||||
# category
|
||||
# desktop_entry
|
||||
# icon
|
||||
# match_transient
|
||||
# msg_urgency
|
||||
# stack_tag
|
||||
# summary
|
||||
#
|
||||
# and you can override the
|
||||
# background
|
||||
# foreground
|
||||
# format
|
||||
# frame_color
|
||||
# fullscreen
|
||||
# new_icon
|
||||
# set_stack_tag
|
||||
# set_transient
|
||||
# set_category
|
||||
# timeout
|
||||
# urgency
|
||||
# skip_display
|
||||
# history_ignore
|
||||
# action_name
|
||||
# word_wrap
|
||||
# ellipsize
|
||||
# alignment
|
||||
#
|
||||
# Shell-like globbing will get expanded.
|
||||
#
|
||||
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
|
||||
# GLib based applications export their desktop-entry name. In comparison to the appname,
|
||||
# the desktop-entry won't get localized.
|
||||
#
|
||||
# SCRIPTING
|
||||
# You can specify a script that gets run when the rule matches by
|
||||
# setting the "script" option.
|
||||
# The script will be called as follows:
|
||||
# script appname summary body icon urgency
|
||||
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
|
||||
#
|
||||
# NOTE: It might be helpful to run dunst -print in a terminal in order
|
||||
# to find fitting options for rules.
|
||||
|
||||
# Disable the transient hint so that idle_threshold cannot be bypassed from the
|
||||
# client
|
||||
#[transient_disable]
|
||||
# match_transient = yes
|
||||
# set_transient = no
|
||||
#
|
||||
# Make the handling of transient notifications more strict by making them not
|
||||
# be placed in history.
|
||||
#[transient_history_ignore]
|
||||
# match_transient = yes
|
||||
# history_ignore = yes
|
||||
|
||||
# fullscreen values
|
||||
# show: show the notifications, regardless if there is a fullscreen window opened
|
||||
# delay: displays the new notification, if there is no fullscreen window active
|
||||
# If the notification is already drawn, it won't get undrawn.
|
||||
# pushback: same as delay, but when switching into fullscreen, the notification will get
|
||||
# withdrawn from screen again and will get delayed like a new notification
|
||||
#[fullscreen_delay_everything]
|
||||
# fullscreen = delay
|
||||
#[fullscreen_show_critical]
|
||||
# msg_urgency = critical
|
||||
# fullscreen = show
|
||||
|
||||
#[espeak]
|
||||
# summary = "*"
|
||||
# script = dunst_espeak.sh
|
||||
|
||||
#[script-test]
|
||||
# summary = "*script*"
|
||||
# script = dunst_test.sh
|
||||
|
||||
#[ignore]
|
||||
# # This notification will not be displayed
|
||||
# summary = "foobar"
|
||||
# skip_display = true
|
||||
|
||||
#[history-ignore]
|
||||
# # This notification will not be saved in history
|
||||
# summary = "foobar"
|
||||
# history_ignore = yes
|
||||
|
||||
#[skip-display]
|
||||
# # This notification will not be displayed, but will be included in the history
|
||||
# summary = "foobar"
|
||||
# skip_display = yes
|
||||
|
||||
#[signed_on]
|
||||
# appname = Pidgin
|
||||
# summary = "*signed on*"
|
||||
# urgency = low
|
||||
#
|
||||
#[signed_off]
|
||||
# appname = Pidgin
|
||||
# summary = *signed off*
|
||||
# urgency = low
|
||||
#
|
||||
#[says]
|
||||
# appname = Pidgin
|
||||
# summary = *says*
|
||||
# urgency = critical
|
||||
#
|
||||
#[twitter]
|
||||
# appname = Pidgin
|
||||
# summary = *twitter.com*
|
||||
# urgency = normal
|
||||
#
|
||||
#[stack-volumes]
|
||||
# appname = "some_volume_notifiers"
|
||||
# set_stack_tag = "volume"
|
||||
#
|
||||
# vim: ft=cfg
|
||||
15
config/scripts/themes/Dracula/settings.ini
Normal file
15
config/scripts/themes/Dracula/settings.ini
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Settings]
|
||||
gtk-theme-name=Dracula
|
||||
gtk-icon-theme-name=Dracula-icons
|
||||
gtk-font-name=Sans 10
|
||||
gtk-cursor-theme-name=Sunity-cursors
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=1
|
||||
gtk-menu-images=1
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=1
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintfull
|
||||
14
config/scripts/themes/Nord.sh
Executable file
14
config/scripts/themes/Nord.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
cp ~/.config/scripts/themes/Nord/dunstrc ~/.config/dunst/
|
||||
|
||||
cp ~/.config/scripts/themes/Nord/config.rasi ~/.config/rofi/
|
||||
|
||||
cp ~/.config/scripts/themes/Nord/colors.conf ~/.config/i3/
|
||||
|
||||
cp ~/.config/scripts/themes/Nord/alacritty.yml ~/.config/alacritty/
|
||||
|
||||
cp ~/.config/scripts/themes/Nord/config ~/.config/polybar/
|
||||
|
||||
cp ~/.config/scripts/themes/Nord/settings.ini ~/.config/gtk-3.0/
|
||||
cp ~/.config/scripts/themes/Nord/.gtkrc-2.0 ~/
|
||||
18
config/scripts/themes/Nord/.gtkrc-2.0
Normal file
18
config/scripts/themes/Nord/.gtkrc-2.0
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
||||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||
|
||||
include "/home/zed/.gtkrc-2.0.mine"
|
||||
gtk-theme-name="Nordic"
|
||||
gtk-icon-theme-name="Papirus"
|
||||
gtk-font-name="Sans 10"
|
||||
gtk-cursor-theme-name="Sunity-cursors"
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=1
|
||||
gtk-menu-images=1
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=1
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle="hintfull"
|
||||
33
config/scripts/themes/Nord/alacritty.yml
Normal file
33
config/scripts/themes/Nord/alacritty.yml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
window:
|
||||
#padding:
|
||||
#x: 10
|
||||
#y: 10
|
||||
class:
|
||||
instance: Alacritty
|
||||
general: Alacritty
|
||||
opacity: 0.92
|
||||
|
||||
scrolling:
|
||||
history: 10000
|
||||
multiplier: 3
|
||||
|
||||
font:
|
||||
normal:
|
||||
family: Hack Nerd Font
|
||||
style: Regular
|
||||
bold:
|
||||
family: Hack Nerd Font
|
||||
style: Bold
|
||||
italic:
|
||||
family: Hack Nerd Font
|
||||
style: Italic
|
||||
bold_italic:
|
||||
family: Hack Nerd Font
|
||||
style: Bold Italic
|
||||
size: 12
|
||||
draw_bold_text_with_bright_colors: true
|
||||
|
||||
selection:
|
||||
save_to_clipboard: true
|
||||
import:
|
||||
- ~/.config/alacritty/nord.yml
|
||||
9
config/scripts/themes/Nord/colors.conf
Executable file
9
config/scripts/themes/Nord/colors.conf
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
######################################
|
||||
# Colors
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused #2E3440 #2E3440 #ECEFF4 #ECEFF4 #ECEFF4.
|
||||
client.focused_inactive #2B303B #2E3440 #D9DEE8 #000000 #000000
|
||||
client.unfocused #2B303B #2B303B #65737E #292d2e #222222
|
||||
client.urgent #BF616A #BF616A #D9DEE8 #BF616A #BF616A
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
||||
client.background #ffffff
|
||||
183
config/scripts/themes/Nord/config
Executable file
183
config/scripts/themes/Nord/config
Executable file
|
|
@ -0,0 +1,183 @@
|
|||
[colors]
|
||||
background = #2E3440
|
||||
background-alt = #373B41
|
||||
foreground = #ECEFF4
|
||||
primary = #D8DEE9
|
||||
secondary = #81A1C1
|
||||
alert = #BF616A
|
||||
disabled = #00000
|
||||
|
||||
[bar/mybar]
|
||||
width = 100%
|
||||
height = 21pt
|
||||
radius = 0.0
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
line-size = 3pt
|
||||
border-size = 1pt
|
||||
border-color = #ECEFF4
|
||||
padding-left = 0
|
||||
padding-right = 1
|
||||
module-margin = 1
|
||||
;separator = |
|
||||
fixed-center = true
|
||||
separator-foreground = ${colors.disabled}
|
||||
font-0 = fixed:pixelsize=10;1
|
||||
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||
font-2 = siji:pixelsize=10;1
|
||||
modules-left = menu date xwindow
|
||||
modules-center = i3
|
||||
modules-right = pulseaudio xkeyboard memory cpu wlan battery
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
enable-ipc = true
|
||||
tray-position = right
|
||||
wm-restack = i3
|
||||
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
format = <label-state> <label-mode>
|
||||
index-sort = true
|
||||
wrapping-scroll = false
|
||||
label-mode-padding = 2
|
||||
label-mode-foreground = #000
|
||||
label-mode-background = ${colors.primary}
|
||||
label-focused = %index%
|
||||
label-focused-background = ${colors.background-alt}
|
||||
label-focused-underline= ${colors.primary}
|
||||
label-focused-padding = 2
|
||||
label-unfocused = %index%
|
||||
label-unfocused-padding = 2
|
||||
label-visible = %index%
|
||||
label-visible-background = ${self.label-focused-background}
|
||||
label-visible-underline = ${self.label-focused-underline}
|
||||
label-visible-padding = ${self.label-focused-padding}
|
||||
label-urgent = %index%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 2
|
||||
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
label-active = %name%
|
||||
label-active-background = ${colors.background-alt}
|
||||
label-active-underline= ${colors.primary}
|
||||
label-active-padding = 1
|
||||
label-occupied = %name%
|
||||
label-occupied-padding = 1
|
||||
label-urgent = %name%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 1
|
||||
label-empty = %name%
|
||||
label-empty-foreground = ${colors.disabled}
|
||||
label-empty-padding = 1
|
||||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title:0:30:...%
|
||||
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
interval = 25
|
||||
mount-0 = /home
|
||||
label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
|
||||
label-unmounted = %mountpoint% not mounted
|
||||
label-unmounted-foreground = ${colors.disabled}
|
||||
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
format-volume = <ramp-volume> <label-volume>
|
||||
format-volume-prefix = "VOL "
|
||||
format-volume-prefix-foreground = ${colors.primary}
|
||||
label-volume = %percentage%%
|
||||
ramp-volume-0 = 🔈
|
||||
ramp-volume-1 = 🔉
|
||||
ramp-volume-2 = 🔊
|
||||
label-muted = 🔇 muted
|
||||
label-muted-foreground = ${colors.disabled}
|
||||
format-muted = <label-muted>
|
||||
|
||||
[module/xkeyboard]
|
||||
type = internal/xkeyboard
|
||||
blacklist-0 = num lock
|
||||
label-layout = %layout%
|
||||
label-layout-foreground = ${colors.primary}
|
||||
label-indicator-padding = 2
|
||||
label-indicator-margin = 1
|
||||
label-indicator-foreground = ${colors.background}
|
||||
label-indicator-background = ${colors.secondary}
|
||||
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.primary}
|
||||
label = %percentage_used:2%%
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 2
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.primary}
|
||||
label = %percentage:2%%
|
||||
|
||||
[network-base]
|
||||
type = internal/network
|
||||
interval = 5
|
||||
format-connected = <label-connected>
|
||||
format-disconnected = <label-disconnected>
|
||||
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
|
||||
|
||||
[module/wlan]
|
||||
inherit = network-base
|
||||
interface-type = wireless
|
||||
label-connected = %{F#F0C674}%ifname%%{F-} %essid%
|
||||
|
||||
[module/eth]
|
||||
inherit = network-base
|
||||
interface-type = wired
|
||||
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
date = %H:%M
|
||||
date-alt = %Y-%m-%d %H:%M:%S
|
||||
label = %date%
|
||||
label-foreground = ${colors.primary}
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
; This is useful in case the battery never reports 100% charge
|
||||
; Default: 100
|
||||
full-at = 99
|
||||
; format-low once this charge percentage is reached
|
||||
; Default: 10
|
||||
; New in version 3.6.0
|
||||
low-at = 5
|
||||
; Use the following command to list batteries and adapters:
|
||||
; $ ls -1 /sys/class/power_supply/
|
||||
battery = BAT0
|
||||
adapter = ADP1
|
||||
; If an inotify event haven't been reported in this many
|
||||
; seconds, manually poll for new values.
|
||||
;
|
||||
; Needed as a fallback for systems that don't report events
|
||||
; on sysfs/procfs.
|
||||
;
|
||||
; Disable polling by setting the interval to 0.
|
||||
;
|
||||
; Default: 5
|
||||
poll-interval = 5
|
||||
|
||||
[module/menu]
|
||||
type = custom/menu
|
||||
menu-0-1 = Files
|
||||
menu-0-1-exec = thunar &
|
||||
menu-0-2 = Terminal
|
||||
menu-0-2-exec = kitty &
|
||||
menu-0-3 = Browser
|
||||
menu-0-3-exec = brave-browser &
|
||||
format = <label-toggle> <menu>
|
||||
format-foreground = ${color.primary}
|
||||
label-open =
|
||||
label-close =
|
||||
131
config/scripts/themes/Nord/config.rasi
Executable file
131
config/scripts/themes/Nord/config.rasi
Executable file
|
|
@ -0,0 +1,131 @@
|
|||
* {
|
||||
font: "Jetbrains Mono 12";
|
||||
foreground: #D8DEE9;
|
||||
background-color: #2E3440;
|
||||
active-background: #ECEFF4;
|
||||
urgent-background: #BF616A;
|
||||
urgent-foreground: #2E3440;
|
||||
selected-background: @active-background;
|
||||
selected-urgent-background: @urgent-background;
|
||||
selected-active-background: @active-background;
|
||||
separatorcolor: @active-background;
|
||||
bordercolor: @active-background;
|
||||
}
|
||||
|
||||
configuration {
|
||||
show-icons: true;
|
||||
display-drun: "";
|
||||
disable-history: false;
|
||||
}
|
||||
|
||||
#window {
|
||||
background-color: @background-color;
|
||||
border: 3;
|
||||
border-radius: 6;
|
||||
border-color: @bordercolor;
|
||||
padding: 15;
|
||||
}
|
||||
#mainbox {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#message {
|
||||
border: 0px;
|
||||
border-color: @separatorcolor;
|
||||
padding: 1px;
|
||||
}
|
||||
#textbox {
|
||||
text-color: @foreground;
|
||||
}
|
||||
#listview {
|
||||
fixed-height: 0;
|
||||
border: 0px;
|
||||
border-color: @bordercolor;
|
||||
spacing: 2px ;
|
||||
scrollbar: false;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
#element {
|
||||
border: 0;
|
||||
padding: 3px ;
|
||||
}
|
||||
#element.normal.normal {
|
||||
background-color: @background-color;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
#element.normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.normal {
|
||||
background-color: @selected-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.normal {
|
||||
background-color: @background-color;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.active {
|
||||
background-color: @active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#scrollbar {
|
||||
width: 2px ;
|
||||
border: 0;
|
||||
handle-width: 8px ;
|
||||
padding: 0;
|
||||
}
|
||||
#sidebar {
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
}
|
||||
#button.selected {
|
||||
background-color: @selected-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#inputbar {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
padding: 1px ;
|
||||
}
|
||||
#case-indicator {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#entry {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#prompt {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#inputbar {
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
}
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ">";
|
||||
margin: 0px 0.3em 0em 0em ;
|
||||
text-color: @foreground;
|
||||
}
|
||||
element-text, element-icon {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
57
config/scripts/themes/Nord/dunstrc
Executable file
57
config/scripts/themes/Nord/dunstrc
Executable file
|
|
@ -0,0 +1,57 @@
|
|||
[global]
|
||||
font = Ubuntu Mono 11
|
||||
allow_markup = yes
|
||||
format = "<b>%s</b>\n%b"
|
||||
sort = yes
|
||||
indicate_hidden = yes
|
||||
alignment = left
|
||||
bounce_freq = 0
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
ignore_newline = no
|
||||
geometry = "300x5-30+20"
|
||||
shrink = no
|
||||
transparency = 0
|
||||
idle_threshold = 120
|
||||
monitor = 0
|
||||
sticky_history = yes
|
||||
history_length = 20
|
||||
show_indicators = yes
|
||||
line_height = 0
|
||||
separator_height = 2
|
||||
padding = 8
|
||||
horizontal_padding = 16
|
||||
separator_color = frame
|
||||
startup_notification = false
|
||||
dmenu = /usr/bin/dmenu -p dunst:
|
||||
browser = /usr/bin/firefox -new-tab
|
||||
icon_position = off
|
||||
icon_folders = /usr/share/icons/Papirus-Dark/16x16/status/:/usr/share/icons/Papirus-Dark/16x16/devices/
|
||||
|
||||
[frame]
|
||||
width = 3
|
||||
color = "#D8DEE9"
|
||||
|
||||
[shortcuts]
|
||||
close = ctrl+space
|
||||
close_all = ctrl+shift+space
|
||||
history = ctrl+grave
|
||||
context = ctrl+shift+period
|
||||
|
||||
[urgency_low]
|
||||
background = "#2E3440"
|
||||
foreground = "#D8DEE9"
|
||||
frame_color = "#D8DEE9"
|
||||
timeout = 4
|
||||
|
||||
[urgency_normal]
|
||||
background = "#2E3440"
|
||||
foreground = "#D8DEE9"
|
||||
frame_color = "#D8DEE9"
|
||||
timeout = 4
|
||||
|
||||
[urgency_critical]
|
||||
background = "#ff5555"
|
||||
foreground = "#f8f8f2"
|
||||
frame_color = "#f8f8f2"
|
||||
timeout = 0
|
||||
15
config/scripts/themes/Nord/settings.ini
Normal file
15
config/scripts/themes/Nord/settings.ini
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Settings]
|
||||
gtk-theme-name=Nordic
|
||||
gtk-icon-theme-name=Papirus
|
||||
gtk-font-name=Sans 10
|
||||
gtk-cursor-theme-name=Sunity-cursors
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=1
|
||||
gtk-menu-images=1
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=1
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintfull
|
||||
48
config/scripts/wallpaper-double-display.sh
Executable file
48
config/scripts/wallpaper-double-display.sh
Executable file
|
|
@ -0,0 +1,48 @@
|
|||
#!/bin/bash
|
||||
|
||||
# background directory
|
||||
bgdir="$HOME/.config/wallpapers"
|
||||
|
||||
# current wallpaper for the first monitor
|
||||
cbg1="$HOME/.config/wallpapers/monitor1_wallpaper.png"
|
||||
|
||||
# current wallpaper for the second monitor
|
||||
cbg2="$HOME/.config/wallpapers/monitor2_wallpaper.png"
|
||||
|
||||
# reads stdout of sxiv mark after quitting (Mark with m and q to quit)
|
||||
# (currently reads last wallpaper selected no matter how many you select)
|
||||
choice="$(sxiv -t -o -r "$bgdir")"
|
||||
choicenum="$(echo "$choice" | wc -l)"
|
||||
|
||||
# If no choice for wallpaper was made, exit the script
|
||||
[ -z "$choice" ] && exit 0
|
||||
|
||||
# Check the number of selected wallpapers
|
||||
if [ "$choicenum" -lt 2 ]; then
|
||||
echo "Please select at least two wallpapers."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Extract the first two wallpapers from the selected choices
|
||||
wallpapers=($(echo "$choice" | head -n2))
|
||||
|
||||
# Check if feh is installed
|
||||
if [ -x "$(command -v feh)" ]; then
|
||||
feh --bg-fill "${wallpapers[0]}" --bg-fill "${wallpapers[1]}"
|
||||
else
|
||||
echo "feh is not installed. Please install feh to set wallpapers."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Copy the first wallpaper to the first monitor's current wallpaper path
|
||||
cp "${wallpapers[0]}" "$cbg2"
|
||||
|
||||
# Copy the second wallpaper to the second monitor's current wallpaper path
|
||||
cp "${wallpapers[1]}" "$cbg1"
|
||||
|
||||
|
||||
#sed -i '5s/.*/feh --bg-fill "${wallpapers[1]}" --bg-fill "${wallpapers[0]}"/' ~/.config/scripts/double-display.sh
|
||||
|
||||
echo "#!/bin/bash" > ~/.config/scripts/last-two-wallpapers.sh
|
||||
|
||||
echo feh --bg-fill "${wallpapers[1]}" --bg-fill "${wallpapers[0]}" >> ~/.config/scripts/last-two-wallpapers.sh
|
||||
34
config/scripts/wallpaper-single-display.sh
Executable file
34
config/scripts/wallpaper-single-display.sh
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
#!/bin/bash
|
||||
|
||||
# script requires sxiv and feh
|
||||
|
||||
# background directory
|
||||
bgdir="$HOME/.config/wallpapers"
|
||||
|
||||
# current wallpaper so the lockscreen script will match
|
||||
cbg="$HOME/.config/wallpapers/ign_astronaut.png"
|
||||
|
||||
|
||||
# reads stdout of sxiv mark after quitting (Mark with m and q to quit)
|
||||
# (currently reads last wallpaper selected no matter how many you select)
|
||||
choice="$(sxiv -t -o -r "$bgdir")"
|
||||
choicenum="$(echo "$choice" | wc -l)"
|
||||
|
||||
# If no choice for wallpaper was made, exit the script
|
||||
[ -z "$choice" ] && exit 0
|
||||
[ "$choicenum" == 1 ] && lastwp="$(echo "$choice")"
|
||||
[ "$choicenum" -gt 1 ] && lastwp="$(echo "$choice" | tail -n1)"
|
||||
|
||||
# Check if feh is installed and set the command accordingly
|
||||
if [ -x "$(command -v feh)" ]; then
|
||||
set="feh --bg-fill"
|
||||
else
|
||||
echo "feh is not installed. Please install feh to set wallpapers."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
$set "$lastwp" && cp "$lastwp" "$cbg"
|
||||
|
||||
echo "#!/bin/bash" > ~/.config/scripts/last-single-wallpapers.sh
|
||||
|
||||
echo feh --bg-fill "$lastwp" >> ~/.config/scripts/last-single-wallpapers.sh
|
||||
7
config/scripts/youtube-watcher.sh
Executable file
7
config/scripts/youtube-watcher.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Enter your URL: "
|
||||
|
||||
read url
|
||||
|
||||
mpv --ytdl-raw-options=format="best[height<=720]" $url
|
||||
Loading…
Add table
Add a link
Reference in a new issue