xmonad-srid: c+s+b

This commit is contained in:
Sridhar Ratnakumar 2021-07-01 13:37:29 -04:00
parent a241fd9996
commit a9ceb4daef
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build System & Restart Xmonad",
"type": "shell",
// TODO: Run in tmux (for those cases which kills X server)
"command": "bash",
"args": [
"-c",
"cd /etc/nixos && sudo nixos-rebuild switch && xmonad --restart"
],
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}

View file

@ -9,3 +9,5 @@ Once the new `xmonad` binary is in $PATH (as a result of running `nixos-rebuild`
```
xmonad --restart
```
In VSCode, just press <kbd>Ctrl+Shift+B</kbd>.