From c3cc932f4b1950b1633af02f510d47b9c19d0863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 23 Jun 2022 10:47:44 +0200 Subject: Multiple tweaks --- config/sway/daemons | 2 +- local/bin/allsync | 6 +++++- local/bin/startsway | 3 --- private | 2 +- vim/ftplugin/c.vim | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/config/sway/daemons b/config/sway/daemons index 29b879f..1baec66 100644 --- a/config/sway/daemons +++ b/config/sway/daemons @@ -7,4 +7,4 @@ exec --no-startup-id { } for_window [class="Ferdi"] move scratchpad -exec ferdi +exec ferdium diff --git a/local/bin/allsync b/local/bin/allsync index e5bb633..db64b4e 100755 --- a/local/bin/allsync +++ b/local/bin/allsync @@ -126,4 +126,8 @@ sec "Passwords" pass git pull || fail "Passwords pull failed" pass git push || fail "Passwords push failed" -exit $ecode +if [ "${AUTORUN:-n}" = "y" ]; then + echo "Reported failure exit code: $ecode" >&2 +else + exit $ecode +fi diff --git a/local/bin/startsway b/local/bin/startsway index 76545b1..3982c19 100755 --- a/local/bin/startsway +++ b/local/bin/startsway @@ -4,9 +4,6 @@ exec 1> >(logger -s -t "${0##*/}") 2>&1 # Declare the current desktop export XDG_CURRENT_DESKTOP=sway -# Use GTK theme for QT applications -export QT_QPA_PLATFORMTHEME=gtk2 -export QT_STYLE_OVERRIDE='gtk2' # Fix fullscreen game offscreen export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 # To fix missing textures on intel diff --git a/private b/private index 9e3fb5c..1395672 160000 --- a/private +++ b/private @@ -1 +1 @@ -Subproject commit 9e3fb5c8a8c48bc1a26a68bc1c072d70447ced88 +Subproject commit 13956724dbf3420eede9fdcdb7cce6a3fdc9964c diff --git a/vim/ftplugin/c.vim b/vim/ftplugin/c.vim index df078c6..6916f13 100644 --- a/vim/ftplugin/c.vim +++ b/vim/ftplugin/c.vim @@ -1,4 +1,4 @@ -let b:ale_linters = ['ccls', 'cppcheck', 'flawfinder'] +let b:ale_linters = ['clangd', 'cppcheck', 'flawfinder'] let b:ale_fixers = ['clang-format', 'remove_trailing_lines', 'trim_whitespace'] let g:ale_c_ccls_init_options = {'cache': {'directory': '/tmp/ccls/cache'}, 'compilationDatabaseDirectory': 'build'} let g:ale_c_parse_compile_commands = 1 -- cgit v1.2.3