Update scripts and android studio gitignore
parent
d2dc1515a9
commit
53f3d2b1a1
|
@ -28,5 +28,3 @@ else
|
|||
makepkg -si
|
||||
cd $LOC
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
WALLPAPER=~/.config/lock-wallpapers/oscar-wallpaper.jpg
|
||||
|
||||
swaylock -f -i $WALLPAPER -s fill
|
|
@ -5,7 +5,7 @@ if [ $MACHINE_TYPE == "mac" ]; then
|
|||
else
|
||||
if type pacman &> /dev/null
|
||||
then
|
||||
LAST_SYSTEM_UPGRADE=$( cat /var/log/pacman.log | grep "starting full system upgrade" | awk 'END{ print substr($1, 2) " " substr($2, 1, length($2)-1) }' )
|
||||
LAST_SYSTEM_UPGRADE=$( cat /var/log/pacman.log | grep "starting full system upgrade" | awk 'END{ print substr($1, 2, length($1)-2) }' )
|
||||
LAST_SYSTEM_UPGRADE_DATE=$( date -d "$LAST_SYSTEM_UPGRADE" +%s )
|
||||
fi
|
||||
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
THEME=$1
|
||||
|
||||
CURRENT_THEME=`grep "colors:" $HOME/.config/alacritty/alacritty.yml | cut -d '*' -f2`
|
||||
echo "Current theme: $CURRENT_THEME"
|
||||
|
||||
if [ -z $THEME ]; then
|
||||
echo "Missing theme argument! Toggling between default dark and light (gruvbox_dark, gruvbox_light)"
|
||||
if [ "$CURRENT_THEME" = gruvbox_dark ]; then
|
||||
THEME=gruvbox_light
|
||||
else
|
||||
THEME=gruvbox_dark
|
||||
fi
|
||||
fi
|
||||
|
||||
sed -i "s/colors: \*\(.*\)/colors: *$THEME/" $HOME/.config/alacritty/alacritty.yml
|
||||
echo "Theme switched to: $THEME"
|
|
@ -15,5 +15,8 @@
|
|||
**/options/vim_settings.xml
|
||||
**/options/window.state.xml
|
||||
**/options/vim_settings_local.xml
|
||||
**/options/runner.layout.xml
|
||||
**/options/designSurface.xml
|
||||
**/options/lightEdit.xml
|
||||
**/user.token
|
||||
**/port
|
||||
|
|
|
@ -0,0 +1,133 @@
|
|||
<code_scheme name="Default" version="173">
|
||||
<JetCodeStyleSettings>
|
||||
<option name="PACKAGES_TO_USE_STAR_IMPORTS">
|
||||
<value>
|
||||
<package name="java.util" alias="false" withSubpackages="false" />
|
||||
<package name="kotlinx.android.synthetic" alias="false" withSubpackages="true" />
|
||||
<package name="io.ktor" alias="false" withSubpackages="true" />
|
||||
</value>
|
||||
</option>
|
||||
<option name="PACKAGES_IMPORT_LAYOUT">
|
||||
<value>
|
||||
<package name="" alias="false" withSubpackages="true" />
|
||||
<package name="java" alias="false" withSubpackages="true" />
|
||||
<package name="javax" alias="false" withSubpackages="true" />
|
||||
<package name="kotlin" alias="false" withSubpackages="true" />
|
||||
<package name="" alias="true" withSubpackages="true" />
|
||||
</value>
|
||||
</option>
|
||||
</JetCodeStyleSettings>
|
||||
<codeStyleSettings language="XML">
|
||||
<option name="FORCE_REARRANGE_MODE" value="1" />
|
||||
<indentOptions>
|
||||
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
||||
</indentOptions>
|
||||
<arrangement>
|
||||
<rules>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>xmlns:android</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>xmlns:.*</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
<order>BY_NAME</order>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*:id</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*:name</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>name</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>style</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
<order>BY_NAME</order>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
<order>ANDROID_ATTRIBUTE_ORDER</order>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>.*</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
<order>BY_NAME</order>
|
||||
</rule>
|
||||
</section>
|
||||
</rules>
|
||||
</arrangement>
|
||||
</codeStyleSettings>
|
||||
</code_scheme>
|
|
@ -1,13 +0,0 @@
|
|||
<application>
|
||||
<component name="DesignSurface">
|
||||
<option name="filePathToZoomLevelMap">
|
||||
<map>
|
||||
<entry key="../../../../../../layout/custom_preview.xml" value="0.1" />
|
||||
<entry key="app/src/main/res/layout/splash_scene_blue_fill.xml" value="0.1" />
|
||||
<entry key="app/src/main/res/layout/splash_scene_eyes_join.xml" value="0.1" />
|
||||
<entry key="app/src/main/res/layout/splash_scene_home_light_up.xml" value="0.1" />
|
||||
<entry key="app/src/main/res/layout/splash_scene_second_eye_appear.xml" value="0.1" />
|
||||
</map>
|
||||
</option>
|
||||
</component>
|
||||
</application>
|
|
@ -1,11 +0,0 @@
|
|||
<application>
|
||||
<component name="RunnerLayoutSettings">
|
||||
<runner id="JavaRunner">
|
||||
<ViewImpl>
|
||||
<option name="ID" value="ConsoleContent" />
|
||||
<option name="placeInGrid" value="bottom" />
|
||||
</ViewImpl>
|
||||
<TabImpl />
|
||||
</runner>
|
||||
</component>
|
||||
</application>
|
|
@ -0,0 +1,5 @@
|
|||
# Set up colors of windows
|
||||
client.focused #98971a #98971a #ebdbb2 #98971a
|
||||
client.focused_inactive #282828 #282828 #a89984 #d3869b
|
||||
client.unfocused #282828 #282828 #8ec07c #586e75
|
||||
client.urgent #d33682 #d33682 #ebdbb2 #dc322f
|
|
@ -21,6 +21,7 @@ cp $themedir/fehbg $configdir/other-scripts/fehbg
|
|||
rm $configdir/alacritty/colors.yml.bak
|
||||
mv $configdir/alacritty/colors.yml $configdir/alacritty/colors.yml.bak
|
||||
ln -sT $themedir/alacritty_colors.yml $configdir/alacritty/colors.yml
|
||||
ln -sT $themedir/sway_colors $configdir/sway/conf.d/99_colors_override
|
||||
|
||||
FG=black
|
||||
if [[ $theme == *"light"* ]]; then
|
||||
|
|
Loading…
Reference in New Issue