1
Fork 0

feat: finally settled down on a theme

This commit is contained in:
Matei Adriel 2022-05-10 20:04:51 +03:00
parent 14555c38b6
commit e368b1ca3d
4 changed files with 23 additions and 17 deletions

View file

@ -1,11 +1,9 @@
{-# LANGUAGE BlockArguments #-}
import System.Environment
import System.Process
import Control.Monad (join)
import Data.Function ((&))
import System.Environment
import System.Process
import XMonad
import XMonad.Actions.SpawnOn
import XMonad.Config (defaultConfig)
@ -14,8 +12,8 @@ import XMonad.Hooks.EwmhDesktops (ewmh, fullscreenEventHook)
import XMonad.Hooks.ManageDocks
import XMonad.Layout.Spacing
import XMonad.Layout.ThreeColumns
import XMonad.Util.EZConfig
import XMonad.Operations
import XMonad.Util.EZConfig
kdeOn :: Bool
kdeOn = False
@ -81,11 +79,11 @@ main =
-- TODO: find a way to bind all the program-opening-keybindings to a single sub-map
keymap =
[ ("M-p", spawn "rofi -show run")
, ("M-g", spawn myBrowser)
, ("M-d", spawn "Discord")
, ("M-v", spawn "alacritty -e vimclip")
, ("M-c", kill)
[ ("M-p", spawn "rofi -show run"),
("M-g", spawn myBrowser),
("M-d", spawn "Discord"),
("M-v", spawn "alacritty -e vimclip"),
("M-c", kill)
]
uniformBorder = join $ join $ join Border
@ -102,4 +100,3 @@ main =
startup = do
-- The file is dynamically set in wallpaper.nix
spawn "xwallpaper --zoom ~/.config/wallpaper"

View file

@ -5,7 +5,7 @@ let
foreign = pkgs.callPackage (import ./foreign.nix) { };
in
{
wallpaper = "${foreign.wallpapers}/${wallpaper}";
wallpaper = wallpaper.foreign or "${foreign.wallpapers}/${wallpaper}";
name = "catppuccin";
neovim = {
@ -35,8 +35,10 @@ in
import = [ "${foreign.alacritty}/catppuccin.yml" ];
window = {
padding = {
x = 8;
y = 8;
x = 0;
y = 0;
# x = 8;
# y = 8;
};
gtk_theme_variant = "dark";

View file

@ -1,6 +1,8 @@
local catppuccin = require("catppuccin")
catppuccin.setup({
transparet_background = true,
transparent_background = true,
integrations = {nvimtree = {transparent_panel = true}}
})
vim.cmd [[colorscheme catppuccin]]

View file

@ -6,8 +6,13 @@ in
lib.lists.map (theme: pkgs.callPackage theme { }) [
(catppuccin {
# wallpaper = "os/nix-magenta-pink-1920x1080.png";
wallpaper = "minimalistic/tetris.png";
transparency = 0.6;
# wallpaper = "minimalistic/tetris.png";
# 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 {
variant = "light";