Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanFanaru committed Jun 12, 2024
1 parent b64df76 commit c01fd31
Show file tree
Hide file tree
Showing 49 changed files with 15 additions and 12 deletions.
Empty file modified .editorconfig
100644 → 100755
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/bug.yml
100644 → 100755
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/config.yml
100644 → 100755
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/enhancement.yml
100644 → 100755
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/meta.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/shellcheck.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/test.yml
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified .shellcheckrc
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified assets/config1.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/config2.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/config3.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/frappe.webp
100644 → 100755
Empty file.
Empty file modified assets/latte.webp
100644 → 100755
Empty file.
Empty file modified assets/macchiato.webp
100644 → 100755
Empty file.
Empty file modified assets/mocha.webp
100644 → 100755
Empty file.
Empty file modified assets/overview.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/preview.webp
100644 → 100755
Empty file.
Empty file modified builder/module_builder.sh
100644 → 100755
Empty file.
Empty file modified builder/pane_builder.sh
100644 → 100755
Empty file.
Empty file modified builder/window_builder.sh
100644 → 100755
Empty file.
Empty file modified catppuccin-frappe.tmuxtheme
100644 → 100755
Empty file.
Empty file modified catppuccin-latte.tmuxtheme
100644 → 100755
Empty file.
Empty file modified catppuccin-macchiato.tmuxtheme
100644 → 100755
Empty file.
Empty file modified catppuccin-mocha.tmuxtheme
100644 → 100755
Empty file.
Empty file modified custom/README.md
100644 → 100755
Empty file.
Empty file modified custom/example.sh
100644 → 100755
Empty file.
15 changes: 15 additions & 0 deletions custom/next_meeting.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
show_next_meeting() {
local index=$1
next_meeting_time="$(get_tmux_option "@catppuccin_next_meeting_time" "$result")"
next_meeting_icon="$(get_tmux_option "@catppuccin_next_meeting_icon" "$result")"
next_meeting_color="$(get_tmux_option "@catppuccin_next_meeting_color" "$result")"

local module=$(build_status_module "$index" "$next_meeting_icon" "$next_meeting_color" "$next_meeting_time")

# if hour greater than 17 and minute greater than 30
if [ "$(date +%H)" -ge 17 ] && [ "$(date +%M)" -ge 30 ] || [ "$(date +%H)" -ge 18 ]; then
echo ""
else
echo "$module"
fi
}
Empty file modified pane/pane_default_format.sh
100644 → 100755
Empty file.
Empty file modified status/application.sh
100644 → 100755
Empty file.
Empty file modified status/battery.sh
100644 → 100755
Empty file.
Empty file modified status/clima.sh
100644 → 100755
Empty file.
Empty file modified status/cpu.sh
100644 → 100755
Empty file.
Empty file modified status/date_time.sh
100644 → 100755
Empty file.
Empty file modified status/directory.sh
100644 → 100755
Empty file.
Empty file modified status/gitmux.sh
100644 → 100755
Empty file.
Empty file modified status/host.sh
100644 → 100755
Empty file.
Empty file modified status/load.sh
100644 → 100755
Empty file.
12 changes: 0 additions & 12 deletions status/meetings_test.sh

This file was deleted.

Empty file modified status/session.sh
100644 → 100755
Empty file.
Empty file modified status/uptime.sh
100644 → 100755
Empty file.
Empty file modified status/user.sh
100644 → 100755
Empty file.
Empty file modified status/weather.sh
100644 → 100755
Empty file.
Empty file modified utils/module_utils.sh
100644 → 100755
Empty file.
Empty file modified utils/tmux_utils.sh
100644 → 100755
Empty file.
Empty file modified window/window_current_format.sh
100644 → 100755
Empty file.
Empty file modified window/window_default_format.sh
100644 → 100755
Empty file.

0 comments on commit c01fd31

Please sign in to comment.