Skip to content

Commit

Permalink
img engine
Browse files Browse the repository at this point in the history
  • Loading branch information
klpod221 committed Oct 26, 2023
1 parent 7196417 commit e9b1a95
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 5 deletions.
4 changes: 2 additions & 2 deletions configs/.config/hypr/keybindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $mainMod = SUPER # windows key
$term = kitty
$editor = code
$file = dolphin
$browser = brave
$browser = firefox
$mail = thunderbird

# Window/Session actions
Expand All @@ -30,7 +30,7 @@ bind = $mainMod, backspace, exec, ~/.config/hypr/scripts/logoutlaunch.sh 1 # log
bind = $mainMod, T, exec, $term # open terminal
bind = $mainMod, E, exec, $file # open file manager
bind = $mainMod, C, exec, $editor # open vscode
bind = $mainMod, B, exec, $browser # open browser
bind = $mainMod, F, exec, $browser # open browser
bind = $mainMod, M, exec, $mail # open mail client
bind = $mainMod, period, exec, emote # open emoji selector

Expand Down
20 changes: 20 additions & 0 deletions configs/.config/hypr/scripts/wallbashspotify.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env sh

# set variables

ScrDir=`dirname $(realpath $0)`
source $ScrDir/globalcontrol.sh
scol="$HOME/.config/spicetify/Themes/Sleek/color.ini"
dcol="$HOME/.config/spicetify/Themes/Sleek/Wall-Dcol.ini"

# regen conf

if pkg_installed spotify && pkg_installed spicetify-cli && [ `spicetify config | awk '{if ($1=="color_scheme") print $2}'` == "Wallbash" ] ; then

if pgrep -x spotify > /dev/null ; then
pkill -x spicetify
spicetify -s -q watch &
fi

sed 's/#//g' $dcol > $scol
fi
23 changes: 23 additions & 0 deletions configs/.config/hypr/wallbash/spicetify.dcol
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
4|$ScrDir/wallbashspotify.sh|.config/spicetify/Themes/Sleek/Wall-Dcol.ini

[Wallbash]
text = <dcol_3>
subtext = <dcol_3>
nav-active-text = <dcol_3>
main = <dcol_0>
sidebar = <dcol_0>
player = <dcol_0>
card = <dcol_0>
shadow = <dcol_1>
main-secondary = <dcol_0>
button = <dcol_0>
button-secondary = <dcol_0>
button-active = <dcol_2>
button-disabled = <dcol_0>
nav-active = <dcol_2>
play-button = <dcol_0>
tab-active = <dcol_1>
notification = <dcol_0>
notification-error = <dcol_0>
playback-bar = <dcol_0>
misc = <dcol_0>
2 changes: 1 addition & 1 deletion lists/default_pkg.lst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ nwg-look
kvantum
qt5ct
firefox
brave-bin
kitty
neofetch
dolphin
Expand All @@ -56,6 +55,7 @@ zsh
lsd
fzf
cava
spotify
pokemon-colorscripts-git
fcitx5
fcitx5-qt
Expand Down
2 changes: 0 additions & 2 deletions scripts/install_cfg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,5 @@ if nvidia_detect; then
fi

./scripts/create_cache.sh

./scripts/install_zsh.sh

./scripts/install_lnk.sh
20 changes: 20 additions & 0 deletions scripts/install_nvm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

# check if nvm is installed
if command -v nvm &> /dev/null; then
echo "nvm is already installed..."
else
# install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
# source nvm
source ~/.zshrc
# install node
nvm install --lts
# set default node version
nvm alias default lts/*

# install yarn pm2 and nodemon
npm install -g yarn pm2 nodemon

echo "nvm is installed..."
fi

0 comments on commit e9b1a95

Please sign in to comment.