mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-10 02:02:36 +08:00
xmonad-srid: c+s+b
This commit is contained in:
parent
a241fd9996
commit
a9ceb4daef
2 changed files with 24 additions and 0 deletions
22
features/desktopish/xmonad/xmonad-srid/.vscode/tasks.json
vendored
Normal file
22
features/desktopish/xmonad/xmonad-srid/.vscode/tasks.json
vendored
Normal 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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -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>.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue