Compare commits
No commits in common. "416d89c76a7a7cae5a29bd68ccce132cb09e8c6f" and "64cef09e533f0662e2e77fcfab707369197c46e6" have entirely different histories.
416d89c76a
...
64cef09e53
@ -88,7 +88,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
bat.enable = true;
|
bat = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
direnv = {
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
@ -107,12 +109,10 @@
|
|||||||
userEmail = "jacob.hinkle@jhink.org";
|
userEmail = "jacob.hinkle@jhink.org";
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
delta.enable = true;
|
delta.enable = true;
|
||||||
aliases = {
|
|
||||||
s = "status";
|
|
||||||
ci = "commit";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
htop.enable = true;
|
htop = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
kitty = {
|
kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font = {
|
font = {
|
||||||
@ -120,8 +120,9 @@
|
|||||||
size = 16;
|
size = 16;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
lazygit.enable = true;
|
mbsync = {
|
||||||
mbsync.enable = true;
|
enable = true;
|
||||||
|
};
|
||||||
neovim = {
|
neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
@ -161,7 +162,6 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableSyntaxHighlighting = true;
|
enableSyntaxHighlighting = true;
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
lg = "lazygit";
|
|
||||||
vim = "nvim";
|
vim = "nvim";
|
||||||
};
|
};
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
-- See https://xmonad.org/TUTORIAL.html
|
-- See https://xmonad.org/TUTORIAL.html
|
||||||
import XMonad
|
import XMonad
|
||||||
|
|
||||||
import XMonad.Actions.CycleWS (toggleWS)
|
|
||||||
import XMonad.Actions.RotSlaves
|
import XMonad.Actions.RotSlaves
|
||||||
|
|
||||||
import XMonad.Hooks.DynamicLog
|
import XMonad.Hooks.DynamicLog
|
||||||
@ -9,8 +8,6 @@ import XMonad.Hooks.EwmhDesktops
|
|||||||
import XMonad.Hooks.StatusBar
|
import XMonad.Hooks.StatusBar
|
||||||
import XMonad.Hooks.StatusBar.PP
|
import XMonad.Hooks.StatusBar.PP
|
||||||
|
|
||||||
import qualified XMonad.StackSet as W
|
|
||||||
|
|
||||||
import XMonad.Util.EZConfig (additionalKeysP)
|
import XMonad.Util.EZConfig (additionalKeysP)
|
||||||
import XMonad.Util.Loggers
|
import XMonad.Util.Loggers
|
||||||
|
|
||||||
@ -29,28 +26,16 @@ myConfig = def
|
|||||||
{ terminal = "kitty tmux new"
|
{ terminal = "kitty tmux new"
|
||||||
, modMask = mod1Mask
|
, modMask = mod1Mask
|
||||||
, borderWidth = 1
|
, borderWidth = 1
|
||||||
, workspaces = myWorkspaces
|
-- , workspaces = myWorkspaces
|
||||||
, layoutHook = myLayout
|
, layoutHook = myLayout
|
||||||
}
|
}
|
||||||
`additionalKeysP`
|
`additionalKeysP`
|
||||||
([
|
[ ("M-'", spawn "qutebrowser")
|
||||||
-- launch programs
|
|
||||||
("M-'", spawn "qutebrowser")
|
|
||||||
, ("M-s", spawn "scrot -s")
|
, ("M-s", spawn "scrot -s")
|
||||||
-- cycle windows within a workspace
|
|
||||||
, ("M-a", rotAllUp)
|
, ("M-a", rotAllUp)
|
||||||
, ("M-f", rotAllDown)
|
, ("M-f", rotAllDown)
|
||||||
-- switch to previous workspace
|
|
||||||
, ("M-;", toggleWS)
|
|
||||||
-- Warn (disable shutting down xmonad since we can do that in other ways from a terminal...
|
|
||||||
, ("M-S-q", spawn "kitty --hold echo M-S-q quits XMonad\\! You probably meant to use M-S-c to close the current window.")
|
, ("M-S-q", spawn "kitty --hold echo M-S-q quits XMonad\\! You probably meant to use M-S-c to close the current window.")
|
||||||
]
|
]
|
||||||
++
|
|
||||||
-- access additional workspaces
|
|
||||||
[("M-" ++ w, windows $ W.greedyView w) | w <- addlWorkspaces]
|
|
||||||
++
|
|
||||||
[("M-S-" ++ w, windows $ W.shift w) | w <- addlWorkspaces]
|
|
||||||
)
|
|
||||||
|
|
||||||
myLayout = tiled ||| Mirror tiled ||| Full ||| threeCol
|
myLayout = tiled ||| Mirror tiled ||| Full ||| threeCol
|
||||||
where
|
where
|
||||||
@ -89,8 +74,4 @@ myXmobarPP = def
|
|||||||
red = xmobarColor "#ff5555" ""
|
red = xmobarColor "#ff5555" ""
|
||||||
lowWhite = xmobarColor "#bbbbbb" ""
|
lowWhite = xmobarColor "#bbbbbb" ""
|
||||||
|
|
||||||
addlWorkspaces :: [String]
|
--myWorkspaces = [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-", "=" ]
|
||||||
addlWorkspaces = ["0", "-", "=", "i"]
|
|
||||||
|
|
||||||
myWorkspaces :: [String]
|
|
||||||
myWorkspaces = ["1", "2", "3", "4", "5", "6", "7", "8", "9"] ++ addlWorkspaces
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user