added quick note script and keyboard shortcut
This commit is contained in:
parent
625c2d0679
commit
0c983e55a4
2 changed files with 14 additions and 1 deletions
|
@ -149,7 +149,7 @@ input "10248:257:FTCS1000:00_2808:0101_Touchpad" {
|
|||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
#r
|
||||
#
|
||||
# Workspaces:
|
||||
#
|
||||
# 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 Print exec /home/emge/Scripts/screenshot.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:
|
||||
|
|
12
Scripts/quick-note.sh
Executable file
12
Scripts/quick-note.sh
Executable 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
|
Loading…
Reference in a new issue