mirror of
				https://github.com/rbreaves/kinto.git
				synced 2025-11-03 21:04:00 +01:00 
			
		
		
		
	- Added proper bg color for gui, added hotkeys for ubuntu workspace switching
This commit is contained in:
		@@ -117,7 +117,6 @@ class MyWindow(Gtk.Window):
 | 
			
		||||
        self.InputToTerm(self.command)
 | 
			
		||||
 | 
			
		||||
        grid = Gtk.Grid()
 | 
			
		||||
        grid.modify_bg(Gtk.StateFlags.NORMAL, Gdk.color_parse("#2d303b"))
 | 
			
		||||
        self.add(grid)
 | 
			
		||||
 | 
			
		||||
        menubar = Gtk.MenuBar()
 | 
			
		||||
@@ -128,7 +127,10 @@ class MyWindow(Gtk.Window):
 | 
			
		||||
        scroller.set_vexpand(True)
 | 
			
		||||
        scroller.add(terminal)
 | 
			
		||||
        grid.attach(scroller, 0, 1, 1, 1)
 | 
			
		||||
        grid.attach_next_to(self.label, scroller, Gtk.PositionType.BOTTOM, 2, 1)
 | 
			
		||||
        status_hbox = Gtk.HBox()
 | 
			
		||||
        status_hbox.add(self.label)
 | 
			
		||||
        status_hbox.modify_bg(Gtk.StateFlags.NORMAL, Gdk.color_parse("#2d303b"))
 | 
			
		||||
        grid.attach_next_to(status_hbox, scroller, Gtk.PositionType.BOTTOM, 2, 1)
 | 
			
		||||
 | 
			
		||||
        with open(self.kconfig) as configfile:
 | 
			
		||||
            autostart_line = configfile.read().split('\n')[1]
 | 
			
		||||
 
 | 
			
		||||
@@ -205,8 +205,8 @@ define_keymap(None,{
 | 
			
		||||
    K("RC-Space"): K("Alt-F1"),                   # Default SL - Launch Application Menu (gnome/kde)
 | 
			
		||||
    K("RC-F3"):K("Super-d"),                      # Default SL - Show Desktop (gnome/kde,eos)
 | 
			
		||||
    K("RC-LC-f"):K("M-F10"),                      # Default SL - Maximize app (gnome/kde)
 | 
			
		||||
    K("Super-Right"):K("C-M-Right"),              # Default SL - Change workspace (ubuntu/fedora/budgie)
 | 
			
		||||
    K("Super-Left"):K("C-M-Left"),                # Default SL - Change workspace (ubuntu/fedora/budgie)
 | 
			
		||||
    K("Super-Right"):K("C-M-Right"),              # Default SL - Change workspace (fedora/budgie)
 | 
			
		||||
    K("Super-Left"):K("C-M-Left"),                # Default SL - Change workspace (fedora/budgie)
 | 
			
		||||
    K("RC-Q"): K("M-F4"),                         # Default SL - not-popos
 | 
			
		||||
    K("RC-H"):K("Super-h"),                       # Default SL - Minimize app (gnome/budgie)
 | 
			
		||||
    K("M-Tab"): pass_through_key,                 # Default not-xfce4 - Cmd Tab - App Switching Default
 | 
			
		||||
@@ -214,6 +214,8 @@ define_keymap(None,{
 | 
			
		||||
    K("RC-Shift-Tab"): K("M-Shift-Tab"),          # Default not-xfce4 - Cmd Tab - App Switching Default
 | 
			
		||||
    K("RC-Grave"): K("M-Grave"),                  # Default not-xfce4 - Cmd ` - Same App Switching
 | 
			
		||||
    K("RC-Shift-Grave"): K("M-Grave"),            # Default not-xfce4 - Cmd ` - Same App Switching
 | 
			
		||||
    # K("Super-Right"):K("Super-Page_Up"),          # SL - Change workspace (ubuntu)
 | 
			
		||||
    # K("Super-Left"):K("Super-Page_Down"),         # SL - Change workspace (ubuntu)
 | 
			
		||||
    # K("RC-Space"): K("LC-Esc"),                   # xfce4     - Launch Application Menu
 | 
			
		||||
    # K("RC-F3"):K("C-M-d"),                        # xfce4     - Show Desktop
 | 
			
		||||
    # K("RC-LC-f"):K("LC-Super-Up"),                # popos     - Maximize app
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user