home: random configuration changes across apps

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-04-27 14:58:59 +05:30
parent 04dc801925
commit 0e4ac5dfe5
14 changed files with 30 additions and 37 deletions

View File

@@ -18,6 +18,7 @@ input {
} }
repeat_delay = 300 repeat_delay = 300
accel_profile = flat
} }
general { general {
@@ -69,6 +70,9 @@ gestures {
workspace_swipe = off workspace_swipe = off
} }
misc {
no_direct_scanout = true
}
windowrule=float, ^.*(iwgtk)$ windowrule=float, ^.*(iwgtk)$

View File

@@ -9,6 +9,7 @@ pid_file "~/.config/mpd/pid"
bind_to_address "0.0.0.0" bind_to_address "0.0.0.0"
bind_to_address "~/.config/mpd/socket" bind_to_address "~/.config/mpd/socket"
restore_paused "yes" restore_paused "yes"
input { input {
plugin "curl" plugin "curl"
} }
@@ -19,7 +20,7 @@ audio_output {
audio_output { audio_output {
type "fifo" type "fifo"
name "Visualizer feed" name "Visualizer feed"
path "/tmp/g.fifo" path "/tmp/mpd.fifo"
format "44100:16:2" format "44100:16:2"
} }
audio_output { audio_output {

View File

@@ -19,17 +19,18 @@ mpd_music_dir=/home/natto/Music
now_playing_prefix=> now_playing_prefix=>
playlist_display_mode=columns playlist_display_mode=columns
playlist_editor_display_mode=classic playlist_editor_display_mode=classic
progressbar_elapsed_color=magenta
progressbar_color=green progressbar_color=green
progressbar_look=▃▃▃ progressbar_look=▃▃▃
regular_expressions=extended 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_list_format=$(yellow){%a} - $(blue){%t}
song_status_format= $6%a $7⟫⟫ $3%t $7⟫⟫ $4%b song_status_format= $6%a $7⟫⟫ $3%t $7⟫⟫ $4%b
statusbar_visibility=yes statusbar_visibility=yes
system_encoding=utf-8 system_encoding=utf-8
titles_visibility=yes titles_visibility=yes
user_interface=alternative user_interface=alternative
visualizer_data_source=/tmp/g.fifo visualizer_data_source=/tmp/mpd.fifo
visualizer_fps=144 visualizer_fps=144
visualizer_in_stereo=yes visualizer_in_stereo=yes
visualizer_look=◆▋ visualizer_look=◆▋

View File

@@ -10,13 +10,13 @@ bind attach,index,pager e previous-entry
bind attach,index,pager 9 group-reply bind attach,index,pager 9 group-reply
bind pager g top bind pager g top
bind pager G bottom bind pager G bottom
bind pager n next-line bind pager j next-line
bind pager e previous-line bind pager k previous-line
bind pager i view-attachments bind pager l view-attachments
bind attach,index g first-entry bind attach,index g first-entry
bind attach,index G last-entry bind attach,index G last-entry
bind index,pager \CE sidebar-prev bind index,pager \CK sidebar-prev
bind index,pager \CN sidebar-next bind index,pager \CJ sidebar-next
bind index,pager \CI sidebar-open bind index,pager \CI sidebar-open
bind index,pager \CB sidebar-toggle-visible bind index,pager \CB sidebar-toggle-visible
set sleep_time = 0 set sleep_time = 0

View File

@@ -10,7 +10,7 @@
./email.nix ./email.nix
./programs.nix ./programs.nix
./eww ./eww
# ./xsession.nix :( # ./xsession.nix
./wayland.nix ./wayland.nix
./pkgs.nix ./pkgs.nix
./stuff.nix ./stuff.nix
@@ -18,7 +18,7 @@
./gtk.nix ./gtk.nix
./dunst.nix ./dunst.nix
./git.nix ./git.nix
./mpd.nix ./music.nix
./zsh.nix ./zsh.nix
]; ];
} }

View File

@@ -3,23 +3,13 @@ let
mymacs = config: # with inputs.emacs-overlay.packages.${pkgs.system}; already resolved with overlay mymacs = config: # with inputs.emacs-overlay.packages.${pkgs.system}; already resolved with overlay
with pkgs; emacsWithPackagesFromUsePackage { with pkgs; emacsWithPackagesFromUsePackage {
inherit config; inherit config;
package = emacsPgtkGcc; package = emacsPgtk;
alwaysEnsure = true; alwaysEnsure = true;
alwaysTangle = true; alwaysTangle = true;
extraEmacsPackages = epkgs: with epkgs; [ extraEmacsPackages = epkgs: with epkgs; [
use-package use-package
(epkgs.tree-sitter-langs.withPlugins (_: epkgs.tree-sitter-langs.plugins)) (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 in
{ {

View File

@@ -9,7 +9,7 @@
# active workspace # active workspace
current=1 current=1
list_workspaces() { list_workspaces() {
workspace_list=$(hyprctl -j workspaces | jq -rc '[.[]|.id]|sort') workspace_list=$(hyprctl -j workspaces | jq -rc '[.[]|.id]|sort' || "[]")
} }
workspaces() { workspaces() {
@@ -18,7 +18,7 @@ workspaces() {
list_workspaces list_workspaces
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 socat -u UNIX-CONNECT:/tmp/hypr/"$HYPRLAND_INSTANCE_SIGNATURE"/.socket2.sock - | while read -r event; do
case ${event%>>*} in case ${event%>>*} in

View File

@@ -1,4 +1,4 @@
(deflisten workspace "bar/hyprworkspaces") (deflisten workspace :initial "{}" "bar/hyprworkspaces")
(defvar numerals "[\"१\", \"२\", \"३\", \"४\", \"५\", \"६\", \"७\", \"८\", \"९\", \"\"]") (defvar numerals "[\"१\", \"२\", \"३\", \"४\", \"५\", \"६\", \"७\", \"८\", \"९\", \"\"]")
(defwidget workspaces [] (defwidget workspaces []

View File

@@ -89,7 +89,6 @@
(button (button
:visible {system_net_wifi != ""} :visible {system_net_wifi != ""}
:tooltip {system_net_wifi} :tooltip {system_net_wifi}
:onclick "iwgtk &"
"")))) ""))))
(defwidget system_info [] (defwidget system_info []

View File

@@ -23,7 +23,7 @@ in
id = 1039532008424099850; # dont really care id = 1039532008424099850; # dont really care
format = { format = {
large_image = "koishi"; large_image = "koishi";
small_image = ""; small_image = "koishifumo";
large_text = "real"; large_text = "real";
small_text = "the"; small_text = "the";
}; };
@@ -74,6 +74,9 @@ in
}) })
mpc_cli mpc_cli
playerctl playerctl
(tauon.override {
withDiscordRPC = true;
})
]; ];
file.ncmpcpp = { file.ncmpcpp = {

View File

@@ -47,18 +47,17 @@
dunst dunst
authy authy
gnome.zenity gnome.zenity
iwgtk
# Wine and games and stuff # Wine and games and stuff
wineWowPackages.stable
steam steam
winetricks winetricks
lutris lutris
flake.packages.${pkgs.system}.tlauncher flake.packages.${pkgs.system}.tlauncher
mangohud mangohud
inputs.nix-gaming.packages.${pkgs.system}.osu-stable inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
# Programming and dev stuff # Programming and dev stuff
rust-analyzer
(texlive.combine { (texlive.combine {
inherit (texlive) inherit (texlive)
scheme-small scheme-small

View File

@@ -33,10 +33,8 @@
}; };
i18n = { i18n = {
inputMethod = { inputMethod = {
# enabled = "fcitx5"; enabled = "fcitx5";
# fcitx5.addons = with pkgs; [ fcitx5-m17n fcitx5-mozc ]; fcitx5.addons = with pkgs; [ fcitx5-m17n fcitx5-mozc ];
enabled = "fcitx";
fcitx.engines = with pkgs.fcitx-engines; [ m17n mozc ];
}; };
}; };
} }

View File

@@ -49,7 +49,6 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
tofi tofi
wineWowPackages.waylandFull
imv imv
grim grim
slurp slurp

View File

@@ -31,7 +31,6 @@
flameshot flameshot
xmobar xmobar
stalonetray stalonetray
wineWowPackages.stable
]; ];
home.file.stalonetray = { home.file.stalonetray = {