Change swaync menu
This commit is contained in:
parent
7418484820
commit
3fc6414afa
|
@ -58,39 +58,31 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"menu#screenshot": {
|
"menu#screenshotnrecord": {
|
||||||
"label": " ",
|
"label": " ",
|
||||||
"position": "left",
|
"position": "left",
|
||||||
"actions": [
|
"actions": [
|
||||||
{
|
{
|
||||||
"label": " Whole screen",
|
"label": " Screenshot",
|
||||||
"command": "grimblast --notify --cursor --freeze copy output"
|
"command": "bash -c 'swaync-client -t; screenshot-menu'"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": " Window / Region",
|
"label": " Record screen",
|
||||||
"command": "grimblast --notify --cursor --freeze copy area"
|
"command": "bash -c 'swaync-client -t; kooha'"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"menu#record": {
|
"menu#wallpaper": {
|
||||||
"label": " ",
|
"label": " ",
|
||||||
"position": "left",
|
"position": "left",
|
||||||
"actions": [
|
"actions": [
|
||||||
{
|
{
|
||||||
"label": " Record screen",
|
"label": "Set Bing POtD as Wallpaper",
|
||||||
"command": "record screen & ; swaync-client -t"
|
"command": "setbg-bpotd"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": " Record selection",
|
"label": "Set NASA APOtD as Wallpaper",
|
||||||
"command": "record area & ; swaync-client -t"
|
"command": "setbg-apotd"
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": " Record GIF",
|
|
||||||
"command": "record gif & ; swaync-client -t"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": " Stop",
|
|
||||||
"command": "record stop"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
home.packages = with pkgs; [swaynotificationcenter];
|
home.packages = with pkgs; [swaynotificationcenter kooha];
|
||||||
xdg.configFile."swaync/style.css".source = ./style.css;
|
xdg.configFile."swaync/style.css".source = ./style.css;
|
||||||
xdg.configFile."swaync/config.json".source = ./config.json;
|
xdg.configFile."swaync/config.json".source = ./config.json;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue