aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/sway/bindsym-launch4
-rwxr-xr-xconfig/sway/scripts/notes2
m---------private0
-rw-r--r--profile10
4 files changed, 3 insertions, 13 deletions
diff --git a/config/sway/bindsym-launch b/config/sway/bindsym-launch
index 01d8061..b568a2d 100644
--- a/config/sway/bindsym-launch
+++ b/config/sway/bindsym-launch
@@ -3,6 +3,8 @@
bindsym $mod+Return exec alacritty
# Start Firefox
bindsym $mod+Shift+Return exec firefox
+# Python
+bindsym $mod+c exec alacritty -e ipython
# start a program
bindsym $mod+d exec --no-startup-id wofi -Imi -S drun
@@ -13,8 +15,6 @@ bindsym $mod+t exec alacritty -e btop
bindsym $mod+Shift+t exec alacritty -e sudo powertop
# Passwords
bindsym $mod+Shift+w exec --no-startup-id ~/.config/sway/scripts/pass
-# Calendar
-bindsym $mod+c exec alacritty -t "Calendar" -e ikhal
# Notes
bindsym $mod+Shift+n exec --no-startup-id ~/.config/sway/scripts/notes
for_window [ title="notes-terminal-window" ] floating enable sticky enable
diff --git a/config/sway/scripts/notes b/config/sway/scripts/notes
index ebe2684..8f025fb 100755
--- a/config/sway/scripts/notes
+++ b/config/sway/scripts/notes
@@ -1,5 +1,5 @@
#!/bin/sh
cd ~/notes
find * -type f | wofi -d -p 'notes' | while read -r note; do
- nohup alacritty -e vim ~/notes/"$note" >/dev/null 2>&1 &
+ nohup alacritty -e nvim ~/notes/"$note" >/dev/null 2>&1 &
done
diff --git a/private b/private
-Subproject ff5208fa782fb6026c15186d0dfd532a370b335
+Subproject a3e175f64e4545076da63150fcf91a95f1e4b4f
diff --git a/profile b/profile
index 99401e1..f0a9fd5 100644
--- a/profile
+++ b/profile
@@ -19,16 +19,6 @@ for profile in "$HOME"/.nix-profile/etc/profile.d/*; do
source "$profile"
done
-# GLab
-if command -v glab >/dev/null; then
- if [[ -n "${BASH_VERSINFO:-}" ]]; then
- source <(glab completion -s bash)
- elif [[ -n "${ZSH_VERSION:-}" ]]; then
- source <(glab completion -s zsh)
- compdef _glab glab
- fi
-fi
-
# Rest of the profile run only if login is from linux console
[[ "$(tty)" != /dev/tty* ]] && return