feat: finally settled down on a theme
This commit is contained in:
parent
14555c38b6
commit
e368b1ca3d
|
@ -1,11 +1,9 @@
|
||||||
{-# LANGUAGE BlockArguments #-}
|
{-# LANGUAGE BlockArguments #-}
|
||||||
|
|
||||||
import System.Environment
|
|
||||||
import System.Process
|
|
||||||
|
|
||||||
import Control.Monad (join)
|
import Control.Monad (join)
|
||||||
import Data.Function ((&))
|
import Data.Function ((&))
|
||||||
|
import System.Environment
|
||||||
|
import System.Process
|
||||||
import XMonad
|
import XMonad
|
||||||
import XMonad.Actions.SpawnOn
|
import XMonad.Actions.SpawnOn
|
||||||
import XMonad.Config (defaultConfig)
|
import XMonad.Config (defaultConfig)
|
||||||
|
@ -14,8 +12,8 @@ import XMonad.Hooks.EwmhDesktops (ewmh, fullscreenEventHook)
|
||||||
import XMonad.Hooks.ManageDocks
|
import XMonad.Hooks.ManageDocks
|
||||||
import XMonad.Layout.Spacing
|
import XMonad.Layout.Spacing
|
||||||
import XMonad.Layout.ThreeColumns
|
import XMonad.Layout.ThreeColumns
|
||||||
import XMonad.Util.EZConfig
|
|
||||||
import XMonad.Operations
|
import XMonad.Operations
|
||||||
|
import XMonad.Util.EZConfig
|
||||||
|
|
||||||
kdeOn :: Bool
|
kdeOn :: Bool
|
||||||
kdeOn = False
|
kdeOn = False
|
||||||
|
@ -81,11 +79,11 @@ main =
|
||||||
|
|
||||||
-- TODO: find a way to bind all the program-opening-keybindings to a single sub-map
|
-- TODO: find a way to bind all the program-opening-keybindings to a single sub-map
|
||||||
keymap =
|
keymap =
|
||||||
[ ("M-p", spawn "rofi -show run")
|
[ ("M-p", spawn "rofi -show run"),
|
||||||
, ("M-g", spawn myBrowser)
|
("M-g", spawn myBrowser),
|
||||||
, ("M-d", spawn "Discord")
|
("M-d", spawn "Discord"),
|
||||||
, ("M-v", spawn "alacritty -e vimclip")
|
("M-v", spawn "alacritty -e vimclip"),
|
||||||
, ("M-c", kill)
|
("M-c", kill)
|
||||||
]
|
]
|
||||||
|
|
||||||
uniformBorder = join $ join $ join Border
|
uniformBorder = join $ join $ join Border
|
||||||
|
@ -102,4 +100,3 @@ main =
|
||||||
startup = do
|
startup = do
|
||||||
-- The file is dynamically set in wallpaper.nix
|
-- The file is dynamically set in wallpaper.nix
|
||||||
spawn "xwallpaper --zoom ~/.config/wallpaper"
|
spawn "xwallpaper --zoom ~/.config/wallpaper"
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ let
|
||||||
foreign = pkgs.callPackage (import ./foreign.nix) { };
|
foreign = pkgs.callPackage (import ./foreign.nix) { };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
wallpaper = "${foreign.wallpapers}/${wallpaper}";
|
wallpaper = wallpaper.foreign or "${foreign.wallpapers}/${wallpaper}";
|
||||||
|
|
||||||
name = "catppuccin";
|
name = "catppuccin";
|
||||||
neovim = {
|
neovim = {
|
||||||
|
@ -35,8 +35,10 @@ in
|
||||||
import = [ "${foreign.alacritty}/catppuccin.yml" ];
|
import = [ "${foreign.alacritty}/catppuccin.yml" ];
|
||||||
window = {
|
window = {
|
||||||
padding = {
|
padding = {
|
||||||
x = 8;
|
x = 0;
|
||||||
y = 8;
|
y = 0;
|
||||||
|
# x = 8;
|
||||||
|
# y = 8;
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk_theme_variant = "dark";
|
gtk_theme_variant = "dark";
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
local catppuccin = require("catppuccin")
|
local catppuccin = require("catppuccin")
|
||||||
|
|
||||||
catppuccin.setup({
|
catppuccin.setup({
|
||||||
transparet_background = true,
|
transparent_background = true,
|
||||||
integrations = {nvimtree = {transparent_panel = true}}
|
integrations = {nvimtree = {transparent_panel = true}}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
vim.cmd [[colorscheme catppuccin]]
|
||||||
|
|
|
@ -6,8 +6,13 @@ in
|
||||||
lib.lists.map (theme: pkgs.callPackage theme { }) [
|
lib.lists.map (theme: pkgs.callPackage theme { }) [
|
||||||
(catppuccin {
|
(catppuccin {
|
||||||
# wallpaper = "os/nix-magenta-pink-1920x1080.png";
|
# wallpaper = "os/nix-magenta-pink-1920x1080.png";
|
||||||
wallpaper = "minimalistic/tetris.png";
|
# wallpaper = "minimalistic/tetris.png";
|
||||||
transparency = 0.6;
|
# wallpaper = "os/nix-black-4k.png";
|
||||||
|
# wallpaper = "landscapes/forrest.png";
|
||||||
|
# wallpaper = "landscapes/salty_mountains.png";
|
||||||
|
# wallpaper = "misc/rainbow.png";
|
||||||
|
wallpaper.foreign = ./wallpapers/eye.png;
|
||||||
|
transparency = 0.8;
|
||||||
})
|
})
|
||||||
(githubVariant {
|
(githubVariant {
|
||||||
variant = "light";
|
variant = "light";
|
||||||
|
|
Loading…
Reference in a new issue