summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.Xdefaults37
-rw-r--r--.config/nvim/init.lua37
-rw-r--r--.config/nvim/lazy-lock.json3
-rw-r--r--.cwmrc54
-rw-r--r--.xsession4
5 files changed, 98 insertions, 37 deletions
diff --git a/.Xdefaults b/.Xdefaults
index b1ce254..febb7ed 100644
--- a/.Xdefaults
+++ b/.Xdefaults
@@ -1,39 +1,2 @@
-! Use a nice truetype font and size by default...
xterm*faceName: DejaVu Sans Mono Book
xterm*faceSize: 11
-
-! Every shell is a login shell by default (for inclusion of all necessary environment variables)
-xterm*loginshell: true
-
-! I like a LOT of scrollback...
-xterm*savelines: 16384
-
-! double-click to select whole URLs :D
-xterm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
-
-! DOS-box colours...
-xterm*foreground: rgb:a8/a8/a8
-xterm*background: rgb:00/00/00
-xterm*color0: rgb:00/00/00
-xterm*color1: rgb:a8/00/00
-xterm*color2: rgb:00/a8/00
-xterm*color3: rgb:a8/54/00
-xterm*color4: rgb:00/00/a8
-xterm*color5: rgb:a8/00/a8
-xterm*color6: rgb:00/a8/a8
-xterm*color7: rgb:a8/a8/a8
-xterm*color8: rgb:54/54/54
-xterm*color9: rgb:fc/54/54
-xterm*color10: rgb:54/fc/54
-xterm*color11: rgb:fc/fc/54
-xterm*color12: rgb:54/54/fc
-xterm*color13: rgb:fc/54/fc
-xterm*color14: rgb:54/fc/fc
-xterm*color15: rgb:fc/fc/fc
-
-! right hand side scrollbar...
-xterm*rightScrollBar: true
-xterm*ScrollBar: true
-
-! stop output to terminal from jumping down to bottom of scroll again
-xterm*scrollTtyOutput: false
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
new file mode 100644
index 0000000..2a22f7e
--- /dev/null
+++ b/.config/nvim/init.lua
@@ -0,0 +1,37 @@
+-- Bootstrap lazy.nvim
+local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
+if not (vim.uv or vim.loop).fs_stat(lazypath) then
+ local lazyrepo = "https://github.com/folke/lazy.nvim.git"
+ local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
+ if vim.v.shell_error ~= 0 then
+ vim.api.nvim_echo({
+ { "Failed to clone lazy.nvim:\n", "ErrorMsg" },
+ { out, "WarningMsg" },
+ { "\nPress any key to exit..." },
+ }, true, {})
+ vim.fn.getchar()
+ os.exit(1)
+ end
+end
+vim.opt.rtp:prepend(lazypath)
+
+-- Make sure to setup `mapleader` and `maplocalleader` before
+-- loading lazy.nvim so that mappings are correct.
+-- This is also a good place to setup other settings (vim.opt)
+vim.g.mapleader = " "
+vim.g.maplocalleader = "\\"
+
+-- Setup lazy.nvim
+require("lazy").setup({
+ spec = {
+ -- add your plugins here
+ },
+ -- Configure any other settings here. See the documentation for more details.
+ -- colorscheme that will be used when installing plugins.
+ install = { colorscheme = { "habamax" } },
+ -- automatically check for plugin updates
+ checker = { enabled = true },
+ rocks = { enabled = false },
+ performance = { rtp = { reset = false }, },
+})
+
diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json
new file mode 100644
index 0000000..57d2f1e
--- /dev/null
+++ b/.config/nvim/lazy-lock.json
@@ -0,0 +1,3 @@
+{
+ "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }
+}
diff --git a/.cwmrc b/.cwmrc
new file mode 100644
index 0000000..e412ba3
--- /dev/null
+++ b/.cwmrc
@@ -0,0 +1,54 @@
+unbind-key all
+sticky yes
+htile 50
+vtile 50
+bind-key M-1 group-only-1
+bind-key M-2 group-only-2
+bind-key M-3 group-only-3
+bind-key M-4 group-only-4
+bind-key M-5 group-only-5
+bind-key M-6 group-only-6
+bind-key M-7 group-only-7
+bind-key M-8 group-only-8
+bind-key M-9 group-only-9
+bind-key MS-1 window-movetogroup-1
+bind-key MS-2 window-movetogroup-2
+bind-key MS-3 window-movetogroup-3
+bind-key MS-4 window-movetogroup-4
+bind-key MS-5 window-movetogroup-5
+bind-key MS-6 window-movetogroup-6
+bind-key MS-7 window-movetogroup-7
+bind-key MS-8 window-movetogroup-8
+bind-key 4S-9 window-movetogroup-9
+gap 8 8 8 8
+
+# Options bellow are pretty self-explanatory
+bind-key 4-r restart
+bind-key 4-q quit
+
+bind-key 4-c window-close
+bind-key 4-u window-hide
+
+bind-key 4-f window-fullscreen
+bind-key 4-m window-maximize
+bind-key 4-t window-htile
+bind-key 4S-t window-vtile
+
+bind-key 4-j window-cycle
+bind-key 4-k window-rcycle
+
+bind-key 4S-h window-move-left
+bind-key 4S-j window-move-down
+bind-key 4S-k window-move-up
+bind-key 4S-l window-move-right
+
+bind-key 4M-h window-snap-left
+bind-key 4M-j window-snap-down
+bind-key 4M-k window-snap-up
+bind-key 4M-l window-snap-right
+
+bind-key 4M-m menu-window
+bind-key 4M-g menu-group
+bind-key 4M-a menu-cmd
+bind-key 4M-e menu-exec
+
diff --git a/.xsession b/.xsession
new file mode 100644
index 0000000..1052305
--- /dev/null
+++ b/.xsession
@@ -0,0 +1,4 @@
+xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1
+xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2
+xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 6 7 4 5
+cwm