<s> from libqtile . config import Key , Screen , Group , Drag , Click <EOL> from libqtile . command import lazy <EOL> from libqtile import layout , bar , widget <EOL> mod = "<STR_LIT>" <EOL> keys = [ <EOL> Key ( <EOL> [ mod ] , "<STR_LIT:k>" , <EOL> lazy . layout . down ( ) <EOL> ) , <EOL> Key ( <EOL> [ mod ] , "<STR_LIT>" , <EOL> lazy . layout . up ( ) <EOL> ) , <EOL> Key ( <EOL> [ mod , "<STR_LIT>" ] , "<STR_LIT:k>" , <EOL> lazy . layout . shuffle_down ( ) <EOL> ) , <EOL> Key ( <EOL> [ mod , "<STR_LIT>" ] , "<STR_LIT>" , <EOL> lazy . layout . shuffle_up ( ) <EOL> ) , <EOL> Key ( <EOL> [ mod ] , "<STR_LIT>" , <EOL> lazy . layout . next ( ) <EOL> ) , <EOL> Key ( <EOL> [ mod , "<STR_LIT>" ] , "<STR_LIT>" , <EOL> lazy . layout . rotate ( ) <EOL> ) , <EOL> Key ( <EOL> [ mod , "<STR_LIT>" ] , "<STR_LIT>" , <EOL> lazy . layout . toggle_split ( ) <EOL> ) , <EOL> Key ( [ mod ] , "<STR_LIT>" , lazy . spawn ( "<STR_LIT>" ) ) , <EOL> Key ( [ mod ] , "<STR_LIT>" , lazy . next_layout ( ) ) , <EOL> Key ( [ mod ] , "<STR_LIT:w>" , lazy . window . kill ( ) ) , <EOL> Key ( [ mod , "<STR_LIT>" ] , "<STR_LIT:r>" , lazy . restart ( ) ) , <EOL> Key ( [ mod , "<STR_LIT>" ] , "<STR_LIT:q>" , lazy . shutdown ( ) ) , <EOL> Key ( [ mod ] , "<STR_LIT:r>" , lazy . spawncmd ( ) ) , <EOL> ] <EOL> groups = [ Group ( i ) for i in "<STR_LIT>" ] <EOL> for i in groups : <EOL> keys . append ( <EOL> Key ( [ mod ] , i . name , lazy . group [ i . name ] . toscreen ( ) ) <EOL> ) <EOL> keys . append ( <EOL> Key ( [ mod , "<STR_LIT>" ] , i . name , lazy . window . togroup ( i . name ) ) <EOL> ) <EOL> layouts = [ <EOL> layout . Max ( ) , <EOL> layout . Stack ( num_stacks = <NUM_LIT:2> ) <EOL> ] <EOL> widget_defaults = dict ( <EOL> font = '<STR_LIT>' , <EOL> fontsize = <NUM_LIT:16> , <EOL> padding = <NUM_LIT:3> , <EOL> ) <EOL> screens = [ <EOL> Screen ( <EOL> bottom = bar . Bar ( <EOL> [ <EOL> widget . GroupBox ( ) , <EOL> widget . Prompt ( ) , <EOL> widget . WindowName ( ) , <EOL> widget . TextBox ( "<STR_LIT>" , name = "<STR_LIT:default>" ) , <EOL> widget . Systray ( ) , <EOL> widget . Clock ( format = '<STR_LIT>' ) , <EOL> ] , <EOL> <NUM_LIT:30> , <EOL> ) , <EOL> ) , <EOL> ] <EOL> mouse = [ <EOL> Drag ( [ mod ] , "<STR_LIT>" , lazy . window . set_position_floating ( ) , <EOL> start = lazy . window . get_position ( ) ) , <EOL> Drag ( [ mod ] , "<STR_LIT>" , lazy . window . set_size_floating ( ) , <EOL> start = lazy . window . get_size ( ) ) , <EOL> Click ( [ mod ] , "<STR_LIT>" , lazy . window . bring_to_front ( ) ) <EOL> ] <EOL> dgroups_key_binder = None <EOL> dgroups_app_rules = [ ] <EOL> main = None <EOL> follow_mouse_focus = True <EOL> bring_front_click = False <EOL> cursor_warp = False <EOL> floating_layout = layout . Floating ( ) <EOL> auto_fullscreen = True <EOL> focus_on_window_activation = "<STR_LIT>" <EOL> wmname = "<STR_LIT>" </s>
