update 10/19/2024
This commit is contained in:
7
user/apps/games/badlion-client.nix
Normal file
7
user/apps/games/badlion-client.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
badlionClient = pkgs.callPackage ../../../pkgs/badlion-client/badlion-client.nix { };
|
||||
in
|
||||
{
|
||||
home.packages = [ badlionClient ];
|
||||
}
|
||||
6
user/apps/games/minecraft.nix
Normal file
6
user/apps/games/minecraft.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
minecraft
|
||||
];
|
||||
}
|
||||
@@ -19,14 +19,12 @@ Config {
|
||||
|
||||
commands =
|
||||
[
|
||||
Run DynNetwork [
|
||||
"--template", "<dev>: <tx>kB/s|<rx>kB/s",
|
||||
"--Low", "1000" -- units: B/s,
|
||||
"--High", "5000" -- units: B/s,
|
||||
Run DynNetwork [ "--template", "<dev>: <tx>kB/s|<rx>kB/s",
|
||||
"--Low", "1000", -- units: B/s
|
||||
"--High", "5000", -- units: B/s
|
||||
"--low", "darkgreen",
|
||||
"--normal", "darkorange",
|
||||
"--high", "darkred"
|
||||
] 10,
|
||||
"--high", "darkred" ] 10,
|
||||
|
||||
Run MultiCpu [
|
||||
"--template", "Cpu: <total0>C|<core1>C"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
--
|
||||
|
||||
import XMonad
|
||||
import XMonad.Hooks.DynamicLog
|
||||
import Data.Monoid
|
||||
import System.Exit
|
||||
|
||||
@@ -36,7 +37,7 @@ myBorderWidth = 1
|
||||
-- ("right alt"), which does not conflict with emacs keybindings. The
|
||||
-- "windows key" is usually mod4Mask.
|
||||
--
|
||||
myModMask = mod1Mask
|
||||
myModMask = mod4Mask
|
||||
|
||||
-- The default number of workspaces (virtual screens) and their names.
|
||||
-- By default we use numeric strings, but any string may be used as a
|
||||
@@ -47,7 +48,7 @@ myModMask = mod1Mask
|
||||
--
|
||||
-- > workspaces = ["web", "irc", "code" ] ++ map show [4..9]
|
||||
--
|
||||
myWorkspaces = ["1","2","3","4","5","6","7","8","9"]
|
||||
myWorkspaces = ["term", "web", "code", "debug", "docs"] ++ map show [6..9]
|
||||
|
||||
-- Border colors for unfocused and focused windows, respectively.
|
||||
--
|
||||
@@ -243,14 +244,17 @@ myLogHook = return ()
|
||||
-- per-workspace layout choices.
|
||||
--
|
||||
-- By default, do nothing.
|
||||
myStartupHook = return ()
|
||||
myStartupHook = do
|
||||
spawn "feh --bg-scale ~/画像/wallpaper/85444653_p0.jpg"
|
||||
|
||||
------------------------------------------------------------------------
|
||||
-- Now run xmonad with all the defaults we set up.
|
||||
|
||||
-- Run xmonad with the settings you specify. No need to modify this.
|
||||
--
|
||||
main = xmonad defaults
|
||||
main :: IO()
|
||||
main = do
|
||||
xmobar myConfig >>= xmonad
|
||||
|
||||
-- A structure containing your configuration settings, overriding
|
||||
-- fields in the default config. Any you don't override, will
|
||||
@@ -258,7 +262,7 @@ main = xmonad defaults
|
||||
--
|
||||
-- No need to modify this.
|
||||
--
|
||||
defaults = def {
|
||||
myConfig = def {
|
||||
-- simple stuff
|
||||
terminal = myTerminal,
|
||||
focusFollowsMouse = myFocusFollowsMouse,
|
||||
|
||||
@@ -14,4 +14,5 @@
|
||||
];
|
||||
|
||||
home.file.".config/xmonad/xmonad.hs".source = ./xmonad.hs;
|
||||
home.file.".config/xmobar/xmobarrc".source = ./xmobarrc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user