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

@ -87,11 +87,21 @@ sudo nala install -y mupdf
# Disk Utilities and Cleaning Tools
sudo nala install -y gnome-disk-utility bleachbit
# Neovim Build prerequisites
sudo nala install -y ninja-build gettext cmake curl
# Install Neovim
git clone https://github.com/neovim/neovim
cd neovim && make CMAKE_BUILD_TYPE=RelWithDebInfo
git checkout stable
cd build && cpack -G DEB && sudo dpkg -i nvim-linux64.deb
# Required packages for i3-gaps installation
sudo nala install -y meson dh-autoreconf libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev xcb libxcb1-dev libxcb-icccm4-dev libyajl-dev libev-dev libxcb-xkb-dev libxcb-cursor-dev libxkbcommon-dev libxcb-xinerama0-dev libxkbcommon-x11-dev libstartup-notification0-dev libxcb-randr0-dev libxcb-xrm0 libxcb-xrm-dev libxcb-shape0 libxcb-shape0-dev cmake i3status
sudo nala install -y meson dh-autoreconf libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev xcb libxcb1-dev libxcb-icccm4-dev libyajl-dev libev-dev libxcb-xkb-dev libxcb-cursor-dev libxkbcommon-dev libxcb-xinerama0-dev libxkbcommon-x11-dev libstartup-notification0-dev libxcb-randr0-dev libxcb-xrm0 libxcb-xrm-dev libxcb-shape0 libxcb-shape0-dev i3status
# Brave-Browser
sudo nala install -y curl
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg

View file

@ -77,21 +77,8 @@ echo '# Increase volume
xbindkeys -f ~/.xbindkeysrc
#--------------------------------------------------
sudo mkdir -p ~/.local/share/file-manager/actions/
sudo touch ~/.local/share/file-manager/actions/terminal.desktop
sudo echo "[Desktop Entry]
Type=Action
Tooltip=Open Terminal
Name=Open Terminal
Profiles=profile-one;
Icon=utilities-terminal
[X-Action-Profile profile-one]
MimeTypes=inode/directory;
Exec=alacritty --working-directory %f
Name=Default profile" > ~/.local/share/file-manager/actions/terminal.desktop
#--------------------------------------------------
cd
cd debian-z/
source optional/keyboard_layout.sh
source optional/terminal_in_pcmanfm.sh
#source optional/nvidia.sh

View file

@ -32,12 +32,12 @@ The script installs the necessary packages and applications required for daily d
## Available Themes
| BlueNova | Dracula | Darkness | Nord | Horizon | Pink |
|--------------|--------------|--------------|--------------|--------------|--------------|
| ![Screenshot 1]([ign]/img/bluenova/s1.png) | ![Screenshot 2]([ign]/img/dracula/s1.png) | ![Screenshot 3]([ign]/img/darkness/s1.png) | ![Screenshot 3]([ign]/img/nord/s1.png) | ![Screenshot 3]([ign]/img/horizon/s1.png) | ![Screenshot 3]([ign]/img/pink/s1.png) |
| ![Screenshot 1]([ign]/img/bluenova/s2.png) | ![Screenshot 2]([ign]/img/dracula/s2.png) | ![Screenshot 3]([ign]/img/darkness/s2.png) | ![Screenshot 3]([ign]/img/nord/s2.png) | ![Screenshot 3]([ign]/img/horizon/s2.png) | ![Screenshot 3]([ign]/img/pink/s2.png) |
| ![Screenshot 1]([ign]/img/bluenova/s3.png) | ![Screenshot 2]([ign]/img/dracula/s3.png) | ![Screenshot 3]([ign]/img/darkness/s3.png) | ![Screenshot 3]([ign]/img/nord/s3.png) | ![Screenshot 3]([ign]/img/horizon/s3.png) | ![Screenshot 3]([ign]/img/pink/s3.png) |
| ![Screenshot 1]([ign]/img/bluenova/s4.png) | ![Screenshot 2]([ign]/img/dracula/s4.png) | ![Screenshot 3]([ign]/img/darkness/s4.png) | ![Screenshot 3]([ign]/img/nord/s4.png) | ![Screenshot 3]([ign]/img/horizon/s4.png) | ![Screenshot 3]([ign]/img/pink/s4.png) |
| Moon (Default) | BlueNova | Dracula | Darkness | Nord | Horizon | Pink |
|--------------|--------------|--------------|--------------|--------------|--------------|--------------|
| ![Screenshot 1]([ign]/img/moon/s1.png) | ![Screenshot 1]([ign]/img/bluenova/s1.png) | ![Screenshot 2]([ign]/img/dracula/s1.png) | ![Screenshot 3]([ign]/img/darkness/s1.png) | ![Screenshot 3]([ign]/img/nord/s1.png) | ![Screenshot 3]([ign]/img/horizon/s1.png) | ![Screenshot 3]([ign]/img/pink/s1.png) |
| ![Screenshot 1]([ign]/img/moon/s2.png) | ![Screenshot 1]([ign]/img/bluenova/s2.png) | ![Screenshot 2]([ign]/img/dracula/s2.png) | ![Screenshot 3]([ign]/img/darkness/s2.png) | ![Screenshot 3]([ign]/img/nord/s2.png) | ![Screenshot 3]([ign]/img/horizon/s2.png) | ![Screenshot 3]([ign]/img/pink/s2.png) |
| ![Screenshot 1]([ign]/img/moon/s3.png) | ![Screenshot 1]([ign]/img/bluenova/s3.png) | ![Screenshot 2]([ign]/img/dracula/s3.png) | ![Screenshot 3]([ign]/img/darkness/s3.png) | ![Screenshot 3]([ign]/img/nord/s3.png) | ![Screenshot 3]([ign]/img/horizon/s3.png) | ![Screenshot 3]([ign]/img/pink/s3.png) |
| ![Screenshot 1]([ign]/img/moon/s4.png) | ![Screenshot 1]([ign]/img/bluenova/s4.png) | ![Screenshot 2]([ign]/img/dracula/s4.png) | ![Screenshot 3]([ign]/img/darkness/s4.png) | ![Screenshot 3]([ign]/img/nord/s4.png) | ![Screenshot 3]([ign]/img/horizon/s4.png) | ![Screenshot 3]([ign]/img/pink/s4.png) |
---

BIN
[ign]/img/moon/s1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
[ign]/img/moon/s2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

BIN
[ign]/img/moon/s3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 KiB

BIN
[ign]/img/moon/s4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 KiB

View file

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

BIN
config/guide.pdf Normal file → Executable file

Binary file not shown.

View file

@ -4,7 +4,7 @@
include $HOME/.config/i3/workspaces.conf
include $HOME/.config/i3/colors.conf
exec --no-startup-id ibus-daemon -drx
exec_always feh --bg-fill ~/.config/wallpapers/wall.jpg
exec_always feh --bg-fill ~/.config/wallpapers/moon.jpg
#exec_always --no-startup-id ~/.fehbg
exec_always --no-startup-id ~/.config/i3/autostart.sh
exec --no-startup-id ~/.config/scripts/help_notification.sh

View file

@ -64,7 +64,7 @@ bindcode $mod+Shift+Mod2+90 move container to workspace 10
# workspace back and forth
workspace_auto_back_and_forth yes
bindsym $mod+b workspace back_and_forth
bindcode $mod+23 workspace back_and_forth
######################################
# Assignments
@ -84,4 +84,4 @@ for_window [class=TelegramDesktop] focus
for_window [class=discord] focus
for_window [class="GitHub Desktop" ] focus
workspace 11 output HDMI-0
workspace 11 output HDMI-1

View file

@ -85,9 +85,9 @@ ext x?html?, has w3m, terminal = w3m "$@"
# Misc
#-------------------------------------------
# Define the "editor" for text files as first action
mime ^text, label editor = ${VISUAL:-vim} -- "$@"
mime ^text, label editor = ${VISUAL:-nvim} -- "$@"
mime ^text, label pager = "$PAGER" -- "$@"
!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php = ${VISUAL:-vim} -- "$@"
!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php = ${VISUAL:-nvim} -- "$@"
!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
ext 1 = man "$1"

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

View file

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Before After
Before After

BIN
config/wallpapers/moon.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 KiB

View file

@ -123,10 +123,8 @@ alias df='df -h'
alias cl='clear'
alias ..='cd ..'
alias ...='cd ../..'
alias v='vim'
alias v='nvim'
alias h='htop'
alias wd='source ~/.config/scripts/wallpaper-double-display.sh'
alias ws='source ~/.config/scripts/wallpaper-single-display.sh'
alias d='bash ~/.config/scripts/set-double-display.sh'
alias s='bash ~/.config/scripts/set-single-display.sh'
alias n='bash ~/.config/scripts/c/new_project.sh'
@ -135,8 +133,6 @@ alias c='bash ~/.config/scripts/c/compile.sh'
alias pn='bash ~/.config/scripts/python/new_project.sh'
alias po='bash ~/.config/scripts/python/old_project.sh'
alias pc='bash ~/.config/scripts/python/compile.sh'
alias t='bash ~/.config/scripts/themes.sh'
alias y='bash ~/.config/scripts/youtube-watcher.sh'
alias sts='git status'
alias add='git add .'
alias cmt='git commit -m'

View file

@ -25,12 +25,12 @@
format="USER HOST PWD GIT PYENV TF KUBE"
font_color_user="white"
background_user="blue"
font_color_user="gray"
background_user="white"
texteffect_user="bold"
font_color_host="white"
background_host="light-blue"
background_host="dark-gray"
texteffect_host="bold"
font_color_pwd="dark-gray"

17
optional/terminal_in_pcmanfm.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
sudo su
mkdir -p ~/.local/share/file-manager/actions/
touch ~/.local/share/file-manager/actions/terminal.desktop
echo "[Desktop Entry]
Type=Action
Tooltip=Open Terminal
Name=Open Terminal
Profiles=profile-one;
Icon=utilities-terminal
[X-Action-Profile profile-one]
MimeTypes=inode/directory;
Exec=alacritty --working-directory %f
Name=Default profile" > ~/.local/share/file-manager/actions/terminal.desktop