From 24a44c600d4d2db8c678049f05128da4d8fc8149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20=C3=87olako=C4=9Flu?= Date: Wed, 17 Mar 2021 20:45:51 +0300 Subject: [PATCH] I love this --- config.env.def | 3 +++ scripts/start-spotifyd | 3 +++ scripts/stop-spotifyd | 3 +++ vim/vim/plugin/plugins.vim | 3 ++- xorg/xinitrc | 5 +++++ 5 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 scripts/start-spotifyd create mode 100755 scripts/stop-spotifyd diff --git a/config.env.def b/config.env.def index be9061d5..a5eb4769 100644 --- a/config.env.def +++ b/config.env.def @@ -1,3 +1,5 @@ +# vim:ft=bash + #!/bin/bash export ETH_IT=enp3s0f0 @@ -5,4 +7,5 @@ export WLAN_IT=wlp0s20u7 export TEMP_ZONE=/sys/class/thermal/thermal_zone0/temp export NO_BAT=true export NEXTCLOUD=false +export MCONNECT=true diff --git a/scripts/start-spotifyd b/scripts/start-spotifyd new file mode 100755 index 00000000..f20eb996 --- /dev/null +++ b/scripts/start-spotifyd @@ -0,0 +1,3 @@ +#!/bin/bash + +systemctl start --user spotifyd diff --git a/scripts/stop-spotifyd b/scripts/stop-spotifyd new file mode 100755 index 00000000..51d224fb --- /dev/null +++ b/scripts/stop-spotifyd @@ -0,0 +1,3 @@ +#!/bin/bash + +systemctl stop --user spotifyd diff --git a/vim/vim/plugin/plugins.vim b/vim/vim/plugin/plugins.vim index d8e1863b..47e56ffb 100644 --- a/vim/vim/plugin/plugins.vim +++ b/vim/vim/plugin/plugins.vim @@ -81,9 +81,10 @@ Plug 'vim-scripts/cool.vim' " Plug 'mxw/vim-jsx' " Plug 'jparise/vim-graphql' Plug 'leafgarland/typescript-vim' +Plug 'arrufat/vala.vim' " Syntax errors -Plug 'vim-syntastic/syntastic' +" Plug 'vim-syntastic/syntastic' Plug 'ntpeters/vim-better-whitespace' " Git support diff --git a/xorg/xinitrc b/xorg/xinitrc index 8234d444..b756e138 100755 --- a/xorg/xinitrc +++ b/xorg/xinitrc @@ -30,6 +30,7 @@ pkill -f "/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh" pkill -f "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" +source ~/.config.env # setxkbmap tr # ~/.scripts/tabbed_surf & eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) @@ -43,6 +44,10 @@ dwmblocks > /tmp/dwmblocks.out 2> /tmp/dwmblocks.err & if [ "$NEXTCLOUD" = true ] ; then nextcloud --background & fi + +if [ "$MCONNECT" = true ] ; then + /usr/local/bin/mconnect -d > /tmp/mconnect 2> /tmp/mconnect.err & +fi xss-lock -- betterlockscreen -l -t 'Stay the fuck out!' & # aw-server & # aw-watcher-window &