mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-31 15:09:23 +02:00
start: move start commands to systemd misc-x@.service
This commit is contained in:
parent
db92161900
commit
243de00594
4 changed files with 4 additions and 16 deletions
13
rc/start.lua
13
rc/start.lua
|
@ -1,13 +0,0 @@
|
|||
-- Start idempotent commands
|
||||
local execute = {
|
||||
-- Default browser
|
||||
"xdg-mime default " .. config.browser .. ".desktop " ..
|
||||
"x-scheme-handler/http " ..
|
||||
"x-scheme-handler/https " ..
|
||||
"text/html",
|
||||
-- Default MIME types
|
||||
"xdg-mime default org.gnome.Evince.desktop application/pdf",
|
||||
"xdg-mime default gpicview.desktop image/png image/x-apple-ios-png image/jpeg image/jpg image/gif"
|
||||
}
|
||||
|
||||
os.execute(table.concat(execute, ";"))
|
|
@ -17,7 +17,7 @@ shifty.config.tags = {
|
|||
exclusive = true,
|
||||
max_clients = 1,
|
||||
screen = math.min(screen.count(), 2),
|
||||
spawn = config.browser,
|
||||
spawn = "firefox",
|
||||
icon = tagicon("web")
|
||||
},
|
||||
emacs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue