From 3add923d5e2869ba4bcf5baa4050b80181a43b36 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 24 Feb 2021 23:25:17 +0100 Subject: Updated downloads -> dl, Added README programs, Try to fix moc with XDG dirs --- config/moc/config | 12 +++--------- config/qutebrowser/config.py | 2 +- config/xmonad/xmonad.hs | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-) (limited to 'config') diff --git a/config/moc/config b/config/moc/config index 37af912..7ff5cf2 100644 --- a/config/moc/config +++ b/config/moc/config @@ -216,10 +216,7 @@ HideFileExtension = yes # Theme file to use. This can be absolute path or relative to # /usr/share/moc/themes/ (depends on installation prefix) or # ~/.moc/themes/ . -# -# Example: Theme = laras_theme -# -Theme = solarized +Theme = /home/cacharle/.config/moc/themes/solarized # The theme used when running on an xterm. # @@ -234,7 +231,7 @@ Theme = solarized # MOC directory (where pid file, socket and state files are stored). # You can use ~ at the beginning. -#MOCDir = ~/.moc +MOCDir = ~/.local/share/moc # Use mmap() to read files. mmap() is much slower on NFS. #UseMMap = no @@ -278,10 +275,7 @@ Theme = solarized # Choose a keymap file (relative to '~/.moc/' or using an absolute path). # An annotated example keymap file is included ('keymap.example'). -# -# Example: Keymap = my_keymap -# -Keymap = keymap +Keymap = /home/cacharle/.config/moc/keymap # Use ASCII rather than graphic characters for drawing lines. This # helps on some terminals. diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index bcbdc5a..83d7ae7 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -72,7 +72,7 @@ c.session.lazy_restore = True home_path = os.environ.get('HOME') if home_path is not None: - download_path = os.path.join(home_path, "downloads") + download_path = os.path.join(home_path, "dl") if not os.path.exists(download_path): os.mkdir(download_path) c.downloads.location.directory = download_path diff --git a/config/xmonad/xmonad.hs b/config/xmonad/xmonad.hs index b1655ef..43017c7 100644 --- a/config/xmonad/xmonad.hs +++ b/config/xmonad/xmonad.hs @@ -56,7 +56,7 @@ myKeys = [ ("", spawn "pulseaudio-ctl down") , ("", spawn "touchpad-toggle") , ("M-o", spawn "project-open") - , ("M-m", spawn "st -e mocp") + , ("M-m", spawn "st -e mocp -C /home/cacharle/.config/moc/config") , ("M-S-d", spawn "notify-send -i x-office-calendar \"$(date +\"%H:%M %A %d/%m/%Y %B\")\"") , ("M-S-b", spawn "notify-send \"battery: $(cat /sys/class/power_supply/BAT0/capacity)\"") , ("M-q", spawn "notify-send 'Restarting xmonad'" >> spawn restartCmd) -- cgit