first
0
.gitignore
vendored
Normal file
4
.xinitrc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
feh --bg-center ~/launchergo/sysgo/gameshell/wallpaper/loading.png
|
||||||
|
exec ~/launchergo/load.sh &
|
||||||
|
exec ~/launcher/sys.py/gsnotify/gsnotify-arm &
|
||||||
|
exec awesome -c ~/launchergo/awesome/rc.lua
|
||||||
5
Menu/GameShell/10_Settings/plugin.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"SO_FILE":"",
|
||||||
|
"NAME":"Settings"
|
||||||
|
}
|
||||||
|
|
||||||
7
Menu/GameShell/20_Retro Games/MAME/action.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
ROM=/home/cpi/games/MAME
|
||||||
|
ROM_SO=/home/cpi/apps/emulators/mame2003_plus_libretro.so
|
||||||
|
EXT=zip
|
||||||
|
LAUNCHER=retroarch -L
|
||||||
|
TITLE=MAME Roms
|
||||||
|
SO_URL=http://buildbot.libretro.com/nightly/linux/armhf/latest/mame2003_plus_libretro.so.zip
|
||||||
|
RETRO_CONFIG=/home/cpi/apps/launcher/Menu/GameShell/20_Retro\ Games/MAME/retroarch.cfg
|
||||||
111
Menu/GameShell/20_Retro Games/MAME/retroarch-core-options.cfg
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
mame2003-plus_frameskip = "0"
|
||||||
|
mame2003-plus_input_interface = "retropad"
|
||||||
|
mame2003-plus_retropad_layout = "modern"
|
||||||
|
mame2003-plus_mouse_device = "mouse"
|
||||||
|
mame2003-plus_crosshair_enabled = "enabled"
|
||||||
|
mame2003-plus_display_setup = "disabled"
|
||||||
|
mame2003-plus_enable_backdrop = "disabled"
|
||||||
|
mame2003-plus_bios_region = "default"
|
||||||
|
mame2003-plus_dialsharexy = "disabled"
|
||||||
|
mame2003-plus_rstick_to_btns = "enabled"
|
||||||
|
mame2003-plus_tate_mode = "disabled"
|
||||||
|
mame2003-plus_vector_resolution_multiplier = "1"
|
||||||
|
mame2003-plus_vector_antialias = "disabled"
|
||||||
|
mame2003-plus_vector_translucency = "enabled"
|
||||||
|
mame2003-plus_vector_beam_width = "1"
|
||||||
|
mame2003-plus_vector_flicker = "20"
|
||||||
|
mame2003-plus_vector_intensity = "1.5"
|
||||||
|
mame2003-plus_skip_rom_verify = "disabled"
|
||||||
|
mame2003-plus_external_hiscore = "disabled"
|
||||||
|
mame2003-plus_sample_rate = "48000"
|
||||||
|
mame2003-plus_dcs_speedhack = "enabled"
|
||||||
|
mame2003-plus_skip_disclaimer = "enabled"
|
||||||
|
mame2003-plus_skip_warnings = "disabled"
|
||||||
|
mgba_solar_sensor_level = "0"
|
||||||
|
mgba_allow_opposing_directions = "OFF"
|
||||||
|
mgba_gb_model = "Autodetect"
|
||||||
|
mgba_use_bios = "ON"
|
||||||
|
mgba_skip_bios = "OFF"
|
||||||
|
mgba_sgb_borders = "ON"
|
||||||
|
mgba_idle_optimization = "Remove Known"
|
||||||
|
mgba_frameskip = "0"
|
||||||
|
vbanext_bios = "enabled"
|
||||||
|
mame_current_mouse_enable = "enabled"
|
||||||
|
mame_current_videoapproach1_enable = "disabled"
|
||||||
|
mame_current_skip_nagscreen = "enabled"
|
||||||
|
mame_current_skip_gameinfo = "disabled"
|
||||||
|
mame_current_skip_warnings = "disabled"
|
||||||
|
mame_current_aspect_ratio = "DAR"
|
||||||
|
mame_current_turbo_button = "disabled"
|
||||||
|
mame_current_turbo_delay = "medium"
|
||||||
|
mame_current_frame_skip = "0"
|
||||||
|
mame_current_sample_rate = "48000Hz"
|
||||||
|
mame_current_adj_brightness = "default"
|
||||||
|
mame_current_adj_contrast = "default"
|
||||||
|
mame_current_adj_gamma = "default"
|
||||||
|
mame-external_hiscore = "disabled"
|
||||||
|
vbam_layer_1 = "Yes"
|
||||||
|
vbam_layer_2 = "Yes"
|
||||||
|
vbam_layer_3 = "Yes"
|
||||||
|
vbam_layer_4 = "Yes"
|
||||||
|
vbam_layer_5 = "Yes"
|
||||||
|
vbam_layer_6 = "Yes"
|
||||||
|
vbam_layer_7 = "Yes"
|
||||||
|
vbam_layer_8 = "Yes"
|
||||||
|
snes9x_next_overclock = "disabled"
|
||||||
|
beetle_psx_cdimagecache = "disabled"
|
||||||
|
beetle_psx_widescreen_hack = "disabled"
|
||||||
|
beetle_psx_widescreen_auto_ar = "disabled"
|
||||||
|
beetle_psx_use_mednafen_memcard0_method = "libretro"
|
||||||
|
beetle_psx_shared_memory_cards = "disabled"
|
||||||
|
beetle_psx_experimental_save_states = "disabled"
|
||||||
|
beetle_psx_initial_scanline = "0"
|
||||||
|
beetle_psx_initial_scanline_pal = "0"
|
||||||
|
beetle_psx_last_scanline = "239"
|
||||||
|
beetle_psx_last_scanline_pal = "287"
|
||||||
|
beetle_psx_analog_toggle = "disabled"
|
||||||
|
beetle_psx_enable_multitap_port1 = "disabled"
|
||||||
|
beetle_psx_enable_multitap_port2 = "disabled"
|
||||||
|
fceumm_region = "Auto"
|
||||||
|
fceumm_aspect = "8:7 PAR"
|
||||||
|
fceumm_palette = "default"
|
||||||
|
fceumm_up_down_allowed = "disabled"
|
||||||
|
fceumm_use_ntsc = "disabled"
|
||||||
|
fceumm_overscan_h = "disabled"
|
||||||
|
fceumm_overscan_v = "enabled"
|
||||||
|
fceumm_nospritelimit = "disabled"
|
||||||
|
fceumm_sndvolume = "150"
|
||||||
|
fceumm_sndquality = "Low"
|
||||||
|
fceumm_swapduty = "disabled"
|
||||||
|
fceumm_turbo_enable = "None"
|
||||||
|
fceumm_turbo_delay = "3"
|
||||||
|
fceumm_zapper_mode = "pointer"
|
||||||
|
fceumm_show_crosshair = "enabled"
|
||||||
|
fceumm_overclocking = "disabled"
|
||||||
|
nestopia_blargg_ntsc_filter = "disabled"
|
||||||
|
nestopia_palette = "cxa2025as"
|
||||||
|
nestopia_nospritelimit = "disabled"
|
||||||
|
nestopia_overclock = "1x"
|
||||||
|
nestopia_select_adapter = "auto"
|
||||||
|
nestopia_fds_auto_insert = "enabled"
|
||||||
|
nestopia_overscan_v = "enabled"
|
||||||
|
nestopia_overscan_h = "disabled"
|
||||||
|
nestopia_aspect = "auto"
|
||||||
|
nestopia_genie_distortion = "disabled"
|
||||||
|
nestopia_favored_system = "auto"
|
||||||
|
nestopia_ram_power_state = "0x00"
|
||||||
|
nestopia_turbo_pulse = "2"
|
||||||
|
mame2003-plus_brightness = "1.0"
|
||||||
|
mame2003-plus_gamma = "1.2"
|
||||||
|
mame2003-plus_neogeo_bios = "default"
|
||||||
|
mame2003-plus_stv_bios = "default"
|
||||||
|
mame2003-plus_dual_joysticks = "disabled"
|
||||||
|
mame2003-plus_use_samples = "enabled"
|
||||||
|
mame2003-plus_nvram_bootstraps = "enabled"
|
||||||
|
mame2003-plus_retropad1_layout = "Modern Gamepad"
|
||||||
|
mame2003-plus_retropad2_layout = "Modern Gamepad"
|
||||||
|
mame2003-plus_retropad3_layout = "Modern Gamepad"
|
||||||
|
mame2003-plus_retropad4_layout = "Modern Gamepad"
|
||||||
|
mame2003-plus_retropad5_layout = "Modern Gamepad"
|
||||||
|
mame2003-plus_retropad6_layout = "Modern Gamepad"
|
||||||
|
mame2003-plus_mame_remapping = "disabled"
|
||||||
2880
Menu/GameShell/20_Retro Games/MAME/retroarch.cfg
Normal file
6
Menu/GameShell/20_Retro Games/MGBA/action.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
ROM=/home/cpi/games/MGBA
|
||||||
|
ROM_SO=/home/cpi/apps/emulators/mgba_libretro.so
|
||||||
|
EXT=gba,gbx
|
||||||
|
LAUNCHER=retroarch -L
|
||||||
|
TITLE=MGBA Roms
|
||||||
|
SO_URL=http://buildbot.libretro.com/nightly/linux/armhf/latest/mgba_libretro.so.zip
|
||||||
7
Menu/GameShell/20_Retro Games/NESTOPIA/action.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
ROM=/home/cpi/games/NESTOPIA
|
||||||
|
ROM_SO=/home/cpi/apps/emulators/nestopia_libretro.so
|
||||||
|
EXT=zip
|
||||||
|
LAUNCHER=retroarch -L
|
||||||
|
TITLE=NESTOPIA Roms
|
||||||
|
SO_URL=http://buildbot.libretro.com/nightly/linux/armhf/latest/nestopia_libretro.so.zip
|
||||||
|
|
||||||
1
Menu/GameShell/CaveStory.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
retroarch -L /home/cpi/apps/emulators/nxengine_libretro.so /home/cpi/games/nxengine/cavestory/data
|
||||||
1
Menu/GameShell/RetroArch.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
retroarch
|
||||||
1
Menu/GameShell/freeDM.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
chocolate-doom -iwad /home/cpi/games/FreeDM/freedoom1.wad
|
||||||
73
README.md
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
# GameShell launcher
|
||||||
|
This is the launcher for GameShell based on 320x240 resolution and D-Pad layout.
|
||||||
|

|
||||||
|
|
||||||
|
# Create the necessary user and group
|
||||||
|
* User name: cpi
|
||||||
|
* Password: cpi
|
||||||
|
* Group ID: 31415 with group name: cpifav
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo adduser cpi
|
||||||
|
sudo groupadd cpifav -g 31415
|
||||||
|
sudo adduser cpi cpifav
|
||||||
|
```
|
||||||
|
|
||||||
|
# Directory structure
|
||||||
|
```
|
||||||
|
/home/cpi/
|
||||||
|
├── launchergo <- Here we are
|
||||||
|
├── apps
|
||||||
|
│ ├── emulators
|
||||||
|
│ └── Menu
|
||||||
|
├── games
|
||||||
|
│ ├── FreeDM
|
||||||
|
│ ├── MAME
|
||||||
|
│ └── nxengine
|
||||||
|
└── music
|
||||||
|
```
|
||||||
|
## Create the necessary directories
|
||||||
|
```
|
||||||
|
mkdir -p /home/cpi/apps/emulators
|
||||||
|
mkdir -p /home/cpi/games
|
||||||
|
mkdir -p /home/cpi/music
|
||||||
|
```
|
||||||
|
|
||||||
|
# Dependent packages
|
||||||
|
* wicd (For Wi-Fi)
|
||||||
|
* mpd (For music player)
|
||||||
|
|
||||||
|
# Create “.mpd_cpi.conf” config
|
||||||
|
|
||||||
|
vim ~/.mpd_cpi.conf
|
||||||
|
|
||||||
|
```
|
||||||
|
music\_directory "/home/cpi/music"
|
||||||
|
playlist\_directory "/home/cpi/music/playlists"
|
||||||
|
db\_file "/home/cpi/music/tag\_cache"
|
||||||
|
log\_file "/tmp/mpd.log"
|
||||||
|
pid\_file "/tmp/mpd.pid"
|
||||||
|
state\_file "/home/cpi/music/mpd\_state"
|
||||||
|
sticker\_file "/home/cpi/music/sticker.sql"
|
||||||
|
user "cpi"
|
||||||
|
bind\_to\_address "/tmp/mpd.socket"
|
||||||
|
auto\_update "yes"
|
||||||
|
auto\_update\_depth "3"
|
||||||
|
input {
|
||||||
|
plugin "curl"
|
||||||
|
}
|
||||||
|
|
||||||
|
audio\_output {
|
||||||
|
type "alsa"
|
||||||
|
name "My ALSA Device"
|
||||||
|
}
|
||||||
|
|
||||||
|
audio\_output {
|
||||||
|
type "fifo"
|
||||||
|
name "my_fifo"
|
||||||
|
path "/tmp/mpd.fifo"
|
||||||
|
format "44100:16:2"
|
||||||
|
}
|
||||||
|
|
||||||
|
filesystem\_charset "UTF-8"
|
||||||
|
```
|
||||||
498
awesome/rc.lua
Normal file
@ -0,0 +1,498 @@
|
|||||||
|
-- Standard awesome library
|
||||||
|
local gears = require("gears")
|
||||||
|
local awful = require("awful")
|
||||||
|
require("awful.autofocus")
|
||||||
|
-- Widget and layout library
|
||||||
|
local wibox = require("wibox")
|
||||||
|
-- Theme handling library
|
||||||
|
local beautiful = require("beautiful")
|
||||||
|
-- Notification library
|
||||||
|
local naughty = require("naughty")
|
||||||
|
local menubar = require("menubar")
|
||||||
|
local hotkeys_popup = require("awful.hotkeys_popup").widget
|
||||||
|
|
||||||
|
-- Load Debian menu entries
|
||||||
|
-- require("debian.menu")
|
||||||
|
|
||||||
|
local capi = { screen = screen,
|
||||||
|
client = client }
|
||||||
|
local ipairs = ipairs
|
||||||
|
|
||||||
|
-- {{{ Error handling
|
||||||
|
-- Check if awesome encountered an error during startup and fell back to
|
||||||
|
-- another config (This code will only ever execute for the fallback config)
|
||||||
|
if awesome.startup_errors then
|
||||||
|
naughty.notify({ preset = naughty.config.presets.critical,
|
||||||
|
title = "Oops, there were errors during startup!",
|
||||||
|
text = awesome.startup_errors,timeout=3 })
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Handle runtime errors after startup
|
||||||
|
do
|
||||||
|
local in_error = false
|
||||||
|
awesome.connect_signal("debug::error", function (err)
|
||||||
|
-- Make sure we don't go into an endless error loop
|
||||||
|
if in_error then return end
|
||||||
|
in_error = true
|
||||||
|
|
||||||
|
naughty.notify({ preset = naughty.config.presets.critical,
|
||||||
|
title = "Oops, an error happened!",
|
||||||
|
text = tostring(err),timeout=3 })
|
||||||
|
in_error = false
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
theme_base = "/home/cpi/launcher/awesome"
|
||||||
|
-- Themes define colours, icons, font and wallpapers.
|
||||||
|
beautiful.init(theme_base .. "/themes/default/theme.lua")
|
||||||
|
|
||||||
|
-- This is used later as the default terminal and editor to run.
|
||||||
|
terminal = "xterm"
|
||||||
|
editor = os.getenv("EDITOR") or "editor"
|
||||||
|
editor_cmd = terminal .. " -e " .. editor
|
||||||
|
|
||||||
|
-- Default modkey.
|
||||||
|
-- Usually, Mod4 is the key with a logo between Control and Alt.
|
||||||
|
-- If you do not like this or do not have such a key,
|
||||||
|
-- I suggest you to remap Mod4 to another key using xmodmap or other tools.
|
||||||
|
-- However, you can use another modifier like Mod1, but it may interact with others.
|
||||||
|
modkey = "Mod4"
|
||||||
|
|
||||||
|
-- Table of layouts to cover with awful.layout.inc, order matters.
|
||||||
|
awful.layout.layouts = {
|
||||||
|
awful.layout.suit.floating,
|
||||||
|
awful.layout.suit.tile,
|
||||||
|
awful.layout.suit.tile.left,
|
||||||
|
awful.layout.suit.tile.bottom,
|
||||||
|
awful.layout.suit.tile.top,
|
||||||
|
awful.layout.suit.fair,
|
||||||
|
awful.layout.suit.fair.horizontal,
|
||||||
|
-- awful.layout.suit.spiral,
|
||||||
|
-- awful.layout.suit.spiral.dwindle,
|
||||||
|
--awful.layout.suit.max,
|
||||||
|
--awful.layout.suit.max.fullscreen,
|
||||||
|
awful.layout.suit.magnifier,
|
||||||
|
awful.layout.suit.corner.nw,
|
||||||
|
-- awful.layout.suit.corner.ne,
|
||||||
|
-- awful.layout.suit.corner.sw,
|
||||||
|
-- awful.layout.suit.corner.se,
|
||||||
|
}
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- {{{ Helper functions
|
||||||
|
|
||||||
|
local function tableHasKey(table,key)
|
||||||
|
return table[key] ~= nil
|
||||||
|
end
|
||||||
|
|
||||||
|
local function client_menu_toggle_fn()
|
||||||
|
local instance = nil
|
||||||
|
|
||||||
|
return function ()
|
||||||
|
if instance and instance.wibox.visible then
|
||||||
|
instance:hide()
|
||||||
|
instance = nil
|
||||||
|
else
|
||||||
|
instance = awful.menu.clients({ theme = { width = 250 } })
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- {{{ Menu
|
||||||
|
-- Create a launcher widget and a main menu
|
||||||
|
myawesomemenu = {
|
||||||
|
{ "edit config", editor_cmd .. " " .. awesome.conffile },
|
||||||
|
{ "restart", awesome.restart },
|
||||||
|
{ "quit", function() awesome.quit() end}
|
||||||
|
}
|
||||||
|
|
||||||
|
mymenu = {
|
||||||
|
{ "xterm" , "xterm"},
|
||||||
|
{ "xclock", "xclock"}
|
||||||
|
}
|
||||||
|
|
||||||
|
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
|
||||||
|
{ "MyStuff", mymenu },
|
||||||
|
{ "open terminal", terminal }
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
|
||||||
|
menu = mymainmenu })
|
||||||
|
|
||||||
|
-- Menubar configuration
|
||||||
|
menubar.utils.terminal = terminal -- Set the terminal for applications that require it
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- Keyboard map indicator and switcher
|
||||||
|
mykeyboardlayout = awful.widget.keyboardlayout()
|
||||||
|
|
||||||
|
-- Create a textclock widget
|
||||||
|
mytextclock = wibox.widget.textclock()
|
||||||
|
|
||||||
|
-- Create a wibox for each screen and add it
|
||||||
|
local taglist_buttons = awful.util.table.join(
|
||||||
|
awful.button({ }, 1, function(t) t:view_only() end),
|
||||||
|
awful.button({ modkey }, 1, function(t)
|
||||||
|
if client.focus then
|
||||||
|
client.focus:move_to_tag(t)
|
||||||
|
end
|
||||||
|
end),
|
||||||
|
awful.button({ }, 3, awful.tag.viewtoggle),
|
||||||
|
awful.button({ modkey }, 3, function(t)
|
||||||
|
if client.focus then
|
||||||
|
client.focus:toggle_tag(t)
|
||||||
|
end
|
||||||
|
end),
|
||||||
|
awful.button({ }, 4, function(t) awful.tag.viewnext(t.screen) end),
|
||||||
|
awful.button({ }, 5, function(t) awful.tag.viewprev(t.screen) end)
|
||||||
|
)
|
||||||
|
|
||||||
|
local tasklist_buttons = awful.util.table.join(
|
||||||
|
awful.button({ }, 1, function (c)
|
||||||
|
if c == client.focus then
|
||||||
|
c.minimized = true
|
||||||
|
else
|
||||||
|
-- Without this, the following
|
||||||
|
-- :isvisible() makes no sense
|
||||||
|
c.minimized = false
|
||||||
|
if not c:isvisible() and c.first_tag then
|
||||||
|
c.first_tag:view_only()
|
||||||
|
end
|
||||||
|
-- This will also un-minimize
|
||||||
|
-- the client, if needed
|
||||||
|
client.focus = c
|
||||||
|
c:raise()
|
||||||
|
end
|
||||||
|
end),
|
||||||
|
awful.button({ }, 3, client_menu_toggle_fn()),
|
||||||
|
awful.button({ }, 4, function ()
|
||||||
|
awful.client.focus.byidx(1)
|
||||||
|
end),
|
||||||
|
awful.button({ }, 5, function ()
|
||||||
|
awful.client.focus.byidx(-1)
|
||||||
|
end))
|
||||||
|
|
||||||
|
|
||||||
|
local function set_wallpaper(s)
|
||||||
|
-- Wallpaper
|
||||||
|
if beautiful.wallpaper then
|
||||||
|
local wallpaper = beautiful.wallpaper
|
||||||
|
-- If wallpaper is a function, call it with the screen
|
||||||
|
if type(wallpaper) == "function" then
|
||||||
|
wallpaper = wallpaper(s)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- wallpaper only in PC
|
||||||
|
if s.geometry.width > 320 then
|
||||||
|
gears.wallpaper.centered(wallpaper, s, 1)
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
local function get_screen(s)
|
||||||
|
return s and screen[s]
|
||||||
|
end
|
||||||
|
|
||||||
|
function awful.widget.tasklist.filter.currenttags_without_gs(c, screen)
|
||||||
|
screen = get_screen(screen)
|
||||||
|
-- Only print client on the same screen as this widget
|
||||||
|
if get_screen(c.screen) ~= screen then return false end
|
||||||
|
-- Include sticky client too
|
||||||
|
if c.sticky then return true end
|
||||||
|
local tags = screen.tags
|
||||||
|
for _, t in ipairs(tags) do
|
||||||
|
if t.selected then
|
||||||
|
local ctags = c:tags()
|
||||||
|
for _, v in ipairs(ctags) do
|
||||||
|
if v == t then
|
||||||
|
if c.class:lower() == "run.py" or c.class:lower() == "gsnotify-arm" then
|
||||||
|
return false
|
||||||
|
else
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
screen.connect_signal("property::geometry", set_wallpaper)
|
||||||
|
|
||||||
|
|
||||||
|
awful.screen.connect_for_each_screen(function(s)
|
||||||
|
-- Wallpaper
|
||||||
|
set_wallpaper(s)
|
||||||
|
-- Each screen has its own tag table.
|
||||||
|
awful.tag({ "GameShell" }, s, awful.layout.layouts[1])
|
||||||
|
|
||||||
|
-- Create a promptbox for each screen
|
||||||
|
s.mypromptbox = awful.widget.prompt()
|
||||||
|
-- Create an imagebox widget which will contains an icon indicating which layout we're using.
|
||||||
|
-- We need one layoutbox per screen.
|
||||||
|
s.mylayoutbox = awful.widget.layoutbox(s)
|
||||||
|
s.mylayoutbox:buttons(awful.util.table.join(
|
||||||
|
awful.button({ }, 1, function () awful.layout.inc( 1) end),
|
||||||
|
awful.button({ }, 3, function () awful.layout.inc(-1) end),
|
||||||
|
awful.button({ }, 4, function () awful.layout.inc( 1) end),
|
||||||
|
awful.button({ }, 5, function () awful.layout.inc(-1) end)))
|
||||||
|
-- Create a taglist widget
|
||||||
|
s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, taglist_buttons)
|
||||||
|
|
||||||
|
-- Create a tasklist widget
|
||||||
|
s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags_without_gs, tasklist_buttons)
|
||||||
|
|
||||||
|
-- Create the wibox
|
||||||
|
if s.geometry.width > 320 then
|
||||||
|
s.mywibox = awful.wibar({ position = "bottom", screen = s,visible=true })
|
||||||
|
else
|
||||||
|
s.mywibox = awful.wibar({ position = "bottom", screen = s,visible=false })
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Add widgets to the wibox
|
||||||
|
s.mywibox:setup {
|
||||||
|
layout = wibox.layout.align.horizontal,
|
||||||
|
{ -- Left widgets
|
||||||
|
layout = wibox.layout.fixed.horizontal,
|
||||||
|
mylauncher,
|
||||||
|
s.mytaglist,
|
||||||
|
s.mypromptbox,
|
||||||
|
},
|
||||||
|
s.mytasklist, -- Middle widget
|
||||||
|
{ -- Right widgets
|
||||||
|
layout = wibox.layout.fixed.horizontal,
|
||||||
|
mykeyboardlayout,
|
||||||
|
wibox.widget.systray(),
|
||||||
|
mytextclock,
|
||||||
|
s.mylayoutbox,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end)
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- {{{ Mouse bindings
|
||||||
|
root.buttons(awful.util.table.join(
|
||||||
|
awful.button({ }, 3, function () mymainmenu:toggle() end),
|
||||||
|
awful.button({ }, 4, awful.tag.viewnext),
|
||||||
|
awful.button({ }, 5, awful.tag.viewprev)
|
||||||
|
))
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- Bind all key numbers to tags.
|
||||||
|
-- Be careful: we use keycodes to make it works on any keyboard layout.
|
||||||
|
-- This should map on the top row of your keyboard, usually 1 to 9.
|
||||||
|
clientbuttons = awful.util.table.join(
|
||||||
|
awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
|
||||||
|
awful.button({ modkey }, 1, awful.mouse.client.move),
|
||||||
|
awful.button({ modkey }, 3, awful.mouse.client.resize))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function titlebar_add_with_settings(c)
|
||||||
|
awful.titlebar.add(c, { modkey = modkey, height = 16, font = "Terminus 6"})
|
||||||
|
end
|
||||||
|
|
||||||
|
-- {{{ Rules
|
||||||
|
-- Rules to apply to new clients (through the "manage" signal).
|
||||||
|
awful.rules.rules = {
|
||||||
|
-- All clients will match this rule.
|
||||||
|
{ rule = { },
|
||||||
|
properties = {
|
||||||
|
size_hints_honor = false,
|
||||||
|
border_width = 0,
|
||||||
|
border_color = beautiful.border_normal,
|
||||||
|
focus = awful.client.focus.filter,
|
||||||
|
raise = true,
|
||||||
|
keys = clientkeys,
|
||||||
|
buttons = clientbuttons,
|
||||||
|
screen = awful.screen.preferred,
|
||||||
|
placement = awful.placement.no_overlap+awful.placement.no_offscreen
|
||||||
|
--placement = awful.placement.no_overlap+awful.placement.centered+awful.placement.no_offscreen
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
{ rule_any = {type = { "normal", "dialog"}
|
||||||
|
}, properties = { titlebars_enabled = true }
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Floating clients.
|
||||||
|
{ rule_any = {
|
||||||
|
instance = {
|
||||||
|
"DTA", -- Firefox addon DownThemAll.
|
||||||
|
"copyq", -- Includes session name in class.
|
||||||
|
},
|
||||||
|
class = {
|
||||||
|
"Arandr",
|
||||||
|
"Gpick",
|
||||||
|
"Kruler",
|
||||||
|
"MessageWin", -- kalarm.
|
||||||
|
"Sxiv",
|
||||||
|
"Wpa_gui",
|
||||||
|
"pinentry",
|
||||||
|
"veromix",
|
||||||
|
"xtightvncviewer",
|
||||||
|
"xclock"
|
||||||
|
},
|
||||||
|
|
||||||
|
name = {
|
||||||
|
"Event Tester", -- xev.
|
||||||
|
},
|
||||||
|
role = {
|
||||||
|
"AlarmWindow", -- Thunderbird's calendar.
|
||||||
|
"pop-up", -- e.g. Google Chrome's (detached) Developer Tools.
|
||||||
|
}
|
||||||
|
}, properties = { ontop=false,floating = true,titlebars_enabled=false }},
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
|
||||||
|
local gs_class = {"run.py","gsnotify","gsnotify-arm","retroarch"}
|
||||||
|
|
||||||
|
-- {{{ Signals
|
||||||
|
-- Signal function to execute when a new client appears.
|
||||||
|
client.connect_signal("manage", function (c)
|
||||||
|
-- Set the windows at the slave,
|
||||||
|
-- i.e. put it at the end of others instead of setting it master.
|
||||||
|
-- if not awesome.startup then awful.client.setslave(c) end
|
||||||
|
|
||||||
|
if awesome.startup and
|
||||||
|
not c.size_hints.user_position
|
||||||
|
and not c.size_hints.program_position then
|
||||||
|
-- Prevent clients from being unreachable after screen count changes.
|
||||||
|
awful.placement.no_offscreen(c)
|
||||||
|
end
|
||||||
|
|
||||||
|
c.ontop=false
|
||||||
|
c.above=false
|
||||||
|
c.below=true
|
||||||
|
c.fullscreen=false
|
||||||
|
|
||||||
|
if tableHasKey(c,"class") and c.class:lower() == "gsnotify-arm" then
|
||||||
|
-- naughty.notify({text = "launched!",timeout = 2,position = "top_center"})
|
||||||
|
c.ontop = true
|
||||||
|
c.above = true
|
||||||
|
c.focusable=false
|
||||||
|
c.type = "notification"
|
||||||
|
c.floating = true
|
||||||
|
c:raise()
|
||||||
|
end
|
||||||
|
|
||||||
|
for s in capi.screen do
|
||||||
|
if s.geometry.width > 320 then
|
||||||
|
for _,v in pairs(gs_class) do
|
||||||
|
if tableHasKey(c,"class") and c.class:lower() == v then
|
||||||
|
awful.titlebar.hide(c)
|
||||||
|
if v ~= "gsnotify-arm" then
|
||||||
|
awful.placement.centered(c)
|
||||||
|
end
|
||||||
|
break
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- centered bg with offset of tasklist_bar's height
|
||||||
|
-- c.y= c.y + s.mywibox.height
|
||||||
|
|
||||||
|
else
|
||||||
|
-- hide all titlebars in GS
|
||||||
|
awful.titlebar.hide(c)
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
end)
|
||||||
|
|
||||||
|
-- Add a titlebar if titlebars_enabled is set to true in the rules.
|
||||||
|
client.connect_signal("request::titlebars", function(c)
|
||||||
|
-- buttons for the titlebar
|
||||||
|
local buttons = awful.util.table.join(
|
||||||
|
awful.button({ }, 1, function()
|
||||||
|
client.focus = c
|
||||||
|
c:raise()
|
||||||
|
awful.mouse.client.move(c)
|
||||||
|
end),
|
||||||
|
awful.button({ }, 3, function()
|
||||||
|
client.focus = c
|
||||||
|
c:raise()
|
||||||
|
awful.mouse.client.resize(c)
|
||||||
|
end)
|
||||||
|
)
|
||||||
|
|
||||||
|
awful.titlebar(c) : setup {
|
||||||
|
{ -- Left
|
||||||
|
awful.titlebar.widget.closebutton(c),
|
||||||
|
-- buttons = buttons,
|
||||||
|
layout = wibox.layout.fixed.horizontal
|
||||||
|
},
|
||||||
|
{ -- Middle
|
||||||
|
{ -- Title
|
||||||
|
align = "left",
|
||||||
|
widget = awful.titlebar.widget.titlewidget(c)
|
||||||
|
},
|
||||||
|
buttons = buttons,
|
||||||
|
layout = wibox.layout.flex.horizontal
|
||||||
|
},
|
||||||
|
{ -- Right
|
||||||
|
align="right",
|
||||||
|
awful.titlebar.widget.floatingbutton (c),
|
||||||
|
awful.titlebar.widget.maximizedbutton(c),
|
||||||
|
-- awful.titlebar.widget.stickybutton (c),
|
||||||
|
-- awful.titlebar.widget.ontopbutton (c),
|
||||||
|
-- awful.titlebar.widget.closebutton (c),
|
||||||
|
layout = wibox.layout.fixed.horizontal()
|
||||||
|
},
|
||||||
|
layout = wibox.layout.align.horizontal
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
end)
|
||||||
|
|
||||||
|
-- Enable sloppy focus, so that focus follows mouse.
|
||||||
|
|
||||||
|
client.connect_signal("focus",
|
||||||
|
function(c)
|
||||||
|
c.border_color = beautiful.border_normal
|
||||||
|
|
||||||
|
end)
|
||||||
|
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
client.disconnect_signal("request::activate", awful.ewmh.activate)
|
||||||
|
function awful.ewmh.activate(c)
|
||||||
|
if tableHasKey(c,"class") == false then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
if c:isvisible() then
|
||||||
|
if c.class:lower() ~= "gsnotify-arm" then
|
||||||
|
client.focus = c
|
||||||
|
end
|
||||||
|
|
||||||
|
if c.class:lower() == "retroarch" then
|
||||||
|
c:lower()
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
client.connect_signal("request::activate", awful.ewmh.activate)
|
||||||
|
|
||||||
|
|
||||||
|
client.connect_signal("property::fullscreen", function (c)
|
||||||
|
c.fullscreen = false
|
||||||
|
c.ontop = false
|
||||||
|
c.focus=false
|
||||||
|
c:lower()
|
||||||
|
|
||||||
|
end)
|
||||||
|
|
||||||
|
|
||||||
3
awesome/themes/default/README
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Background images:
|
||||||
|
Mikael Eriksson <mikael_eriksson@miffe.org>
|
||||||
|
Licensed under CC-BY-SA-3.0
|
||||||
BIN
awesome/themes/default/background.png
Normal file
|
After Width: | Height: | Size: 220 KiB |
BIN
awesome/themes/default/background_white.png
Normal file
|
After Width: | Height: | Size: 265 KiB |
BIN
awesome/themes/default/layouts/cornerne.png
Normal file
|
After Width: | Height: | Size: 451 B |
BIN
awesome/themes/default/layouts/cornernew.png
Normal file
|
After Width: | Height: | Size: 409 B |
BIN
awesome/themes/default/layouts/cornernw.png
Normal file
|
After Width: | Height: | Size: 439 B |
BIN
awesome/themes/default/layouts/cornernww.png
Normal file
|
After Width: | Height: | Size: 381 B |
BIN
awesome/themes/default/layouts/cornerse.png
Normal file
|
After Width: | Height: | Size: 424 B |
BIN
awesome/themes/default/layouts/cornersew.png
Normal file
|
After Width: | Height: | Size: 411 B |
BIN
awesome/themes/default/layouts/cornersw.png
Normal file
|
After Width: | Height: | Size: 424 B |
BIN
awesome/themes/default/layouts/cornersww.png
Normal file
|
After Width: | Height: | Size: 423 B |
BIN
awesome/themes/default/layouts/dwindle.png
Normal file
|
After Width: | Height: | Size: 425 B |
BIN
awesome/themes/default/layouts/dwindlew.png
Normal file
|
After Width: | Height: | Size: 444 B |
BIN
awesome/themes/default/layouts/fairh.png
Normal file
|
After Width: | Height: | Size: 312 B |
BIN
awesome/themes/default/layouts/fairhw.png
Normal file
|
After Width: | Height: | Size: 314 B |
BIN
awesome/themes/default/layouts/fairv.png
Normal file
|
After Width: | Height: | Size: 323 B |
BIN
awesome/themes/default/layouts/fairvw.png
Normal file
|
After Width: | Height: | Size: 323 B |
BIN
awesome/themes/default/layouts/floating.png
Normal file
|
After Width: | Height: | Size: 361 B |
BIN
awesome/themes/default/layouts/floatingw.png
Normal file
|
After Width: | Height: | Size: 365 B |
BIN
awesome/themes/default/layouts/fullscreen.png
Normal file
|
After Width: | Height: | Size: 866 B |
BIN
awesome/themes/default/layouts/fullscreenw.png
Normal file
|
After Width: | Height: | Size: 865 B |
BIN
awesome/themes/default/layouts/magnifier.png
Normal file
|
After Width: | Height: | Size: 496 B |
BIN
awesome/themes/default/layouts/magnifierw.png
Normal file
|
After Width: | Height: | Size: 496 B |
BIN
awesome/themes/default/layouts/max.png
Normal file
|
After Width: | Height: | Size: 574 B |
BIN
awesome/themes/default/layouts/maxw.png
Normal file
|
After Width: | Height: | Size: 581 B |
BIN
awesome/themes/default/layouts/spiral.png
Normal file
|
After Width: | Height: | Size: 427 B |
BIN
awesome/themes/default/layouts/spiralw.png
Normal file
|
After Width: | Height: | Size: 442 B |
BIN
awesome/themes/default/layouts/tile.png
Normal file
|
After Width: | Height: | Size: 353 B |
BIN
awesome/themes/default/layouts/tilebottom.png
Normal file
|
After Width: | Height: | Size: 340 B |
BIN
awesome/themes/default/layouts/tilebottomw.png
Normal file
|
After Width: | Height: | Size: 350 B |
BIN
awesome/themes/default/layouts/tileleft.png
Normal file
|
After Width: | Height: | Size: 363 B |
BIN
awesome/themes/default/layouts/tileleftw.png
Normal file
|
After Width: | Height: | Size: 367 B |
BIN
awesome/themes/default/layouts/tiletop.png
Normal file
|
After Width: | Height: | Size: 326 B |
BIN
awesome/themes/default/layouts/tiletopw.png
Normal file
|
After Width: | Height: | Size: 342 B |
BIN
awesome/themes/default/layouts/tilew.png
Normal file
|
After Width: | Height: | Size: 357 B |
BIN
awesome/themes/default/submenu.png
Normal file
|
After Width: | Height: | Size: 440 B |
BIN
awesome/themes/default/taglist/squarefw.png
Normal file
|
After Width: | Height: | Size: 187 B |
BIN
awesome/themes/default/taglist/squarew.png
Normal file
|
After Width: | Height: | Size: 193 B |
108
awesome/themes/default/theme.lua
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
---------------------------
|
||||||
|
-- Default awesome theme --
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
local theme = {}
|
||||||
|
|
||||||
|
theme.font = "sans 8"
|
||||||
|
|
||||||
|
theme.bg_normal = "#222222"
|
||||||
|
theme.bg_focus = "#535d6c"
|
||||||
|
theme.bg_urgent = "#ff0000"
|
||||||
|
theme.bg_minimize = "#444444"
|
||||||
|
theme.bg_systray = theme.bg_normal
|
||||||
|
|
||||||
|
theme.fg_normal = "#aaaaaa"
|
||||||
|
theme.fg_focus = "#ffffff"
|
||||||
|
theme.fg_urgent = "#ffffff"
|
||||||
|
theme.fg_minimize = "#ffffff"
|
||||||
|
|
||||||
|
theme.useless_gap = 0
|
||||||
|
theme.border_width = 1
|
||||||
|
theme.border_normal = "#000000"
|
||||||
|
theme.border_focus = "#535d6c"
|
||||||
|
theme.border_marked = "#91231c"
|
||||||
|
|
||||||
|
-- There are other variable sets
|
||||||
|
-- overriding the default one when
|
||||||
|
-- defined, the sets are:
|
||||||
|
-- taglist_[bg|fg]_[focus|urgent|occupied|empty]
|
||||||
|
-- tasklist_[bg|fg]_[focus|urgent]
|
||||||
|
-- titlebar_[bg|fg]_[normal|focus]
|
||||||
|
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
|
||||||
|
-- mouse_finder_[color|timeout|animate_timeout|radius|factor]
|
||||||
|
-- Example:
|
||||||
|
--theme.taglist_bg_focus = "#ff0000"
|
||||||
|
|
||||||
|
-- Display the taglist squares
|
||||||
|
theme.taglist_squares_sel = "/usr/share/awesome/themes/default/taglist/squarefw.png"
|
||||||
|
theme.taglist_squares_unsel = "/usr/share/awesome/themes/default/taglist/squarew.png"
|
||||||
|
|
||||||
|
-- Variables set for theming the menu:
|
||||||
|
-- menu_[bg|fg]_[normal|focus]
|
||||||
|
-- menu_[border_color|border_width]
|
||||||
|
theme.menu_submenu_icon = "/usr/share/awesome/themes/default/submenu.png"
|
||||||
|
theme.menu_height = 15
|
||||||
|
theme.menu_width = 100
|
||||||
|
|
||||||
|
-- You can add as many variables as
|
||||||
|
-- you wish and access them by using
|
||||||
|
-- beautiful.variable in your rc.lua
|
||||||
|
--theme.bg_widget = "#cc0000"
|
||||||
|
|
||||||
|
-- Define the image to load
|
||||||
|
theme.titlebar_close_button_normal = "/usr/share/awesome/themes/default/titlebar/close_normal.png"
|
||||||
|
theme.titlebar_close_button_focus = "/usr/share/awesome/themes/default/titlebar/close_focus.png"
|
||||||
|
|
||||||
|
theme.titlebar_minimize_button_normal = "/usr/share/awesome/themes/default/titlebar/minimize_normal.png"
|
||||||
|
theme.titlebar_minimize_button_focus = "/usr/share/awesome/themes/default/titlebar/minimize_focus.png"
|
||||||
|
|
||||||
|
theme.titlebar_ontop_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_normal_inactive.png"
|
||||||
|
theme.titlebar_ontop_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_focus_inactive.png"
|
||||||
|
theme.titlebar_ontop_button_normal_active = "/usr/share/awesome/themes/default/titlebar/ontop_normal_active.png"
|
||||||
|
theme.titlebar_ontop_button_focus_active = "/usr/share/awesome/themes/default/titlebar/ontop_focus_active.png"
|
||||||
|
|
||||||
|
theme.titlebar_sticky_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_normal_inactive.png"
|
||||||
|
theme.titlebar_sticky_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_focus_inactive.png"
|
||||||
|
theme.titlebar_sticky_button_normal_active = "/usr/share/awesome/themes/default/titlebar/sticky_normal_active.png"
|
||||||
|
theme.titlebar_sticky_button_focus_active = "/usr/share/awesome/themes/default/titlebar/sticky_focus_active.png"
|
||||||
|
|
||||||
|
theme.titlebar_floating_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/floating_normal_inactive.png"
|
||||||
|
theme.titlebar_floating_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/floating_focus_inactive.png"
|
||||||
|
theme.titlebar_floating_button_normal_active = "/usr/share/awesome/themes/default/titlebar/floating_normal_active.png"
|
||||||
|
theme.titlebar_floating_button_focus_active = "/usr/share/awesome/themes/default/titlebar/floating_focus_active.png"
|
||||||
|
|
||||||
|
theme.titlebar_maximized_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_normal_inactive.png"
|
||||||
|
theme.titlebar_maximized_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_focus_inactive.png"
|
||||||
|
theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png"
|
||||||
|
theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png"
|
||||||
|
|
||||||
|
theme.wallpaper = "~/launcher/sys.py/gameshell/wallpaper/loading.png"
|
||||||
|
|
||||||
|
-- You can use your own layout icons like this:
|
||||||
|
theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png"
|
||||||
|
theme.layout_fairv = "/usr/share/awesome/themes/default/layouts/fairvw.png"
|
||||||
|
theme.layout_floating = "/usr/share/awesome/themes/default/layouts/floatingw.png"
|
||||||
|
theme.layout_magnifier = "/usr/share/awesome/themes/default/layouts/magnifierw.png"
|
||||||
|
theme.layout_max = "/usr/share/awesome/themes/default/layouts/maxw.png"
|
||||||
|
theme.layout_fullscreen = "/usr/share/awesome/themes/default/layouts/fullscreenw.png"
|
||||||
|
theme.layout_tilebottom = "/usr/share/awesome/themes/default/layouts/tilebottomw.png"
|
||||||
|
theme.layout_tileleft = "/usr/share/awesome/themes/default/layouts/tileleftw.png"
|
||||||
|
theme.layout_tile = "/usr/share/awesome/themes/default/layouts/tilew.png"
|
||||||
|
theme.layout_tiletop = "/usr/share/awesome/themes/default/layouts/tiletopw.png"
|
||||||
|
theme.layout_spiral = "/usr/share/awesome/themes/default/layouts/spiralw.png"
|
||||||
|
theme.layout_dwindle = "/usr/share/awesome/themes/default/layouts/dwindlew.png"
|
||||||
|
theme.layout_cornernw = "/usr/share/awesome/themes/default/layouts/cornernww.png"
|
||||||
|
theme.layout_cornerne = "/usr/share/awesome/themes/default/layouts/cornernew.png"
|
||||||
|
theme.layout_cornersw = "/usr/share/awesome/themes/default/layouts/cornersww.png"
|
||||||
|
theme.layout_cornerse = "/usr/share/awesome/themes/default/layouts/cornersew.png"
|
||||||
|
|
||||||
|
theme.awesome_icon = "/usr/share/awesome/icons/awesome16.png"
|
||||||
|
|
||||||
|
-- Define the icon theme for application icons. If not set then the icons
|
||||||
|
-- from /usr/share/icons and /usr/share/icons/hicolor will be used.
|
||||||
|
theme.icon_theme = nil
|
||||||
|
|
||||||
|
return theme
|
||||||
|
|
||||||
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||||
BIN
awesome/themes/default/titlebar/close_focus.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
awesome/themes/default/titlebar/close_normal.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
awesome/themes/default/titlebar/floating_focus_active.png
Normal file
|
After Width: | Height: | Size: 491 B |
BIN
awesome/themes/default/titlebar/floating_focus_inactive.png
Normal file
|
After Width: | Height: | Size: 350 B |
BIN
awesome/themes/default/titlebar/floating_normal_active.png
Normal file
|
After Width: | Height: | Size: 492 B |
BIN
awesome/themes/default/titlebar/floating_normal_inactive.png
Normal file
|
After Width: | Height: | Size: 350 B |
BIN
awesome/themes/default/titlebar/maximized_focus_active.png
Normal file
|
After Width: | Height: | Size: 696 B |
BIN
awesome/themes/default/titlebar/maximized_focus_inactive.png
Normal file
|
After Width: | Height: | Size: 719 B |
BIN
awesome/themes/default/titlebar/maximized_normal_active.png
Normal file
|
After Width: | Height: | Size: 693 B |
BIN
awesome/themes/default/titlebar/maximized_normal_inactive.png
Normal file
|
After Width: | Height: | Size: 695 B |
BIN
awesome/themes/default/titlebar/minimize_focus.png
Normal file
|
After Width: | Height: | Size: 277 B |
BIN
awesome/themes/default/titlebar/minimize_normal.png
Normal file
|
After Width: | Height: | Size: 272 B |
BIN
awesome/themes/default/titlebar/ontop_focus_active.png
Normal file
|
After Width: | Height: | Size: 609 B |
BIN
awesome/themes/default/titlebar/ontop_focus_inactive.png
Normal file
|
After Width: | Height: | Size: 756 B |
BIN
awesome/themes/default/titlebar/ontop_normal_active.png
Normal file
|
After Width: | Height: | Size: 619 B |
BIN
awesome/themes/default/titlebar/ontop_normal_inactive.png
Normal file
|
After Width: | Height: | Size: 769 B |
BIN
awesome/themes/default/titlebar/sticky_focus_active.png
Normal file
|
After Width: | Height: | Size: 717 B |
BIN
awesome/themes/default/titlebar/sticky_focus_inactive.png
Normal file
|
After Width: | Height: | Size: 937 B |
BIN
awesome/themes/default/titlebar/sticky_normal_active.png
Normal file
|
After Width: | Height: | Size: 726 B |
BIN
awesome/themes/default/titlebar/sticky_normal_inactive.png
Normal file
|
After Width: | Height: | Size: 981 B |
8
load.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
BASENAME=`dirname "$0"`
|
||||||
|
|
||||||
|
cd $BASENAME
|
||||||
|
|
||||||
|
./main
|
||||||
|
|
||||||
2
md5sum.log
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
9d070f637119118288b0816015af3a79 ./Menu/GameShell/HelloWorld/HelloWorld.so
|
||||||
|
f6e1ba6c553169a77dc8551f7dc7138f main
|
||||||
8
md5sum.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -x
|
||||||
|
|
||||||
|
find . -iname "*.so" -exec md5sum {} + > md5sum.log
|
||||||
|
echo `md5sum main` >> md5sum.log
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BIN
skin/default/Menu/GameShell/20_Retro Games/MAME.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
skin/default/Menu/GameShell/20_Retro Games/MGBA.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
skin/default/Menu/GameShell/20_Retro Games/NESTOPIA.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
skin/default/Menu/GameShell/CaveStory.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
skin/default/Menu/GameShell/Music Player.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
skin/default/Menu/GameShell/PowerOFF.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
skin/default/Menu/GameShell/Retro Games.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
skin/default/Menu/GameShell/RetroArch.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
skin/default/Menu/GameShell/Settings.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
skin/default/Menu/GameShell/Sleep.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
skin/default/Menu/GameShell/TinyCloud.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
skin/default/Menu/GameShell/freeDM.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
3
skin/default/config.cfg
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[Colors]
|
||||||
|
High = #33a6ff
|
||||||
|
White = #ffffff
|
||||||
BIN
skin/default/sysgo/gameshell/blank.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
skin/default/sysgo/gameshell/footbar_icons/footbar.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
skin/default/sysgo/gameshell/icons/DialogBoxs.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
skin/default/sysgo/gameshell/icons/GS.png
Normal file
|
After Width: | Height: | Size: 599 B |
BIN
skin/default/sysgo/gameshell/icons/_L.png
Normal file
|
After Width: | Height: | Size: 306 B |
BIN
skin/default/sysgo/gameshell/icons/_R.png
Normal file
|
After Width: | Height: | Size: 294 B |
BIN
skin/default/sysgo/gameshell/icons/about_bg.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
skin/default/sysgo/gameshell/icons/airwire.png
Normal file
|
After Width: | Height: | Size: 111 B |
BIN
skin/default/sysgo/gameshell/icons/blueselector.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
skin/default/sysgo/gameshell/icons/buttonslayout.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
skin/default/sysgo/gameshell/icons/done.png
Normal file
|
After Width: | Height: | Size: 198 B |