diff --git a/post-install b/post-install index a10d02f..f20159b 100755 --- a/post-install +++ b/post-install @@ -36,21 +36,29 @@ RUST_COMPONENTS=( # Main code ####################################### print_section "Setup notes directory" -if [ ! -d "${HOME}/notes" ] -then +if [ ! -d "${HOME}/notes" ]; then git clone gl:notes "${HOME}/notes" + print_log "Created notes directory" +else + print_log "Notes directory already exists" fi print_section "Setup tasks directory" -if [ ! -d "${HOME}/tasks" ] -then +if [ ! -d "${HOME}/tasks" ]; then git clone gl:tasks "${HOME}/tasks" + print_log "Created tasks directory" +else + print_log "Tasks directory allready exists" fi print_section "Installing global npm packages" +print_log "Installing ${#NPM_PACKAGES[@]} packages" npm i -g "${NPM_PACKAGES[@]}" print_section "Install Rust toolchain and components" rustup toolchain install beta rustup default beta -rustup component add "${RUST_COMPONENTS[@]}" \ No newline at end of file +rustup component add "${RUST_COMPONENTS[@]}" + +print_section "Manual TODOs" +print_log "Run ${YELLOW}~/.config/polybar/scripts/gmail/auth.py${RESET}" \ No newline at end of file diff --git a/system/.config/i3/config.base b/system/.config/i3/config.base index 01af96c..7bf6fb4 100644 --- a/system/.config/i3/config.base +++ b/system/.config/i3/config.base @@ -69,6 +69,7 @@ assign [class="Nemo"] $workspace4 assign [class="Thunar"] $workspace4 assign [class="discord"] $workspace5 assign [class="Riot"] $workspace5 +assign [class="Slack"] $workspace5 assign [class="Steam"] $workspace6 assign [class="keepassxc"] $workspace8 assign [class="vlc"] $workspace9 diff --git a/system/.config/i3/config.work b/system/.config/i3/config.work index 0067ee4..b3c1bda 100644 --- a/system/.config/i3/config.work +++ b/system/.config/i3/config.work @@ -31,6 +31,7 @@ exec_always --no-startup-id wallpaper # Other applications exec autokey-gtk exec google-chrome-beta +exec slack exec nemo exec nemo diff --git a/system/.config/polybar/scripts/gmail/auth.py b/system/.config/polybar/scripts/gmail/auth.py index e821e6c..095334c 100755 --- a/system/.config/polybar/scripts/gmail/auth.py +++ b/system/.config/polybar/scripts/gmail/auth.py @@ -19,7 +19,7 @@ if pathlib.Path(CREDENTIALS_PATH).is_file(): print('Credentials successfully refreshed') else: flow = client.flow_from_clientsecrets(CLIENT_SECRETS_PATH, scope=SCOPE, - redirect_uri=REDIRECT_URI) + redirect_uri=REDIRECT_URI) auth_uri = flow.step1_get_authorize_url() webbrowser.open(auth_uri) auth_code = input('Enter the auth code: ')