Skip to content

Commit

Permalink
Fixed after review
Browse files Browse the repository at this point in the history
  • Loading branch information
mtxr committed Jun 26, 2018
1 parent 5eb93c8 commit 2fe1e48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,14 @@ websearch:
# e.g. `/home/me/.projektor/google.png`
icon: web-browser
ui:
# use as a string. In a near future it will be proportinal to screen size (%)
# These values must be quoted so they would be parsed as strings. This is required for future support of sizes proportional to screen size.
width: "600"
height: "300"
```
Projektor styles should be placed at `~/.projektor/styles.css`.

Here's is de default style:
Here is the default style:

```css
GtkEntry {
Expand Down
6 changes: 4 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ type ProjektorConfig struct {
Icon string
}
UI struct {
Width string
Height string
Position string
Width string
Height string
}
}

Expand Down Expand Up @@ -62,6 +63,7 @@ func DefaultConfig() *ProjektorConfig {
c.WebSearch.Engine = "https://google.com/search?q=%s"
c.WebSearch.Icon = "web-browser"

c.UI.Position = "center"
c.UI.Width = "400"
c.UI.Height = "480"

Expand Down

0 comments on commit 2fe1e48

Please sign in to comment.