Browse Source

cwm cleanup

Cullum Smith 2 years ago
parent
commit
e9e187694a
3 changed files with 12 additions and 5 deletions
  1. 6
    0
      bin/bin/clock
  2. 5
    4
      cwm/.cwmrc
  3. 1
    1
      x11/.xsession

+ 6
- 0
bin/bin/clock View File

@@ -0,0 +1,6 @@
1
+#!/bin/sh
2
+
3
+# xclock (on OpenBSD, at least) has a bug where the font spec
4
+# is ignored when UTF-8 is used
5
+
6
+LC_CTYPE= LANG= exec xclock "$@"

+ 5
- 4
cwm/.cwmrc View File

@@ -56,8 +56,8 @@ bind-key 4-c window-htile
56 56
 
57 57
 bind-key 4-slash menu-window
58 58
 bind-key 4-d menu-cmd
59
-bind-key 4-question menu-exec
60
-bind-key 4-period menu-ssh
59
+bind-key 4-period menu-exec
60
+bind-key 4-comma menu-ssh
61 61
 
62 62
 bind-key 4S-r restart
63 63
 bind-key 4S-e quit
@@ -74,10 +74,11 @@ unbind-mouse CMS-3
74 74
 
75 75
 command xterm    xterm
76 76
 command chrome   browser
77
+command riot     "browser https://riot/"
77 78
 command mutt     "xterm -T mutt -e 'ssh mail -t ksh -l -c neomutt'"
78
-command xclock   xclock
79
+command xclock   clock
79 80
 command xcalc    xcalc
80 81
 command xkill    xkill
81
-command lock     lock
82
+command xlock    lock
82 83
 
83 84
 ignore xclock

+ 1
- 1
x11/.xsession View File

@@ -18,7 +18,7 @@ xmodmap $HOME/.xmodmaprc
18 18
 
19 19
 case "$(uname)" in
20 20
   OpenBSD)
21
-    LANG= LC_CTYPE= xclock -strftime '%a %e %b %Y %H:%M' &
21
+    clock -strftime '%a %e %b %Y %H:%M' &
22 22
     exec cwm
23 23
     ;;
24 24
   *) exec i3 ;;

Loading…
Cancel
Save