home: random configuration changes across apps
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -18,6 +18,7 @@ input {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    repeat_delay = 300
 | 
			
		||||
    accel_profile = flat
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
general {
 | 
			
		||||
@@ -69,6 +70,9 @@ gestures {
 | 
			
		||||
    workspace_swipe = off
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
misc {
 | 
			
		||||
    no_direct_scanout = true
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
windowrule=float, ^.*(iwgtk)$
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -9,6 +9,7 @@ pid_file                        "~/.config/mpd/pid"
 | 
			
		||||
bind_to_address                 "0.0.0.0"
 | 
			
		||||
bind_to_address                 "~/.config/mpd/socket"
 | 
			
		||||
restore_paused "yes"
 | 
			
		||||
 | 
			
		||||
input {
 | 
			
		||||
        plugin "curl"
 | 
			
		||||
}
 | 
			
		||||
@@ -19,7 +20,7 @@ audio_output {
 | 
			
		||||
audio_output {
 | 
			
		||||
        type "fifo"
 | 
			
		||||
        name "Visualizer feed"
 | 
			
		||||
        path "/tmp/g.fifo"
 | 
			
		||||
        path "/tmp/mpd.fifo"
 | 
			
		||||
        format "44100:16:2"
 | 
			
		||||
}
 | 
			
		||||
audio_output {
 | 
			
		||||
 
 | 
			
		||||
@@ -19,17 +19,18 @@ mpd_music_dir=/home/natto/Music
 | 
			
		||||
now_playing_prefix=> 
 | 
			
		||||
playlist_display_mode=columns
 | 
			
		||||
playlist_editor_display_mode=classic
 | 
			
		||||
progressbar_elapsed_color=magenta
 | 
			
		||||
progressbar_color=green
 | 
			
		||||
progressbar_look=▃▃▃
 | 
			
		||||
regular_expressions=extended
 | 
			
		||||
song_columns_list_format=(4)[red]{l} (20)[cyan]{t} (25)[green]{a} (25)[magenta]{b}
 | 
			
		||||
song_columns_list_format=(4)[red]{l} (40)[cyan]{t} (15)[green]{a} (25)[magenta]{b}
 | 
			
		||||
song_list_format=$(yellow){%a} - $(blue){%t}
 | 
			
		||||
song_status_format= $6%a $7⟫⟫ $3%t $7⟫⟫ $4%b 
 | 
			
		||||
statusbar_visibility=yes
 | 
			
		||||
system_encoding=utf-8
 | 
			
		||||
titles_visibility=yes
 | 
			
		||||
user_interface=alternative
 | 
			
		||||
visualizer_data_source=/tmp/g.fifo
 | 
			
		||||
visualizer_data_source=/tmp/mpd.fifo
 | 
			
		||||
visualizer_fps=144
 | 
			
		||||
visualizer_in_stereo=yes
 | 
			
		||||
visualizer_look=◆▋
 | 
			
		||||
 
 | 
			
		||||
@@ -10,15 +10,15 @@ bind attach,index,pager e previous-entry
 | 
			
		||||
bind attach,index,pager 9 group-reply
 | 
			
		||||
bind pager g top
 | 
			
		||||
bind pager G bottom
 | 
			
		||||
bind pager n next-line
 | 
			
		||||
bind pager e previous-line
 | 
			
		||||
bind pager i view-attachments
 | 
			
		||||
bind pager j next-line
 | 
			
		||||
bind pager k previous-line
 | 
			
		||||
bind pager l view-attachments
 | 
			
		||||
bind attach,index g first-entry
 | 
			
		||||
bind attach,index G last-entry
 | 
			
		||||
bind index,pager \CE sidebar-prev                 
 | 
			
		||||
bind index,pager \CN sidebar-next                 
 | 
			
		||||
bind index,pager \CI sidebar-open                 
 | 
			
		||||
bind index,pager \CB sidebar-toggle-visible       
 | 
			
		||||
bind index,pager \CK sidebar-prev
 | 
			
		||||
bind index,pager \CJ sidebar-next
 | 
			
		||||
bind index,pager \CI sidebar-open
 | 
			
		||||
bind index,pager \CB sidebar-toggle-visible
 | 
			
		||||
set sleep_time = 0		
 | 
			
		||||
set markers = no		
 | 
			
		||||
set mark_old = no		
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
    ./email.nix
 | 
			
		||||
    ./programs.nix
 | 
			
		||||
    ./eww
 | 
			
		||||
    # ./xsession.nix :(
 | 
			
		||||
    # ./xsession.nix
 | 
			
		||||
    ./wayland.nix
 | 
			
		||||
    ./pkgs.nix
 | 
			
		||||
    ./stuff.nix
 | 
			
		||||
@@ -18,7 +18,7 @@
 | 
			
		||||
    ./gtk.nix
 | 
			
		||||
    ./dunst.nix
 | 
			
		||||
    ./git.nix
 | 
			
		||||
    ./mpd.nix
 | 
			
		||||
    ./music.nix
 | 
			
		||||
    ./zsh.nix
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -3,23 +3,13 @@ let
 | 
			
		||||
  mymacs = config: # with inputs.emacs-overlay.packages.${pkgs.system}; already resolved with overlay
 | 
			
		||||
    with pkgs; emacsWithPackagesFromUsePackage {
 | 
			
		||||
      inherit config;
 | 
			
		||||
      package = emacsPgtkGcc;
 | 
			
		||||
      package = emacsPgtk;
 | 
			
		||||
      alwaysEnsure = true;
 | 
			
		||||
      alwaysTangle = true;
 | 
			
		||||
      extraEmacsPackages = epkgs: with epkgs; [
 | 
			
		||||
        use-package
 | 
			
		||||
        (epkgs.tree-sitter-langs.withPlugins (_: epkgs.tree-sitter-langs.plugins))
 | 
			
		||||
      ];
 | 
			
		||||
      override = epkgs: epkgs // {
 | 
			
		||||
        catppuccin-theme = epkgs.melpaPackages.catppuccin-theme.overrideAttrs (_: {
 | 
			
		||||
          src = pkgs.fetchFromGitHub {
 | 
			
		||||
            owner = "natto1784";
 | 
			
		||||
            repo = "catppuccin-emacs";
 | 
			
		||||
            rev = "company";
 | 
			
		||||
            sha256 = "sha256-wI+RiOeRrvV5eXXVs6hBb3x9BMD9HgHmsjom7kzAFJg=";
 | 
			
		||||
          };
 | 
			
		||||
        });
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
in
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
# active workspace
 | 
			
		||||
current=1
 | 
			
		||||
list_workspaces() {
 | 
			
		||||
    workspace_list=$(hyprctl -j workspaces | jq -rc '[.[]|.id]|sort')
 | 
			
		||||
    workspace_list=$(hyprctl -j workspaces | jq -rc '[.[]|.id]|sort' || "[]")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
workspaces() {
 | 
			
		||||
@@ -18,7 +18,7 @@ workspaces() {
 | 
			
		||||
 | 
			
		||||
list_workspaces
 | 
			
		||||
workspaces
 | 
			
		||||
hyprctl dispatch workspace $current || true
 | 
			
		||||
hyprctl dispatch workspace $current &>/dev/null || true
 | 
			
		||||
 | 
			
		||||
socat -u UNIX-CONNECT:/tmp/hypr/"$HYPRLAND_INSTANCE_SIGNATURE"/.socket2.sock - | while read -r event; do
 | 
			
		||||
  case ${event%>>*} in
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
(deflisten workspace "bar/hyprworkspaces")
 | 
			
		||||
(deflisten workspace :initial "{}" "bar/hyprworkspaces")
 | 
			
		||||
(defvar numerals "[\"१\", \"२\", \"३\", \"४\", \"५\", \"६\", \"७\", \"८\", \"९\", \"०\"]")
 | 
			
		||||
 | 
			
		||||
(defwidget workspaces []
 | 
			
		||||
 
 | 
			
		||||
@@ -89,7 +89,6 @@
 | 
			
		||||
             (button
 | 
			
		||||
              :visible {system_net_wifi != ""}
 | 
			
		||||
              :tooltip {system_net_wifi}
 | 
			
		||||
              :onclick "iwgtk &"
 | 
			
		||||
              ""))))
 | 
			
		||||
 | 
			
		||||
(defwidget system_info []
 | 
			
		||||
 
 | 
			
		||||
@@ -23,7 +23,7 @@ in
 | 
			
		||||
        id = 1039532008424099850; # dont really care
 | 
			
		||||
        format = {
 | 
			
		||||
          large_image = "koishi";
 | 
			
		||||
          small_image = "";
 | 
			
		||||
          small_image = "koishifumo";
 | 
			
		||||
          large_text = "real";
 | 
			
		||||
          small_text = "the";
 | 
			
		||||
        };
 | 
			
		||||
@@ -74,6 +74,9 @@ in
 | 
			
		||||
      })
 | 
			
		||||
      mpc_cli
 | 
			
		||||
      playerctl
 | 
			
		||||
      (tauon.override {
 | 
			
		||||
        withDiscordRPC = true;
 | 
			
		||||
      })
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
    file.ncmpcpp = {
 | 
			
		||||
 
 | 
			
		||||
@@ -47,18 +47,17 @@
 | 
			
		||||
    dunst
 | 
			
		||||
    authy
 | 
			
		||||
    gnome.zenity
 | 
			
		||||
    iwgtk
 | 
			
		||||
 | 
			
		||||
    # Wine and games and stuff
 | 
			
		||||
    wineWowPackages.stable
 | 
			
		||||
    steam
 | 
			
		||||
    winetricks
 | 
			
		||||
    lutris
 | 
			
		||||
    flake.packages.${pkgs.system}.tlauncher
 | 
			
		||||
    mangohud
 | 
			
		||||
    inputs.nix-gaming.packages.${pkgs.system}.osu-stable
 | 
			
		||||
    inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
 | 
			
		||||
 | 
			
		||||
    # Programming and dev stuff
 | 
			
		||||
    rust-analyzer
 | 
			
		||||
    (texlive.combine {
 | 
			
		||||
      inherit (texlive)
 | 
			
		||||
        scheme-small
 | 
			
		||||
 
 | 
			
		||||
@@ -33,10 +33,8 @@
 | 
			
		||||
  };
 | 
			
		||||
  i18n = {
 | 
			
		||||
    inputMethod = {
 | 
			
		||||
      #   enabled = "fcitx5";
 | 
			
		||||
      #  fcitx5.addons = with pkgs; [ fcitx5-m17n fcitx5-mozc ];
 | 
			
		||||
      enabled = "fcitx";
 | 
			
		||||
      fcitx.engines = with pkgs.fcitx-engines; [ m17n mozc ];
 | 
			
		||||
      enabled = "fcitx5";
 | 
			
		||||
      fcitx5.addons = with pkgs; [ fcitx5-m17n fcitx5-mozc ];
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -49,7 +49,6 @@
 | 
			
		||||
 | 
			
		||||
  home.packages = with pkgs; [
 | 
			
		||||
    tofi
 | 
			
		||||
    wineWowPackages.waylandFull
 | 
			
		||||
    imv
 | 
			
		||||
    grim
 | 
			
		||||
    slurp
 | 
			
		||||
 
 | 
			
		||||
@@ -31,7 +31,6 @@
 | 
			
		||||
    flameshot
 | 
			
		||||
    xmobar
 | 
			
		||||
    stalonetray
 | 
			
		||||
    wineWowPackages.stable
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  home.file.stalonetray = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user