Add sc-im
This commit is contained in:
parent
e230b05594
commit
3b901cb10d
23
Makefile
23
Makefile
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
SRC = ./src
|
SRC = ./src
|
||||||
PROGRAMS = calcurse nvim newsboat mpv bash compton
|
PROGRAMS = calcurse nvim newsboat mpv bash compton sc-im
|
||||||
|
|
||||||
.PHONY : install update clean
|
.PHONY : install update clean
|
||||||
|
|
||||||
@ -56,6 +56,13 @@ install :
|
|||||||
[ -f ~/.config/compton.conf ] && mv ~/.config/compton.conf ~/.config/compton.conf.old; \
|
[ -f ~/.config/compton.conf ] && mv ~/.config/compton.conf ~/.config/compton.conf.old; \
|
||||||
cp $(SRC)/compton/compton.conf ~/.config/compton.conf; \
|
cp $(SRC)/compton/compton.conf ~/.config/compton.conf; \
|
||||||
fi
|
fi
|
||||||
|
#sc-im
|
||||||
|
@which sc-im > /dev/null 2>&1
|
||||||
|
@if [ $$? -eq 0 ];then \
|
||||||
|
echo "sc-im found! Installing config..."; \
|
||||||
|
[ -f ~/.config/sc-im/scimrc ] && mv ~/.config/sc-im/scimrc ~/.config/sc-im/scimrc.old; \
|
||||||
|
cp $(SRC)/sc-im/scimrc ~/.config/sc-im/scimrc; \
|
||||||
|
fi
|
||||||
|
|
||||||
update:
|
update:
|
||||||
#vim
|
#vim
|
||||||
@ -96,6 +103,12 @@ update:
|
|||||||
echo "compton found! Updating config files with existing versions..."; \
|
echo "compton found! Updating config files with existing versions..."; \
|
||||||
[ -f ~/.config/compton.conf ] && cp ~/.config/compton.conf $(SRC)/compton/compton.conf; \
|
[ -f ~/.config/compton.conf ] && cp ~/.config/compton.conf $(SRC)/compton/compton.conf; \
|
||||||
fi
|
fi
|
||||||
|
#sc-im
|
||||||
|
@which sc-im > /dev/null 2>&1
|
||||||
|
@if [ $$? -eq 0 ]; then \
|
||||||
|
echo "sc-im found! Updating config files with existing versions..."; \
|
||||||
|
[ -f ~/.config/sc-im/scimrc ] && cp ~/.config/sc-im/scimrc $(SRC)/sc-im/scimrc; \
|
||||||
|
fi
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
#vim
|
#vim
|
||||||
@ -133,6 +146,12 @@ clean :
|
|||||||
#compton
|
#compton
|
||||||
@which compton > /dev/null 2>&1
|
@which compton > /dev/null 2>&1
|
||||||
@if [ $$? -eq 0 ]; then \
|
@if [ $$? -eq 0 ]; then \
|
||||||
echo "compton found! remvoing existing confi files and reinstalling *.old"; \
|
echo "compton found! remvoing existing config files and reinstalling *.old"; \
|
||||||
[ -f ~/.config/compton.old ] && mv ~/.config/compton.conf.old ~/.config/compton.conf; \
|
[ -f ~/.config/compton.old ] && mv ~/.config/compton.conf.old ~/.config/compton.conf; \
|
||||||
fi
|
fi
|
||||||
|
#sc-im
|
||||||
|
@which sc-im > /dev/null 2>&1
|
||||||
|
@if [ $$? -eq 0 ]; then \
|
||||||
|
echo "sc-im found! removing existing config files and reinstalling *.old"; \
|
||||||
|
[ if ~/.config/sc-im/scimrc ] && mv ~/.config/sc-im/scimrc.old ~/.config/sc-im/scimrc; \
|
||||||
|
fi
|
||||||
|
6
src/sc-im/scimrc
Normal file
6
src/sc-im/scimrc
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
set autocalc
|
||||||
|
set numeric=1
|
||||||
|
set newline_action=j
|
||||||
|
set filename_with_mode=1
|
||||||
|
set input_bar_bottom
|
||||||
|
set ignorecase
|
Reference in New Issue
Block a user