mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-07-01 14:26:00 +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,
|
capabilities = caps,
|
||||||
cmd = { "clangd" }
|
cmd = { "clangd" }
|
||||||
}
|
}
|
||||||
|
lc.jsonls.setup {
|
||||||
|
capabilities = caps,
|
||||||
|
cmd = { "vscode-json-languageserver", "--stdio" }
|
||||||
|
}
|
||||||
lc.lua_ls.setup { capabilities = caps }
|
lc.lua_ls.setup { capabilities = caps }
|
||||||
lc.mesonlsp.setup { capabilities = caps }
|
lc.mesonlsp.setup { capabilities = caps }
|
||||||
lc.nil_ls.setup {
|
lc.nil_ls.setup {
|
||||||
|
|
|
@ -4,7 +4,8 @@ log=$(mktemp /tmp/wmas-openbox-XXXXXXXX.txt)
|
||||||
echo "Openbox autostart file" > $log
|
echo "Openbox autostart file" > $log
|
||||||
echo -e "Executed @ $(date)\n" >> $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 &
|
xcompmgr >> $log 2>&1 &
|
||||||
soteria >> $log 2>&1 &
|
soteria >> $log 2>&1 &
|
||||||
|
|
||||||
|
@ -15,3 +16,4 @@ sleep 1
|
||||||
yambar >> $log 2>&1 &
|
yambar >> $log 2>&1 &
|
||||||
sleep 1
|
sleep 1
|
||||||
kill $temp
|
kill $temp
|
||||||
|
|
||||||
|
|
|
@ -214,12 +214,12 @@
|
||||||
<mousebind button="A-Right" action="Drag">
|
<mousebind button="A-Right" action="Drag">
|
||||||
<action name="Resize"/>
|
<action name="Resize"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="Left" action="Press">
|
<!--<mousebind button="Left" action="Press">
|
||||||
<action name="Focus"/>
|
<action name="Focus"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
<mousebind button="Left" action="Click">
|
<mousebind button="Left" action="Click">
|
||||||
<action name="Raise"/>
|
<action name="Raise"/>
|
||||||
</mousebind>
|
</mousebind>-->
|
||||||
</context>
|
</context>
|
||||||
|
|
||||||
<context name="Titlebar">
|
<context name="Titlebar">
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
FirefoxHome = {
|
FirefoxHome = {
|
||||||
SponsoredTopSites = false;
|
SponsoredTopSites = false;
|
||||||
Highlights = false;
|
Highlights = false;
|
||||||
Pocket = false;
|
Pocket = false; # rip bozo
|
||||||
SponsoredPocket = false;
|
SponsoredPocket = false;
|
||||||
};
|
};
|
||||||
FirefoxSuggest = {
|
FirefoxSuggest = {
|
||||||
|
@ -61,6 +61,7 @@
|
||||||
"browser.startup.page" = 3;
|
"browser.startup.page" = 3;
|
||||||
"browser.tabs.closeWindowWithLastTab" = false;
|
"browser.tabs.closeWindowWithLastTab" = false;
|
||||||
"browser.tabs.insertAfterCurrent" = true;
|
"browser.tabs.insertAfterCurrent" = true;
|
||||||
|
"devtools.editor.tabsize" = 4;
|
||||||
"datareporting.healthreport.uploadEnabled" = false;
|
"datareporting.healthreport.uploadEnabled" = false;
|
||||||
"extensions.pocket.enabled" = false;
|
"extensions.pocket.enabled" = false;
|
||||||
"extensions.pocket.showHome" = 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;
|
"Bing".metaData.hidden = true;
|
||||||
"Google".metaData.hidden = true;
|
"Google".metaData.hidden = true;
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
# };
|
# };
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall.allowedTCPPorts = [ 80 443 8080 19132 25565 ];
|
firewall.allowedTCPPorts = [ 80 443 5900 8080 19132 25565 ];
|
||||||
hosts = {
|
hosts = {
|
||||||
"10.0.0.2" = [ "near" "near.local" ];
|
"10.0.0.2" = [ "near" "near.local" ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
python313 # High-level dynamically-typed programming language
|
python313 # High-level dynamically-typed programming language
|
||||||
vala # Compiler for GObject type system
|
vala # Compiler for GObject type system
|
||||||
## language servers
|
## language servers
|
||||||
|
nodePackages.vscode-json-languageserver # JSON
|
||||||
lua-language-server # Lua
|
lua-language-server # Lua
|
||||||
mesonlsp # Meson
|
mesonlsp # Meson
|
||||||
nil # Nix
|
nil # Nix
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
{ pkgs, lib, config, ... }: let
|
{ pkgs, lib, config, ... }: let
|
||||||
cfg = config.r5e.system;
|
cfg = config.r5e.system;
|
||||||
in with lib; {
|
in with lib; {
|
||||||
|
imports = [ ./home.nix ];
|
||||||
|
|
||||||
options.r5e.system = {
|
options.r5e.system = {
|
||||||
graphics = {
|
graphics = {
|
||||||
display.x11 = {
|
display.x11 = {
|
||||||
enable = mkEnableOption "X11";
|
enable = mkEnableOption "X11";
|
||||||
windowManagers = mkOption {
|
windowManagers = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
default = [ "twm" ];
|
default = [ "twm" ];
|
||||||
};
|
};
|
||||||
displayManager = {
|
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