Emacs and inputs updated
- Added org-roam in Emacs - Flake inputs updated - Other little modifications
This commit is contained in:
parent
3f39ace857
commit
317e50ef9f
13 changed files with 167 additions and 119 deletions
|
@ -6,47 +6,71 @@
|
|||
let
|
||||
modifier = "Mod4";
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
config = {
|
||||
modifier = modifier;
|
||||
menu = "${pkgs.bemenu}/bin/bemenu-run -b -m 1 -p 'λ'";
|
||||
output = {
|
||||
HDMI-A-2 = {
|
||||
#bg = "~/dotfiles/dotfiles/xorg/wallpaper.jpg fill";
|
||||
};
|
||||
};
|
||||
#fonts = [ "Font Awesome" "Fira Code" ];
|
||||
terminal = "${pkgs.foot}/bin/footclient";
|
||||
bars = [
|
||||
{
|
||||
command = "${pkgs.waybar}/bin/waybar";
|
||||
}
|
||||
];
|
||||
startup = [
|
||||
{
|
||||
command = "foot --server";
|
||||
always = true;
|
||||
}
|
||||
];
|
||||
window.commands = [
|
||||
{ criteria = { app_id = "mpv"; }; command = "sticky enable"; }
|
||||
{ criteria = { app_id = "mpv"; }; command = "floating enable"; }
|
||||
{ criteria = { title = "MetaMask Notification.*"; }; command = "floating enable"; }
|
||||
];
|
||||
input = {
|
||||
"*" = {
|
||||
xkb_layout = "us";
|
||||
xkb_variant = "intl";
|
||||
{
|
||||
enable = true;
|
||||
wrapperFeatures.gtk = true;
|
||||
config = {
|
||||
modifier = modifier;
|
||||
menu = "${pkgs.bemenu}/bin/bemenu-run -b -m 1 -p 'λ'";
|
||||
output = {
|
||||
HDMI-A-2 = {
|
||||
#bg = "~/dotfiles/dotfiles/xorg/wallpaper.jpg fill";
|
||||
};
|
||||
};
|
||||
#fonts = [ "Font Awesome" "Fira Code" ];
|
||||
terminal = "${pkgs.foot}/bin/footclient";
|
||||
bars = [
|
||||
{
|
||||
command = "${pkgs.waybar}/bin/waybar";
|
||||
}
|
||||
];
|
||||
|
||||
startup = let
|
||||
gsettings = "${pkgs.glib}/bin/gsettings";
|
||||
gsettingsscript = pkgs.writeShellScript "gsettings-auto.sh" ''
|
||||
expression=""
|
||||
for pair in "$@"; do
|
||||
IFS=:; set -- $pair
|
||||
expressions="$expressions -e 's:^$2=(.*)$:${gsettings} set org.gnome.desktop.interface $1 \1:e'"
|
||||
done
|
||||
IFS=
|
||||
echo "" >/tmp/gsettings.log
|
||||
echo exec sed -E $expressions "''${XDG_CONFIG_HOME:-$HOME/.config}"/gtk-3.0/settings.ini &>>/tmp/gsettings.log
|
||||
eval exec sed -E $expressions "''${XDG_CONFIG_HOME:-$HOME/.config}"/gtk-3.0/settings.ini &>>/tmp/gsettings.log
|
||||
'';
|
||||
gsettingscmd = ''${gsettingsscript} \
|
||||
gtk-theme:gtk-theme-name \
|
||||
icon-theme:gtk-icon-theme-name \
|
||||
font-name:gtk-font-name \
|
||||
cursor-theme:gtk-cursor-theme-name'';
|
||||
in
|
||||
[
|
||||
{
|
||||
command = "foot --server";
|
||||
always = true;
|
||||
}
|
||||
|
||||
#{ always = true; command = "${gsettingscmd}"; }
|
||||
];
|
||||
window.commands = [
|
||||
{ criteria = { app_id = "mpv"; }; command = "sticky enable"; }
|
||||
{ criteria = { app_id = "mpv"; }; command = "floating enable"; }
|
||||
{ criteria = { title = "MetaMask Notification.*"; }; command = "floating enable"; }
|
||||
];
|
||||
input = {
|
||||
"*" = {
|
||||
xkb_layout = "us";
|
||||
xkb_variant = "intl";
|
||||
};
|
||||
};
|
||||
};
|
||||
extraConfig = ''
|
||||
bindsym ${modifier}+p move workspace to output right
|
||||
#seat seat0 xcursor_theme "Adwaita"
|
||||
'';
|
||||
xwayland = true;
|
||||
systemdIntegration = true;
|
||||
};
|
||||
extraConfig = ''
|
||||
bindsym ${modifier}+p move workspace to output right
|
||||
'';
|
||||
xwayland = true;
|
||||
systemdIntegration = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.waybar = {
|
||||
|
@ -62,7 +86,7 @@
|
|||
"sway/mode"
|
||||
"sway/workspaces"
|
||||
];
|
||||
modules-center = [ ];
|
||||
modules-center = [];
|
||||
modules-right = [
|
||||
"idle_inhibitor"
|
||||
"tray"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue