aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Wilken2022-12-11 00:05:54 +0100
committerTimo Wilken2022-12-11 00:05:54 +0100
commit799b271ba3cb0efb8de8c3a78d224cbfcdcd24ef (patch)
treeea1776e5c5c477c3bfc67a0089693d99a743df58
parent7048868fcde3952ff7cc3d69482ad2d434c90600 (diff)
Install and use xcwd
-rw-r--r--home-configuration.scm9
-rw-r--r--i3.conf6
2 files changed, 8 insertions, 7 deletions
diff --git a/home-configuration.scm b/home-configuration.scm
index 823a1599..b00b08be 100644
--- a/home-configuration.scm
+++ b/home-configuration.scm
@@ -405,6 +405,10 @@ replacement spec (to which `regexp-substitute/global' is applied)."
"source-highlight" "tk" "tmux" "tree" "xxd" "zip" "unzip"
"get-iplayer" "ffmpeg" "atomicparsley" "yt-dlp"
"neomutt" "mailcap" "lynx" ; mail (lynx for HTML mail)
+ ;; Ranger can do code highlighting using python-pygments and
+ ;; image previews in kitty using python-pillow.
+ "ranger" "python-pygments" "python-pillow" "mediainfo" "python-pdftotext"
+ "xcwd" ; my own package
;; Work
"s3cmd" "python-alibuild" ; "python-alidistlint"
@@ -478,10 +482,7 @@ replacement spec (to which `regexp-substitute/global' is applied)."
"shellcheck"
;; Shell
"zsh" "zsh-autosuggestions" "zsh-syntax-highlighting" "zsh-autopair"
- "zsh-completions" ; my own package
- ;; Ranger can do code highlighting using python-pygments and
- ;; image previews in kitty using python-pillow.
- "ranger" "python-pygments" "python-pillow" "mediainfo" "python-pdftotext"))))
+ "zsh-completions")))) ; my own package
;; To search for available home services, run 'guix home search KEYWORD'.
(services
diff --git a/i3.conf b/i3.conf
index bbef345f..be7f1d71 100644
--- a/i3.conf
+++ b/i3.conf
@@ -43,16 +43,16 @@ set $mod Mod4
floating_modifier $mod
# essential applications
-bindsym $mod+Return exec i3-sensible-terminal
+bindsym $mod+Return exec kitty "--directory=$(xcwd)"
bindsym $mod+i exec icecat --new-window
bindsym $mod+shift+i exec icecat --new-tab "$(xclip -out)"
bindsym $mod+e exec $EDITOR
# Use ASYNC_EDITOR so I can continue using ranger while the editor
# remains open in a separate window.
-bindsym $mod+slash exec kitty -T ranger env "EDITOR=$ASYNC_EDITOR" ranger
+bindsym $mod+slash exec EDITOR=$ASYNC_EDITOR kitty ranger "$(xcwd)"
bindsym $mod+semicolon exec --no-startup-id nheko
bindsym $mod+shift+colon exec --no-startup-id kitty neomutt
-bindsym $mod+y exec kitty -T pulsemixer pulsemixer
+bindsym $mod+y exec kitty pulsemixer
# volume
bindsym XF86AudioRaiseVolume exec --no-startup-id volume +5