• 5 Posts
  • 13 Comments
Joined 3 years ago
cake
Cake day: June 25th, 2023

help-circle



  • I don’t know either, but I don’t mind, and its up to them.

    Adding a bit of info to my comment: With lutris all I did was playing non steam games. Added an executable, set the wine version to GE or something, and used lutris lutris:rungameid/12 or something like this with a flag that didn’t start the GUI (can’t remember now).

    Now all I do is:

    #!/bin/bash
    export WINEPREFIX=$HOME/Games/game-data/battlenet-wineprefix
    export PROTONPATH="$HOME/.steam/steam/compatibilitytools.d/GE-Proton10-33"
    umu-run "$WINEPREFIX/drive_c/Program Files (x86)/Battle.net/Battle.net.exe"
    

    This is just the basics, I like umu-launcher better, because I have longer scripts that set a lot of env vars, and do other stuff before starting the game. I guess lutris can do this too, but I’m not familiar with it, and its easier to do for me in a bash script.

    I found umu-launcher because of this whole AI included into lutris drama. While lutris has a whole gui and everything that I don’t use, I feel like umu-launcher is exactly what I need, nothing more.














  • After hours of trying out different plugins the closest I could find is the lualine & tabby combination:

    About to test it during work, at first look it looks like it has everything I need, only shows current buffers in tab, and in correct order

    local lualine_theme = require("highlight").lualine_theme
    require("lualine").setup({
    	options = {
    		icons_enabled = true,
    		theme = lualine_theme,
    		component_separators = { left = "", right = "" },
    		section_separators = { left = "", right = "" },
    		disabled_filetypes = {
    			statusline = {},
    			winbar = {},
    		},
    		ignore_focus = {},
    		globalstatus = true,
    		refresh = {
    			statusline = 1000,
    			tabline = 1000,
    			winbar = 1000,
    		},
    	},
    	sections = {
    		lualine_a = { "branch" },
    		lualine_b = { empty_section },
    		lualine_c = {},
    		lualine_x = {},
    		lualine_y = { { "diagnostics", sections = { "error", "warn" } } },
    		lualine_z = { "location" },
    	},
    	inactive_sections = {},
    	tabline = {},
    	winbar = {},
    	inactive_winbar = {},
    	extensions = { "fugitive", "nvim-tree" },
    })
    
    local theme = {
    	fill = "TabLineFill",
    	-- Also you can do this: fill = { fg='#f2e9de', bg='#907aa9', style='italic' }
    	head = "TabLine",
    	current = "TabLineSel",
    	tab = "TabLine",
    	win = "TabLine",
    	tail = "TabLine",
    }
    
    vim.o.showtabline = 2
    local tabby_theme = require("highlight").tabby_theme
    require("tabby.tabline").set(function(line)
    	return {
    		line.tabs().foreach(function(tab)
    			local hl = tab.is_current() and tabby_theme.current or tabby_theme.tab
    
    			return {
    				line.sep("", hl, tabby_theme.fill),
    				tab.number(),
    				tab.name(),
    				line.sep("", hl, tabby_theme.fill),
    				hl = hl,
    				margin = " ",
    			}
    		end),
    		line.spacer(),
    		line.wins_in_tab(line.api.get_current_tab()).foreach(function(win)
    			local hl = win.is_current() and tabby_theme.current or tabby_theme.tab
    
    			return {
    				line.sep("", hl, tabby_theme.fill),
    				win.buf_name(),
    				line.sep("", hl, tabby_theme.fill),
    				hl = hl,
    				margin = " ",
    			}
    		end),
    		hl = tabby_theme.fill,
    	}
    end)