mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-07-01 06:25:59 +00:00
~
Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
parent
f2e479415c
commit
146a2de0ec
8 changed files with 40 additions and 6 deletions
|
@ -95,6 +95,10 @@ lc.clangd.setup {
|
|||
capabilities = caps,
|
||||
cmd = { "clangd" }
|
||||
}
|
||||
lc.jsonls.setup {
|
||||
capabilities = caps,
|
||||
cmd = { "vscode-json-languageserver", "--stdio" }
|
||||
}
|
||||
lc.lua_ls.setup { capabilities = caps }
|
||||
lc.mesonlsp.setup { capabilities = caps }
|
||||
lc.nil_ls.setup {
|
||||
|
|
|
@ -4,7 +4,8 @@ log=$(mktemp /tmp/wmas-openbox-XXXXXXXX.txt)
|
|||
echo "Openbox autostart file" > $log
|
||||
echo -e "Executed @ $(date)\n" >> $log
|
||||
|
||||
hsetroot -cover ~/.dotfiles/assets/wallpapers/current >> $log 2>&1
|
||||
#hsetroot -cover ~/.dotfiles/assets/wallpapers/current >> $log 2>&1
|
||||
hsetroot -cover %WALLPAPER% >> $log 2>&1
|
||||
xcompmgr >> $log 2>&1 &
|
||||
soteria >> $log 2>&1 &
|
||||
|
||||
|
@ -15,3 +16,4 @@ sleep 1
|
|||
yambar >> $log 2>&1 &
|
||||
sleep 1
|
||||
kill $temp
|
||||
|
||||
|
|
|
@ -214,12 +214,12 @@
|
|||
<mousebind button="A-Right" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Press">
|
||||
<!--<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
</mousebind>-->
|
||||
</context>
|
||||
|
||||
<context name="Titlebar">
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
FirefoxHome = {
|
||||
SponsoredTopSites = false;
|
||||
Highlights = false;
|
||||
Pocket = false;
|
||||
Pocket = false; # rip bozo
|
||||
SponsoredPocket = false;
|
||||
};
|
||||
FirefoxSuggest = {
|
||||
|
@ -61,6 +61,7 @@
|
|||
"browser.startup.page" = 3;
|
||||
"browser.tabs.closeWindowWithLastTab" = false;
|
||||
"browser.tabs.insertAfterCurrent" = true;
|
||||
"devtools.editor.tabsize" = 4;
|
||||
"datareporting.healthreport.uploadEnabled" = false;
|
||||
"extensions.pocket.enabled" = false;
|
||||
"extensions.pocket.showHome" = false;
|
||||
|
@ -149,6 +150,11 @@
|
|||
];
|
||||
}];
|
||||
};
|
||||
"ArchWiki" = {
|
||||
urls = [{
|
||||
template = "https://wiki.archlinux.org/index.php?title=Special:Search&search={searchTerms}";
|
||||
}];
|
||||
};
|
||||
|
||||
"Bing".metaData.hidden = true;
|
||||
"Google".metaData.hidden = true;
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
# };
|
||||
|
||||
networking = {
|
||||
firewall.allowedTCPPorts = [ 80 443 8080 19132 25565 ];
|
||||
firewall.allowedTCPPorts = [ 80 443 5900 8080 19132 25565 ];
|
||||
hosts = {
|
||||
"10.0.0.2" = [ "near" "near.local" ];
|
||||
};
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
python313 # High-level dynamically-typed programming language
|
||||
vala # Compiler for GObject type system
|
||||
## language servers
|
||||
nodePackages.vscode-json-languageserver # JSON
|
||||
lua-language-server # Lua
|
||||
mesonlsp # Meson
|
||||
nil # Nix
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
{ pkgs, lib, config, ... }: let
|
||||
cfg = config.r5e.system;
|
||||
in with lib; {
|
||||
imports = [ ./home.nix ];
|
||||
|
||||
options.r5e.system = {
|
||||
graphics = {
|
||||
display.x11 = {
|
||||
enable = mkEnableOption "X11";
|
||||
windowManagers = mkOption {
|
||||
type = types.listOf types.str;
|
||||
type = types.listOf types.str;
|
||||
default = [ "twm" ];
|
||||
};
|
||||
displayManager = {
|
||||
|
|
19
nixos/modules/system/home.nix
Normal file
19
nixos/modules/system/home.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
# TODO unimplemented
|
||||
{ pkgs, config, lib, ... }: let
|
||||
cfg = config.r5e.home;
|
||||
in with lib; {
|
||||
options.r5e.home = mkOption {
|
||||
type = types.attrsOf {
|
||||
wallpaper = mkOption {
|
||||
type = types.str;
|
||||
default = /home/rae/.dotfiles/assets/wallpapers/current;
|
||||
};
|
||||
};
|
||||
default = {};
|
||||
};
|
||||
|
||||
config = {
|
||||
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue