sync
This commit is contained in:
parent
80c49d3203
commit
05f2688fe2
|
@ -5,6 +5,7 @@ import (
|
|||
"context"
|
||||
"fmt"
|
||||
"log/slog"
|
||||
"path"
|
||||
"reflect"
|
||||
|
||||
"gfx.cafe/util/go/fxriver"
|
||||
|
@ -13,7 +14,7 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
packageName = reflect.TypeOf(Args{}).PkgPath()
|
||||
packageName = path.Base(reflect.TypeOf(Args{}).PkgPath())
|
||||
)
|
||||
|
||||
type Args struct {
|
||||
|
|
|
@ -3,12 +3,14 @@
|
|||
|
||||
gamermode_off(){
|
||||
notify-send -t 1600 'disabled gamermode' --icon=video-display
|
||||
picom -b --log-file /var/log/picom.log --log-level INFO
|
||||
superctl start picom
|
||||
# picom -b --log-file /var/log/picom.log --log-level INFO
|
||||
}
|
||||
|
||||
gamermode_on(){
|
||||
notify-send -t 1600 'enabled gamermode' --icon=video-display
|
||||
killall picom;
|
||||
superctl stop picom
|
||||
# killall picom;
|
||||
}
|
||||
|
||||
if [ `pgrep -x picom` ]; then
|
||||
|
|
|
@ -21,5 +21,11 @@ go install github.com/koron/iferr@master
|
|||
go install golang.org/x/perf/cmd/benchstat@latest
|
||||
go install github.com/wader/bump/cmd/bump@latest
|
||||
go install mvdan.cc/gofumpt@latest
|
||||
go install github.com/abice/go-enum@latest
|
||||
go install golang.org/x/tools/cmd/gonew@latest
|
||||
go install github.com/cweill/gotests@latest
|
||||
go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||
go install github.com/abenz1267/gomvp@latest
|
||||
go install github.com/tmc/json-to-struct@latest
|
||||
|
||||
asdf reshim golang
|
||||
mise reshim
|
||||
|
|
Loading…
Reference in New Issue