diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-03-11 22:16:24 +0530 | 
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-03-11 22:16:24 +0530 | 
| commit | 55542f1ce3f313419ebe6a7fa9a7629898e6ce2e (patch) | |
| tree | aec78781c3f64eed7dce21e1aadb0342fae6bacd /config | |
| parent | b71f27a2179cdfa58492e2696246d3d8e55f9844 (diff) | |
dwm
Diffstat (limited to 'config')
| -rw-r--r-- | config/dwm.nix | 12 | ||||
| -rw-r--r-- | config/rofi/config.rasi | 77 | ||||
| -rw-r--r-- | config/rofi/default.nix | 6 | ||||
| -rw-r--r-- | config/themes.nix | 1 | ||||
| -rw-r--r-- | config/way-displays/cfg.yaml | 28 | ||||
| -rw-r--r-- | config/way-displays/default.nix | 6 | 
6 files changed, 96 insertions, 34 deletions
| diff --git a/config/dwm.nix b/config/dwm.nix new file mode 100644 index 0000000..89a1408 --- /dev/null +++ b/config/dwm.nix @@ -0,0 +1,12 @@ +{ pkgs, home, fetchFromGitHub, ... }: + +{ +  home.packages = with pkgs; [ +    feh +    picom +    wmname +    xss-lock +    xsecurelock +    networkmanagerapplet +  ]; +} diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi new file mode 100644 index 0000000..0233f7b --- /dev/null +++ b/config/rofi/config.rasi @@ -0,0 +1,77 @@ +configuration { +  display-drun: "?"; +  drun-display-format: "{name}"; +  font: "UbuntuMono Nerd Font Medium 10"; +  modi: "run,drun"; +} + +@theme "/dev/null" + +* { +  bg: #131417; +  bg-alt: #1e1f26; + +  fg: #d3d7f2; +  fg-alt: #787c99; + +  background-color: @bg; +   +  border: 0; +  margin: 0; +  padding: 0; +  spacing: 0; +} + +window { +  width: 30%; +} + +element { +  padding: 8 0; +  text-color: @fg-alt; +} + +element selected { +  text-color: @fg; +} + +element-text { +  text-color: inherit; +  vertical-align: 0.5; +} + +element-icon { +  size: 14; +  padding: 0 10 0 0; +} + +entry { +  background-color: @bg-alt; +  padding: 12; +  text-color: @fg; +} + +inputbar { +  children: [prompt, entry]; +} + +listview { +  padding: 8 12; +  background-color: @bg; +  columns: 1; +  lines: 8; +} + +mainbox { +  background-color: @bg; +  children: [inputbar, listview]; +} + +prompt { +  background-color: @bg-alt; +  enabled: true; +  padding: 12 0 0 12; +  text-color: @fg; +} + +/* vim: ft=sass */ diff --git a/config/rofi/default.nix b/config/rofi/default.nix new file mode 100644 index 0000000..e515249 --- /dev/null +++ b/config/rofi/default.nix @@ -0,0 +1,6 @@ +{ pkgs, config, ... }: + +{ +  home.packages = [ pkgs.rofi ]; +  home.file.".config/rofi/config.rasi".source = ./config.rasi; +} diff --git a/config/themes.nix b/config/themes.nix index 4bea0e9..b368a9e 100644 --- a/config/themes.nix +++ b/config/themes.nix @@ -3,6 +3,7 @@  {    home.pointerCursor = {      gtk.enable = true; +    x11.enable = true;      package = pkgs.bibata-cursors;      name = "Bibata-Modern-Classic";      size = 16; diff --git a/config/way-displays/cfg.yaml b/config/way-displays/cfg.yaml deleted file mode 100644 index 74e247b..0000000 --- a/config/way-displays/cfg.yaml +++ /dev/null @@ -1,28 +0,0 @@ -# Arrange displays in a ROW (default, left to right) or a COLUMN (top to bottom) -ARRANGE: COLUMN - -# Align ROWs at the TOP (default), MIDDLE or BOTTOM -# Align COLUMNs at the LEFT (default), MIDDLE or RIGHT -ALIGN: MIDDLE - -# The default ORDER is simply the order in which the displays are discovered. -# Define your own. -ORDER: -  - 'HDMI-A-1' -  - 'eDP-1' - -SCALING: FALSE - -MODE: -    - NAME_DESC: HDMI-A-1 -      MAX: TRUE - -    - NAME_DESC: eDP-1 -      MAX: TRUE - -# Laptop displays usually start with eDP e.g. eDP-1. This may be overridden if -# your laptop is different. -LAPTOP_DISPLAY_PREFIX: 'eDP-1' - -# One of: ERROR, WARNING, INFO (default), DEBUG -LOG_THRESHOLD: INFO diff --git a/config/way-displays/default.nix b/config/way-displays/default.nix deleted file mode 100644 index b57f601..0000000 --- a/config/way-displays/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ pkgs, config, ... }: - -{ -  home.packages = [ pkgs.way-displays ]; -  home.file.".config/way-displays/cfg.yaml".source = ./cfg.yaml; -} | 
