8b5b2b90ac77

Merge
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 07 Sep 2020 20:57:39 -0400
parents b7b95cfbb342 (diff) 5e6b2fd0a0e1 (current diff)
children a7f0e08891c8
branches/tags (none)
files stumpwmrc

Changes

--- a/stumpwmrc	Wed Sep 02 12:12:39 2020 -0400
+++ b/stumpwmrc	Mon Sep 07 20:57:39 2020 -0400
@@ -386,6 +386,9 @@
 (defcommand describe-window () ()
   (show-window-properties))
 
+(defcommand rain () ()
+  (message (run-shell-command "weather -H 36" t)))
+
 
 ;;;; Terminal Fonts -----------------------------------------------------------
 (defcommand reload-terminal-font-size ()
@@ -437,6 +440,9 @@
 (defcommand spotify () ()
   (run-or-raise "spotify" '(:class "Spotify")))
 
+(defcommand files () ()
+  (run-shell-command "open $HOME"))
+
 (defcommand browser () ()
   (run-or-raise "firefox" '(:class "Firefox")))
 
@@ -517,14 +523,16 @@
   ("H-|" "generate-password")
   ("H-b" "browser")
   ("H-B" "exec firefox")
-  ("H-o" "spotify")
+  ("H-O" "spotify")
+  ("H-o" "files")
   ("H-z" "zoom")
   ("H-q" "exec lock-screen")
   ("H-y" "screenshot")
   ("H-g" "gcontrol")
   ("H-f" "save-fucked-screenshot")
   ("H-F" "delete-fucked-screenshot")
-  ("H-r" "loadrc")
+  ("H-R" "loadrc")
+  ("H-r" "rain")
   ("H-V" "vlime"))
 
 (define-top-keys ;; clipboard