added quick note script and keyboard shortcut

This commit is contained in:
Mike G 2024-10-09 17:22:35 -04:00
parent 625c2d0679
commit 0c983e55a4
2 changed files with 14 additions and 1 deletions

View file

@ -149,7 +149,7 @@ input "10248:257:FTCS1000:00_2808:0101_Touchpad" {
bindsym $mod+Shift+Down move down bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right bindsym $mod+Shift+Right move right
#r #
# Workspaces: # Workspaces:
# #
# Switch to workspace # Switch to workspace
@ -249,6 +249,7 @@ bindsym XF86MonBrightnessDown exec brightnessctl set 5%- && /home/emge/Scripts/b
bindsym XF86MonBrightnessUp exec brightnessctl set 5%+ && /home/emge/Scripts/brightness_notif.sh bindsym XF86MonBrightnessUp exec brightnessctl set 5%+ && /home/emge/Scripts/brightness_notif.sh
bindsym Print exec /home/emge/Scripts/screenshot.sh bindsym Print exec /home/emge/Scripts/screenshot.sh
bindsym $mod+Shift+s exec /home/emge/Scripts/screenshot-select.sh bindsym $mod+Shift+s exec /home/emge/Scripts/screenshot-select.sh
bindsym $mod+Shift+u exec /home/emge/Scripts/quick-note.sh
# #
# Status Bar: # Status Bar:

12
Scripts/quick-note.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
# open quicknote
# set quick note directory
dir="/home/emge/Notes/QuickNotes"
# set current date
curDate=$(date +"%Y-%m-%d")
file=$dir$curDate".md"
foot nvim $file