This commit is contained in:
Salim Zaidi 2023-06-30 11:06:56 +01:00
parent 320d80fbe0
commit 626d55a2fa
45 changed files with 182 additions and 64 deletions

View file

@ -53,5 +53,5 @@ if [[ $config_file == ranger* ]]; then
$config_file
else
# Open the selected config file with Vim
vim "$config_file"
nvim "$config_file"
fi

View file

@ -1,2 +1,2 @@
#!/bin/bash
feh --bg-fill /home/zed/.config/wallpapers/71k61pmm5kd81.jpg
feh --bg-fill /home/zed/.config/wallpapers/moon.jpg

View file

@ -1,2 +1,2 @@
#!/bin/bash
feh --bg-fill /home/zed/.config/wallpapers/ign_cityRain.png --bg-fill /home/zed/.config/wallpapers/ign-0011.png
feh --bg-fill /home/zed/.config/wallpapers/moon.jpg --bg-fill /home/zed/.config/wallpapers/moon.jpg

View file

@ -1,2 +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
xrandr --output DVI-D-1 --primary --mode 1920x1080 --pos 900x0 --rotate normal --output HDMI-1 --mode 1600x900 --pos 0x0 --rotate right --output DP-0 --off --output DP-1 --off

View file

@ -1,2 +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
xrandr --output DVI-D-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-1 --off --output DP-0 --off --output DP-1 --off

View file

@ -1,6 +1,6 @@
#!/bin/bash
xrandr --output DVI-D-0 --mode 1920x1080 --pos 900x0 --output HDMI-0 --mode 1600x900 --pos 0x0 --rotate right
xrandr --output DVI-D-1 --mode 1920x1080 --pos 900x0 --output HDMI-1 --mode 1600x900 --pos 0x0 --rotate right
source ~/.config/scripts/last-two-wallpapers.sh
clear

View file

@ -1,4 +1,4 @@
#!/bin/bash
xrandr --output DVI-D-0 --mode 1920x1080 --pos 0x0 --output HDMI-0 --off
xrandr --output DVI-D-1 --mode 1920x1080 --pos 0x0 --output HDMI-1 --off
source ~/.config/scripts/last-single-wallpapers.sh

View file

@ -15,4 +15,6 @@ cp ~/.config/scripts/themes/BlueNova/.gtkrc-2.0 ~/
cp ~/.config/scripts/themes/BlueNova/.fehbg ~/
cp ~/.config/scripts/themes/synth-shell-prompt.config ~/.config/synth-shell
i3-msg restart; notify-send 'Theme Set To:' 'BlueNove'

View file

@ -15,4 +15,6 @@ cp ~/.config/scripts/themes/Brown/.gtkrc-2.0 ~/
cp ~/.config/scripts/themes/Brown/.fehbg ~/
cp ~/.config/scripts/themes/synth-shell-prompt.config ~/.config/synth-shell
i3-msg restart; notify-send 'Theme Set To:' 'Brown'

View file

@ -15,4 +15,6 @@ cp ~/.config/scripts/themes/Darkness/.gtkrc-2.0 ~/
cp ~/.config/scripts/themes/Darkness/.fehbg ~/
cp ~/.config/scripts/themes/synth-shell-prompt.config ~/.config/synth-shell
i3-msg restart; notify-send 'Theme Set To:' 'Darkness'

View file

@ -15,4 +15,6 @@ cp ~/.config/scripts/themes/Dracula/.gtkrc-2.0 ~/
cp ~/.config/scripts/themes/Dracula/.fehbg ~/
cp ~/.config/scripts/themes/synth-shell-prompt.config ~/.config/synth-shell
i3-msg restart; notify-send 'Theme Set To:' 'Dracula'

View file

@ -1,2 +1,2 @@
#!/bin/sh
feh --no-fehbg --bg-fill '/home/$USER/.config/wallpapers/wall.jpg'
feh --no-fehbg --bg-fill '/home/$USER/.config/wallpapers/dracula.jpg'

View file

@ -1,18 +0,0 @@
#!/bin/bash
cp ~/.config/scripts/themes/Gray/dunstrc ~/.config/dunst/
cp ~/.config/scripts/themes/Gray/config.rasi ~/.config/rofi/
cp ~/.config/scripts/themes/Gray/colors.conf ~/.config/i3/
cp ~/.config/scripts/themes/Gray/alacritty.yml ~/.config/alacritty/
cp ~/.config/scripts/themes/Gray/config ~/.config/polybar/
cp ~/.config/scripts/themes/Gray/settings.ini ~/.config/gtk-3.0/
cp ~/.config/scripts/themes/Gray/.gtkrc-2.0 ~/
cp ~/.config/scripts/themes/Gray/.fehbg ~/
i3-msg restart; notify-send 'Theme Set To:' 'Gray'

View file

@ -1,2 +0,0 @@
#!/bin/sh
feh --no-fehbg --bg-fill '/home/$USER/.config/wallpapers/darkness.jpg'

View file

@ -15,4 +15,6 @@ cp ~/.config/scripts/themes/Horizon/.gtkrc-2.0 ~/
cp ~/.config/scripts/themes/Horizon/.fehbg ~/
cp ~/.config/scripts/themes/synth-shell-prompt.config ~/.config/synth-shell
i3-msg restart; notify-send 'Theme Set To:' 'Horizon'

View file

@ -15,4 +15,6 @@ cp ~/.config/scripts/themes/Manjaro/.gtkrc-2.0 ~/
cp ~/.config/scripts/themes/Manjaro/.fehbg ~/
cp ~/.config/scripts/themes/synth-shell-prompt.config ~/.config/synth-shell
i3-msg restart; notify-send 'Theme Set To:' 'Manjaro'

18
config/scripts/themes/Moon.sh Executable file
View file

@ -0,0 +1,18 @@
#!/bin/bash
cp ~/.config/scripts/themes/Moon/dunstrc ~/.config/dunst/
cp ~/.config/scripts/themes/Moon/config.rasi ~/.config/rofi/
cp ~/.config/scripts/themes/Moon/colors.conf ~/.config/i3/
cp ~/.config/scripts/themes/Moon/alacritty.yml ~/.config/alacritty/
cp ~/.config/scripts/themes/Moon/config ~/.config/polybar/
cp ~/.config/scripts/themes/Moon/settings.ini ~/.config/gtk-3.0/
cp ~/.config/scripts/themes/Moon/.gtkrc-2.0 ~/
cp ~/.config/scripts/themes/Moon/.fehbg ~/
i3-msg restart; notify-send 'Theme Set To:' 'Moon'

View file

@ -0,0 +1,2 @@
#!/bin/sh
feh --no-fehbg --bg-fill '/home/$USER/.config/wallpapers/moon.jpg'

View file

@ -15,4 +15,6 @@ cp ~/.config/scripts/themes/Nord/.gtkrc-2.0 ~/
cp ~/.config/scripts/themes/Nord/.fehbg ~/
cp ~/.config/scripts/themes/synth-shell-prompt.config ~/.config/synth-shell
i3-msg restart; notify-send 'Theme Set To:' 'Nord'

View file

@ -15,4 +15,6 @@ cp ~/.config/scripts/themes/Pink/.gtkrc-2.0 ~/
cp ~/.config/scripts/themes/Pink/.fehbg ~/
cp ~/.config/scripts/themes/synth-shell-prompt.config ~/.config/synth-shell
i3-msg restart; notify-send 'Theme Set To:' 'Pink'

View file

@ -0,0 +1,92 @@
##==============================================================================
## COLORS
##
## Control the color and format scheme of the bash prompt.
## The prompt is divided into segments, listed below starting from the left:
## - USER: shows the user's name.
## - HOST: shows the host's name.
## - PWD: shows the current directory.
## - GIT: if inside a git repository, shows the name of current branch.
## - PYENV: if inside a Python Virtual environment.
## - TF: if inside a Terraform Workspace.
## - CLOCK: shows current time in H:M format.
## - INPUT: actual bash input.
##
## Valid color options:
## - white black light-gray dark-gray
## red green yellow blue cyan purple
## light-red light-green light-yellow light-blue light-cyan light-purple
## - Values in the range [0-255] for 256 bit colors. To check all number-color
## pairs for your terminal, you may run the following snippet by HaleTom:
## curl -s https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/ | bash
## or search something like "bash 256 color codes" on the internet.
##
##==============================================================================
format="USER HOST PWD GIT PYENV TF KUBE"
font_color_user="white"
background_user="blue"
texteffect_user="bold"
font_color_host="white"
background_host="light-blue"
texteffect_host="bold"
font_color_pwd="dark-gray"
background_pwd="white"
texteffect_pwd="bold"
font_color_git="light-gray"
background_git="dark-gray"
texteffect_git="bold"
font_color_pyenv="white"
background_pyenv="blue"
texteffect_pyenv="bold"
font_color_kube="white"
background_kube="purple"
texteffect_kube="bold"
font_color_tf="purple"
background_tf="light-purple"
texteffect_tf="bold"
font_color_clock="white"
background_clock="light-blue"
texteffect_clock="bold"
font_color_input="white"
background_input="none"
texteffect_input="bold"
##==============================================================================
## BEHAVIOR
##==============================================================================
separator_char='\uE0B0' # Separation character, '\uE0B0'=triangle
separator_padding_left='' #
separator_padding_right='' #
prompt_horizontal_padding='' #
prompt_final_padding='' #
segment_padding=' ' #
enable_vertical_padding=true # Add extra new line over prompt
max_pwd_char="20"
##==============================================================================
## GIT
##==============================================================================
git_symbol_synced=''
git_symbol_unpushed=' ▲'
git_symbol_unpulled=' ▼'
git_symbol_unpushedunpulled=' ◆'
git_symbol_dirty=' ◔'
git_symbol_dirty_unpushed=' ◔ △'
git_symbol_dirty_unpulled=' ◔ ▽'
git_symbol_dirty_unpushedunpulled=' ◔ ◇'
git_update_period_minutes=15 # Use -1 to disable automatic updates