aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdam0 <me@kumardamani.net>2023-03-13 23:24:56 +0000
committerkdam0 <me@kumardamani.net>2023-03-13 23:24:56 +0000
commit2e7be84c789801304c86a07351621e0503ccdf40 (patch)
tree9c1a2c359f712c7dd6b8a9b2a389cbc3a4018265
added initial repo files
-rw-r--r--README.md0
-rwxr-xr-xbg.sh12
-rw-r--r--nixpkgs/.config/nixpkgs/configuration.nix96
-rw-r--r--nixpkgs/.config/nixpkgs/dwl/config.h176
-rw-r--r--nixpkgs/.config/nixpkgs/flake.lock81
-rw-r--r--nixpkgs/.config/nixpkgs/flake.nix32
-rw-r--r--nixpkgs/.config/nixpkgs/hardware-configuration.nix42
-rw-r--r--nixpkgs/.config/nixpkgs/home.nix71
-rwxr-xr-xstart.sh24
9 files changed, 534 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/README.md
diff --git a/bg.sh b/bg.sh
new file mode 100755
index 0000000..9bcefa6
--- /dev/null
+++ b/bg.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+WALLPAPERS_HOME=${1:-$HOME/pics/wallpapers}
+
+# Get a random image file from the dir.
+RAND_BG=$(find "$WALLPAPERS_HOME" -type f -name "*.jpeg" -o -name "*.jpg" -o -name "*.png" | shuf | head -n1)
+
+# Set the image file as the background.
+(command -v wbg > /dev/null || (echo "wbg is not installed." && exit 1) && \
+ # else
+ notify-send "Set background." && wbg "${RAND_BG}"
+)
diff --git a/nixpkgs/.config/nixpkgs/configuration.nix b/nixpkgs/.config/nixpkgs/configuration.nix
new file mode 100644
index 0000000..213d986
--- /dev/null
+++ b/nixpkgs/.config/nixpkgs/configuration.nix
@@ -0,0 +1,96 @@
+{ config, pkgs, ... }:
+
+{
+ imports =
+ [ # Include the results of the hardware scan.
+ ./hardware-configuration.nix
+ ];
+
+ # Use the systemd-boot EFI boot loader.
+ boot.loader.systemd-boot.enable = true;
+ boot.loader.efi.canTouchEfiVariables = true;
+
+ networking.hostName = "art-sr"; # Define your hostname.
+ networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
+
+ # Set your time zone.
+ time.timeZone = "America/Toronto";
+
+ # Select internationalisation properties.
+ i18n.defaultLocale = "en_US.UTF-8";
+ console = {
+ font = "Lat2-Terminus16";
+ keyMap = "us";
+ #useXkbConfig = true; # use xkbOptions in tty.
+ };
+
+ nixpkgs.config.allowUnfree = true;
+
+ # Enable CUPS to print documents.
+ services.printing.enable = true;
+
+ # Enable sound.
+ security.rtkit.enable = true;
+ services.pipewire = {
+ enable = true;
+ alsa.enable = true;
+ alsa.support32Bit = true;
+ pulse.enable = true;
+ wireplumber.enable = true;
+ media-session.enable = false;
+ jack.enable = true;
+ systemWide = false;
+ };
+
+
+ # Define a user account. Don't forget to set a password with ‘passwd’.
+ users.users.kdam0 = {
+ isNormalUser = true;
+ extraGroups = [
+ "wheel"
+ "video"
+ "audio"
+ ];
+ };
+
+ # List packages installed in system profile. To search, run:
+ environment.systemPackages = with pkgs; [
+ wget
+ git
+ rsync
+ neovim
+ htop
+ bmon
+ alsa-utils
+ libcamera
+ ];
+
+ # Copy the NixOS configuration file and link it from the resulting system
+ # (/run/current-system/configuration.nix). This is useful in case you
+ # accidentally delete configuration.nix.
+ # system.copySystemConfiguration = true;
+
+ # This value determines the NixOS release from which the default
+ # settings for stateful data, like file locations and database versions
+ # on your system were taken. It‘s perfectly fine and recommended to leave
+ # this value at the release version of the first install of this system.
+ # Before changing this value read the documentation for this option
+ # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
+ system.stateVersion = "22.11"; # Did you read the comment?
+
+ nix.settings.experimental-features = ["nix-command" "flakes"];
+
+ security.polkit.enable = true;
+ hardware.opengl = {
+ enable = true;
+ driSupport = true;
+ };
+ #xdg.portal = {
+ # enable = true;
+ # wlr.enable = true;
+ #};
+ #hardware.enableAllFirmware = true;
+
+ services.fwupd.enable = true;
+}
+
diff --git a/nixpkgs/.config/nixpkgs/dwl/config.h b/nixpkgs/.config/nixpkgs/dwl/config.h
new file mode 100644
index 0000000..cdc1ad9
--- /dev/null
+++ b/nixpkgs/.config/nixpkgs/dwl/config.h
@@ -0,0 +1,176 @@
+#include <X11/XF86keysym.h>
+
+/* appearance */
+static const int sloppyfocus = 1; /* focus follows mouse */
+static const int bypass_surface_visibility = 0; /* 1 means idle inhibitors will disable idle tracking even if it's surface isn't visible */
+static const unsigned int borderpx = 1; /* border pixel of windows */
+static const float rootcolor[] = {0.3, 0.3, 0.3, 1.0};
+static const float bordercolor[] = {0.5, 0.5, 0.5, 1.0};
+static const float focuscolor[] = {1.0, 0.0, 0.0, 1.0};
+/* To conform the xdg-protocol, set the alpha to zero to restore the old behavior */
+static const float fullscreen_bg[] = {0.1, 0.1, 0.1, 1.0};
+
+/* tagging */
+static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+
+static const Rule rules[] = {
+ /* app_id title tags mask isfloating monitor */
+ /* examples:
+ { "Gimp", NULL, 0, 1, -1 },
+ */
+ { "firefox", NULL, 1 << 8, 0, -1 },
+};
+
+/* layout(s) */
+static const Layout layouts[] = {
+ /* symbol arrange function */
+ { "[]=", tile },
+ { "><>", NULL }, /* no layout function means floating behavior */
+ { "[M]", monocle },
+};
+
+/* monitors */
+static const MonitorRule monrules[] = {
+ /* name mfact nmaster scale layout rotate/reflect */
+ /* example of a HiDPI laptop monitor:
+ { "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL },
+ */
+ /* defaults */
+ { NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL },
+};
+
+/* keyboard */
+static const struct xkb_rule_names xkb_rules = {
+ /* can specify fields: rules, model, layout, variant, options */
+ /* example:
+ .options = "ctrl:nocaps",
+ */
+ .options = "caps:escape",
+};
+
+static const int repeat_rate = 25;
+static const int repeat_delay = 600;
+
+/* Trackpad */
+static const int tap_to_click = 1;
+static const int tap_and_drag = 1;
+static const int drag_lock = 1;
+static const int natural_scrolling = 0;
+static const int disable_while_typing = 1;
+static const int left_handed = 0;
+static const int middle_button_emulation = 0;
+/* You can choose between:
+LIBINPUT_CONFIG_SCROLL_NO_SCROLL
+LIBINPUT_CONFIG_SCROLL_2FG
+LIBINPUT_CONFIG_SCROLL_EDGE
+LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN
+*/
+static const enum libinput_config_scroll_method scroll_method = LIBINPUT_CONFIG_SCROLL_2FG;
+
+/* You can choose between:
+LIBINPUT_CONFIG_CLICK_METHOD_NONE
+LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS
+LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER
+*/
+static const enum libinput_config_click_method click_method = LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS;
+
+/* You can choose between:
+LIBINPUT_CONFIG_SEND_EVENTS_ENABLED
+LIBINPUT_CONFIG_SEND_EVENTS_DISABLED
+LIBINPUT_CONFIG_SEND_EVENTS_DISABLED_ON_EXTERNAL_MOUSE
+*/
+static const uint32_t send_events_mode = LIBINPUT_CONFIG_SEND_EVENTS_ENABLED;
+
+/* You can choose between:
+LIBINPUT_CONFIG_ACCEL_PROFILE_FLAT
+LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE
+*/
+static const enum libinput_config_accel_profile accel_profile = LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE;
+static const double accel_speed = 0.0;
+/* You can choose between:
+LIBINPUT_CONFIG_TAP_MAP_LRM -- 1/2/3 finger tap maps to left/right/middle
+LIBINPUT_CONFIG_TAP_MAP_LMR -- 1/2/3 finger tap maps to left/middle/right
+*/
+static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TAP_MAP_LRM;
+
+/* If you want to use the windows key for MODKEY, use WLR_MODIFIER_LOGO */
+#define MODKEY WLR_MODIFIER_ALT
+
+#define TAGKEYS(KEY,SKEY,TAG) \
+ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ { MODKEY|WLR_MODIFIER_CTRL, KEY, toggleview, {.ui = 1 << TAG} }, \
+ { MODKEY|WLR_MODIFIER_SHIFT, SKEY, tag, {.ui = 1 << TAG} }, \
+ { MODKEY|WLR_MODIFIER_CTRL|WLR_MODIFIER_SHIFT,SKEY,toggletag, {.ui = 1 << TAG} }
+
+/* helper for spawning shell commands in the pre dwm-5.0 fashion */
+#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
+
+
+/* commands */
+static const char *termcmd[] = { "foot", NULL };
+static const char *menucmd[] = { "wofi", "--show", "run", NULL };
+static const char *volmute[] = { "amixer", "set", "Master", "toggle", NULL };
+static const char *voldown[] = { "amixer", "set", "Master", "10%-", NULL };
+static const char *volup[] = { "amixer", "set", "Master", "10%+", NULL };
+static const char *brightdown[] = { "light", "-U", "10", NULL };
+static const char *brightup[] = { "light", "-A", "10", NULL };
+//static const char *screen[] = { "grim", "-g", "$(slurp)", NULL };
+//static const char *screen[] = SHCMD("grim -g '$(slurp)'");
+
+static const Key keys[] = {
+ /* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
+ /* modifier key function argument */
+ { MODKEY, XKB_KEY_p, spawn, {.v = menucmd} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} },
+ { MODKEY, XKB_KEY_j, focusstack, {.i = +1} },
+ { MODKEY, XKB_KEY_k, focusstack, {.i = -1} },
+ { MODKEY, XKB_KEY_i, incnmaster, {.i = +1} },
+ { MODKEY, XKB_KEY_d, incnmaster, {.i = -1} },
+ { MODKEY, XKB_KEY_h, setmfact, {.f = -0.05} },
+ { MODKEY, XKB_KEY_l, setmfact, {.f = +0.05} },
+ { MODKEY, XKB_KEY_Return, zoom, {0} },
+ { MODKEY, XKB_KEY_Tab, view, {0} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_C, killclient, {0} },
+ { MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} },
+ { MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} },
+ { MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },
+ { MODKEY, XKB_KEY_space, setlayout, {0} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} },
+ { MODKEY, XKB_KEY_e, togglefullscreen, {0} },
+ { MODKEY, XKB_KEY_0, view, {.ui = ~0} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_parenright, tag, {.ui = ~0} },
+ { MODKEY, XKB_KEY_comma, focusmon, {.i = WLR_DIRECTION_LEFT} },
+ { MODKEY, XKB_KEY_period, focusmon, {.i = WLR_DIRECTION_RIGHT} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_less, tagmon, {.i = WLR_DIRECTION_LEFT} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_greater, tagmon, {.i = WLR_DIRECTION_RIGHT} },
+ // custom binds
+ { 0, XKB_KEY_XF86AudioMute, spawn, {.v = volmute} },
+ { 0, XKB_KEY_XF86AudioLowerVolume, spawn, {.v = voldown} },
+ { 0, XKB_KEY_XF86AudioRaiseVolume, spawn, {.v = volup} },
+ { 0, XKB_KEY_XF86MonBrightnessDown, spawn, {.v = brightdown} },
+ { 0, XKB_KEY_XF86MonBrightnessUp, spawn, {.v = brightup} },
+ { 0, XKB_KEY_Print, spawn, SHCMD("slurp | grim -g - - | wl-copy && notify-send 'Copied selection to clipboard!' && wl-paste > $HOME/pics/$(date +'%Y-%m-%d-%H%M%S_grim.png')") },
+ TAGKEYS( XKB_KEY_1, XKB_KEY_exclam, 0),
+ TAGKEYS( XKB_KEY_2, XKB_KEY_at, 1),
+ TAGKEYS( XKB_KEY_3, XKB_KEY_numbersign, 2),
+ TAGKEYS( XKB_KEY_4, XKB_KEY_dollar, 3),
+ TAGKEYS( XKB_KEY_5, XKB_KEY_percent, 4),
+ TAGKEYS( XKB_KEY_6, XKB_KEY_asciicircum, 5),
+ TAGKEYS( XKB_KEY_7, XKB_KEY_ampersand, 6),
+ TAGKEYS( XKB_KEY_8, XKB_KEY_asterisk, 7),
+ TAGKEYS( XKB_KEY_9, XKB_KEY_parenleft, 8),
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Q, quit, {0} },
+
+ /* Ctrl-Alt-Backspace and Ctrl-Alt-Fx used to be handled by X server */
+ { WLR_MODIFIER_CTRL|WLR_MODIFIER_ALT,XKB_KEY_Terminate_Server, quit, {0} },
+#define CHVT(n) { WLR_MODIFIER_CTRL|WLR_MODIFIER_ALT,XKB_KEY_XF86Switch_VT_##n, chvt, {.ui = (n)} }
+ CHVT(1), CHVT(2), CHVT(3), CHVT(4), CHVT(5), CHVT(6),
+ CHVT(7), CHVT(8), CHVT(9), CHVT(10), CHVT(11), CHVT(12),
+};
+
+static const Button buttons[] = {
+ { MODKEY, BTN_LEFT, moveresize, {.ui = CurMove} },
+ { MODKEY, BTN_MIDDLE, togglefloating, {0} },
+ { MODKEY, BTN_RIGHT, moveresize, {.ui = CurResize} },
+};
+
diff --git a/nixpkgs/.config/nixpkgs/flake.lock b/nixpkgs/.config/nixpkgs/flake.lock
new file mode 100644
index 0000000..93e170d
--- /dev/null
+++ b/nixpkgs/.config/nixpkgs/flake.lock
@@ -0,0 +1,81 @@
+{
+ "nodes": {
+ "home-manager": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ],
+ "utils": "utils"
+ },
+ "locked": {
+ "lastModified": 1678019241,
+ "narHash": "sha256-ntj0u3guaIu9dT8aZ3HtnEVhIsibtM7EaG/2VteKaTw=",
+ "owner": "nix-community",
+ "repo": "home-manager",
+ "rev": "e314f6cf211e480ab8fa101a017e593a9bb9f21b",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "home-manager",
+ "type": "github"
+ }
+ },
+ "nixos-hardware": {
+ "locked": {
+ "lastModified": 1678095239,
+ "narHash": "sha256-4F6jovFJcwh6OkMsY94ZrHdrvVqZi1FX5pYv6V9LIQw=",
+ "owner": "NixOS",
+ "repo": "nixos-hardware",
+ "rev": "f6610997b0fc5ea5f9e142c348fca27497efe1c7",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "master",
+ "repo": "nixos-hardware",
+ "type": "github"
+ }
+ },
+ "nixpkgs": {
+ "locked": {
+ "lastModified": 1677932085,
+ "narHash": "sha256-+AB4dYllWig8iO6vAiGGYl0NEgmMgGHpy9gzWJ3322g=",
+ "owner": "nixos",
+ "repo": "nixpkgs",
+ "rev": "3c5319ad3aa51551182ac82ea17ab1c6b0f0df89",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nixos",
+ "ref": "nixos-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "root": {
+ "inputs": {
+ "home-manager": "home-manager",
+ "nixos-hardware": "nixos-hardware",
+ "nixpkgs": "nixpkgs"
+ }
+ },
+ "utils": {
+ "locked": {
+ "lastModified": 1667395993,
+ "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ }
+ },
+ "root": "root",
+ "version": 7
+}
diff --git a/nixpkgs/.config/nixpkgs/flake.nix b/nixpkgs/.config/nixpkgs/flake.nix
new file mode 100644
index 0000000..a3e4588
--- /dev/null
+++ b/nixpkgs/.config/nixpkgs/flake.nix
@@ -0,0 +1,32 @@
+{
+ description = "NixOS configuration";
+
+ inputs = {
+ nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
+ home-manager.url = "github:nix-community/home-manager";
+ home-manager.inputs.nixpkgs.follows = "nixpkgs";
+ nixos-hardware.url = "github:NixOS/nixos-hardware/master";
+ };
+
+ outputs = inputs@{ nixpkgs, home-manager, nixos-hardware, ... }: {
+ nixosConfigurations = {
+ "art-sr" = nixpkgs.lib.nixosSystem {
+ system = "x86_64-linux";
+ modules = [
+ ./configuration.nix
+ nixos-hardware.nixosModules.framework
+ home-manager.nixosModules.home-manager
+ {
+ home-manager.useGlobalPkgs = true;
+ home-manager.useUserPackages = true;
+ home-manager.users.kdam0 = import ./home.nix;
+ #home-manager.users.kdam0 = import /home/kdam0/.config/nixpkgs/home.nix;
+
+ # Optionally, use home-manager.extraSpecialArgs to pass
+ # arguments to home.nix
+ }
+ ];
+ };
+ };
+ };
+}
diff --git a/nixpkgs/.config/nixpkgs/hardware-configuration.nix b/nixpkgs/.config/nixpkgs/hardware-configuration.nix
new file mode 100644
index 0000000..7911403
--- /dev/null
+++ b/nixpkgs/.config/nixpkgs/hardware-configuration.nix
@@ -0,0 +1,42 @@
+# Do not modify this file! It was generated by ‘nixos-generate-config’
+# and may be overwritten by future invocations. Please make changes
+# to /etc/nixos/configuration.nix instead.
+{ config, lib, pkgs, modulesPath, ... }:
+
+{
+ imports =
+ [ (modulesPath + "/installer/scan/not-detected.nix")
+ ];
+
+ boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
+ boot.initrd.kernelModules = [ ];
+ boot.kernelModules = [ "kvm-intel" ];
+ boot.extraModulePackages = [ ];
+
+ fileSystems."/" =
+ { device = "/dev/disk/by-uuid/a6261869-4550-462b-8e55-df2473630da4";
+ fsType = "ext4";
+ };
+
+ fileSystems."/boot" =
+ { device = "/dev/disk/by-uuid/5358-A98A";
+ fsType = "vfat";
+ };
+
+ swapDevices =
+ [ { device = "/dev/disk/by-uuid/3990180a-8508-4d55-9752-c674b21a48d6"; }
+ ];
+
+ # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
+ # (the default) this is the recommended approach. When using systemd-networkd it's
+ # still possible to use this option, but it's recommended to use it in conjunction
+ # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
+ networking.useDHCP = lib.mkDefault true;
+ # networking.interfaces.enp0s20f0u4.useDHCP = lib.mkDefault true;
+
+ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
+ powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
+ hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
+ # high-resolution display
+ hardware.video.hidpi.enable = lib.mkDefault true;
+}
diff --git a/nixpkgs/.config/nixpkgs/home.nix b/nixpkgs/.config/nixpkgs/home.nix
new file mode 100644
index 0000000..52ffdac
--- /dev/null
+++ b/nixpkgs/.config/nixpkgs/home.nix
@@ -0,0 +1,71 @@
+{ config, pkgs, libs, ...}:
+{
+ home.username = "kdam0";
+ home.homeDirectory = "/home/kdam0";
+
+ programs.home-manager.enable = true;
+ programs.zsh.enable = true;
+
+ home.stateVersion = "22.11";
+ home.packages = [
+ # Window environment
+ (pkgs.dwl.override {
+ conf = ./dwl/config.h;
+ })
+ pkgs.somebar
+ pkgs.foot
+ pkgs.wofi
+ pkgs.wl-clipboard
+ pkgs.wf-recorder
+ pkgs.grim
+ pkgs.slurp
+ pkgs.polkit
+ pkgs.light
+ pkgs.wbg
+ # Browsers
+ pkgs.firefox
+ pkgs.brave
+ # File Managers
+ pkgs.ranger
+ pkgs.pcmanfm
+ pkgs.gvfs
+ # Fonts
+ pkgs.nerdfonts
+ pkgs.hack-font
+ # Notifications
+ pkgs.mako
+ pkgs.libnotify
+ # Image viewer
+ pkgs.imv
+ # Pdf Viewer
+ pkgs.zathura
+ # Power stuff
+ pkgs.acpi
+ # Other stuff
+ pkgs.gnumake
+ pkgs.clang
+ pkgs.neofetch
+ pkgs.trash-cli
+ pkgs.nextcloud-client
+ ];
+
+ fonts.fontconfig.enable = true;
+
+ services.gpg-agent = {
+ enable = true;
+ defaultCacheTtl = 1800;
+ enableSshSupport = true;
+ };
+ #systemd.user.timers = {
+ # my-timer = {
+ # Unit = {
+ # Description = "Example description";
+ # Documentation = [ "man:example(1)" "man:example(5)" ];
+ # };
+ #
+ # Timer = {
+ # nCalender = "weekly";
+ # };
+ # };
+ #};
+}
diff --git a/start.sh b/start.sh
new file mode 100755
index 0000000..db88d91
--- /dev/null
+++ b/start.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+# This a sort-of auto-start script.
+# Run this from a tty to start my graphical env.
+
+# don't need it anymore?
+#echo $(id -u)
+#export XDG_RUNTIME_DIR=/tmp/xdg-runtime-$(id -u)
+#mkdir -p $XDG_RUNTIME_DIR
+#echo $XDG_RUNTIME_DIR
+
+export EDITOR=nvim
+
+exec dwl -s 'somebar' &
+#exec sway &
+
+# set blocks on bar
+exec /usr/local/bin/someblocks &
+
+# give wayland session some time to init
+sleep 1
+
+# set bg
+exec ./bg.sh &
+