diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss index 1f041de..875a732 100644 --- a/de/home/.config/eww/eww.scss +++ b/de/home/.config/eww/eww.scss @@ -169,6 +169,10 @@ tooltip{ background-color: rgba($color0,0.5); padding: 10px 0px; } + .notes { + background-color: rgba($color0,0.5); + padding: 10px; + } .shortcuts { background-color: rgba($color0,0.5); padding: 15px; diff --git a/de/home/.config/eww/modules/home/notes.yuck b/de/home/.config/eww/modules/home/notes.yuck index 4b2616f..cc806f8 100644 --- a/de/home/.config/eww/modules/home/notes.yuck +++ b/de/home/.config/eww/modules/home/notes.yuck @@ -1,9 +1,10 @@ (defpoll notes_list :interval "60s" 'scripts/home/notes') -(defwidget notes [json] user +(defwidget notes [json] (box - :class "weather" + :class "notes" :orientation "v" + :halign "left" :width 300 :height 125 :space-evenly true @@ -12,7 +13,8 @@ ; " ${json.max_temp}°F  ${json.min_temp}°F" ; " ${json.updated}")) (for note in json - "${replace(note.filepath,'test','')}") + (button :onclick "kate -n '${note.filepath}'" + "${replace(note.filepath,"${get_env("HOME")}/Documents/Notes",'')}")) ; (button :onclick {(device.connected == "yes") ? 'bluetoothctl disconnect "${device.address}"' : 'bluetoothctl connect "${device.address}"'} ; :class {(device.connected == "yes") ? "active" : ""} ; "${device.icon}")) )) diff --git a/de/home/.config/katerc b/de/home/.config/katerc index b335f62..a5f0b74 100644 --- a/de/home/.config/katerc +++ b/de/home/.config/katerc @@ -30,7 +30,7 @@ Show Tabs Close Button=true Show Url Nav Bar=true Show output view for message type=1 Show text for left and right sidebar=false -Show welcome view for new window=true +Show welcome view for new window=false Startup Session=new Stash new unsaved files=true Stash unsaved file changes=false @@ -172,8 +172,8 @@ SetEditor=false 2 screens: Width=727 2048x1280 screen: Height=589 2048x1280 screen: Width=999 -3 screens: Height=896 -3 screens: Width=837 +3 screens: Height=298 +3 screens: Width=604 [filetree] editShade=183,220,246 @@ -202,6 +202,7 @@ Messages=true ReferencesDeclaration=true SemanticHighlighting=true ServerConfiguration= +ShowCompletions=true SignatureHelp=true SymbolDetails=false SymbolExpand=true diff --git a/de/home/.config/mimeapps.list b/de/home/.config/mimeapps.list index 8c484ce..c61e688 100644 --- a/de/home/.config/mimeapps.list +++ b/de/home/.config/mimeapps.list @@ -17,6 +17,7 @@ image/png=feh-5.desktop;feh-4.desktop;feh-3.desktop;feh-2.desktop;feh.desktop; image/webp=feh-4.desktop;feh-3.desktop;feh.desktop; inode/directory=org.kde.dolphin.desktop; text/html=librewolf.desktop; +text/markdown=org.kde.kate.desktop; text/plain=org.kde.kate.desktop; video/mp4=mpv.desktop; video/quicktime=mpv.desktop; @@ -44,6 +45,7 @@ image/png=feh-5.desktop; image/webp=feh-4.desktop; inode/directory=org.kde.dolphin.desktop; text/html=librewolf.desktop; +text/markdown=org.kde.kate.desktop; text/plain=org.kde.kate.desktop; video/mp4=mpv.desktop; video/quicktime=mpv.desktop;