add journaling workflow

main
千住柱間 2024-04-15 20:06:54 +00:00
parent 7770017f12
commit 580753a0b1
1 changed files with 7 additions and 3 deletions

View File

@ -65,19 +65,20 @@ myConfig = def
, manageHook = myManageHook -- Match on certain windows , manageHook = myManageHook -- Match on certain windows
, startupHook = do , startupHook = do
-- other startup commands -- other startup commands
spawnOnce "xrandr --output DisplayPort-0 --mode 1366x768 --pos 1366x0 --rotate left --output HDMI-A-0 --primary --mode 1366x768 --pos 0x0 --rotate normal --output DVI-D-0 --off" -- spawnOnce "xrandr --output DisplayPort-0 --mode 1366x768 --pos 1366x0 --rotate left --output HDMI-A-0 --primary --mode 1366x768 --pos 0x0 --rotate normal --output DVI-D-0 --off"
spawnOnce "xrandr --output HDMI-A-0 --mode 1366x768 --pos 0x0 --rotate normal"
spawnOnce "xrdb /home/hashirama/.Xresources" spawnOnce "xrdb /home/hashirama/.Xresources"
spawnOnce "/home/hashirama/.local/bin/rotate_wallpapers.sh" spawnOnce "/home/hashirama/.local/bin/rotate_wallpapers.sh"
spawnOnce "picom -b" spawnOnce "picom -b"
spawnOnce "polybar top-monitor-1" spawnOnce "polybar top-monitor-1"
spawnOnce "fcitx5 -d -r" spawnOnce "fcitx5 -d -r"
spawnOnce "emacs --daemon"
} }
`additionalKeysP` `additionalKeysP`
[ ("M-d", spawn "rofi -show run") [ ("M-d", spawn "rofi -show run")
, ("M-s", spawn "bash -c dictpopup") , ("M-s", spawn "bash -c dictpopup")
, ("M-C-s", unGrab *> spawn "scrot -s" ) , ("M-S-e", spawn "flameshot full --path=/mnt/Data/mpv-screenshots/screenshots/light_novels")
, ("M-e", runOrRaise "goldendict" (className =? "GoldenDict-ng")) , ("M-e", runOrRaise "goldendict" (className =? "GoldenDict-ng"))
, ("M-p", runOrRaise "nyxt" (className =? "Nyxt")) , ("M-p", runOrRaise "nyxt" (className =? "Nyxt"))
, ("M-t", withFocused $ windows . W.sink) -- Toggle float for the focused window , ("M-t", withFocused $ windows . W.sink) -- Toggle float for the focused window
@ -86,7 +87,10 @@ myConfig = def
, ("M-q", kill) -- Change the keybinding for closing windows to Mod + Q , ("M-q", kill) -- Change the keybinding for closing windows to Mod + Q
, ("M-m", spawn "alacritty -e sh -c 'cd /mnt/Data/Music/ && cmus'") , ("M-m", spawn "alacritty -e sh -c 'cd /mnt/Data/Music/ && cmus'")
, ("M-S-r", spawn "~/.local/bin/run_anki.sh") , ("M-S-r", spawn "~/.local/bin/run_anki.sh")
, ("M-S-v", spawn "emacsclient --eval '(org-roam-dailies-capture-today)' -d=$DISPLAY")
, ("M-S-d", spawn "~/.local/bin/recent_journal.py | popup")
, ("M-r", runOrRaise "~/.local/bin/run_anki.sh" (className =? "Anki")) , ("M-r", runOrRaise "~/.local/bin/run_anki.sh" (className =? "Anki"))
, ("M-g", runOrRaise "foliate" (className =? "com.github.johnfactotum.Foliate"))
, ("M-S-f", sendToEmptyWorkspace) -- View an empty workspace , ("M-S-f", sendToEmptyWorkspace) -- View an empty workspace
, ("M-f", viewEmptyWorkspace) -- View an empty workspace , ("M-f", viewEmptyWorkspace) -- View an empty workspace
, ("M-S-w", spawn "flameshot gui --path=/mnt/Data/mpv-screenshots/screenshots") , ("M-S-w", spawn "flameshot gui --path=/mnt/Data/mpv-screenshots/screenshots")