mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2023-02-13 20:55:19 -05:00
Playing with qtile config.
This commit is contained in:
parent
f7915df39a
commit
8a2e482edc
4 changed files with 71 additions and 120 deletions
|
@ -1,14 +1,14 @@
|
|||
[xin_0]
|
||||
file=/home/dt/wallpapers/0213.jpg
|
||||
file=/home/dt/wallpapers/wp4049315.jpg
|
||||
mode=0
|
||||
bgcolor=#000000
|
||||
|
||||
[xin_1]
|
||||
file=/home/dt/wallpapers/0213.jpg
|
||||
file=/home/dt/wallpapers/wp4049315.jpg
|
||||
mode=0
|
||||
bgcolor=#000000
|
||||
|
||||
[xin_2]
|
||||
file=/home/dt/wallpapers/0213.jpg
|
||||
file=/home/dt/wallpapers/wp4049315.jpg
|
||||
mode=0
|
||||
bgcolor=#000000
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[geometry]
|
||||
posx=3840
|
||||
posy=21
|
||||
sizex=1920
|
||||
sizey=1059
|
||||
posx=1926
|
||||
posy=26
|
||||
sizex=1904
|
||||
sizey=1044
|
||||
|
||||
[nitrogen]
|
||||
view=icon
|
||||
|
|
|
@ -108,8 +108,8 @@ keys = [
|
|||
desc='Launches My Terminal'
|
||||
),
|
||||
Key([mod, "shift"], "Return",
|
||||
# lazy.spawn("dmenu_run -p 'Run: '"),
|
||||
lazy.spawn("rofi -show drun -config ~/.config/rofi/themes/dt-dmenu.rasi -display-drun \"Run: \" -drun-display-format \"{name}\""),
|
||||
lazy.spawn("dmenu_run -p 'Run: '"),
|
||||
# lazy.spawn("rofi -show drun -config ~/.config/rofi/themes/dt-dmenu.rasi -display-drun \"Run: \" -drun-display-format \"{name}\""),
|
||||
desc='Run Launcher'
|
||||
),
|
||||
Key([mod], "Tab",
|
||||
|
@ -220,92 +220,31 @@ keys = [
|
|||
lazy.layout.toggle_split(),
|
||||
desc='Toggle between split and unsplit sides of stack'
|
||||
),
|
||||
### Dmenu scripts launched with ALT + CTRL + KEY
|
||||
Key(["mod1", "control"], "e",
|
||||
lazy.spawn("./.dmenu/dmenu-edit-configs.sh"),
|
||||
desc='Dmenu script for editing config files'
|
||||
),
|
||||
Key(["mod1", "control"], "m",
|
||||
lazy.spawn("./.dmenu/dmenu-sysmon.sh"),
|
||||
desc='Dmenu system monitor script'
|
||||
),
|
||||
Key(["mod1", "control"], "p",
|
||||
lazy.spawn("passmenu"),
|
||||
desc='Passmenu'
|
||||
),
|
||||
Key(["mod1", "control"], "r",
|
||||
desc='Dmenu reddio script'
|
||||
),
|
||||
Key(["mod1", "control"], "s",
|
||||
lazy.spawn("./.dmenu/dmenu-surfraw.sh"),
|
||||
desc='Dmenu surfraw script'
|
||||
),
|
||||
Key(["mod1", "control"], "t",
|
||||
lazy.spawn("./.dmenu/dmenu-trading.sh"),
|
||||
desc='Dmenu trading programs script'
|
||||
),
|
||||
Key(["mod1", "control"], "i",
|
||||
lazy.spawn("./.dmenu/dmenu-scrot.sh"),
|
||||
desc='Dmenu scrot script'
|
||||
),
|
||||
### My applications launched with SUPER + ALT + KEY
|
||||
Key([mod, "mod1"], "b",
|
||||
lazy.spawn("tabbed -r 2 surf -pe x '.surf/html/homepage.html'"),
|
||||
desc='lynx browser'
|
||||
),
|
||||
Key([mod, "mod1"], "l",
|
||||
lazy.spawn(myTerm+" -e lynx gopher://distro.tube"),
|
||||
desc='lynx browser'
|
||||
),
|
||||
Key([mod, "mod1"], "n",
|
||||
lazy.spawn(myTerm+" -e newsboat"),
|
||||
desc='newsboat'
|
||||
),
|
||||
Key([mod, "mod1"], "r",
|
||||
lazy.spawn(myTerm+" -e rtv"),
|
||||
desc='reddit terminal viewer'
|
||||
),
|
||||
Key([mod, "mod1"], "e",
|
||||
lazy.spawn(myTerm+" -e neomutt"),
|
||||
desc='neomutt'
|
||||
),
|
||||
Key([mod, "mod1"], "m",
|
||||
lazy.spawn(myTerm+" -e sh ./scripts/toot.sh"),
|
||||
desc='toot mastodon cli'
|
||||
),
|
||||
Key([mod, "mod1"], "t",
|
||||
lazy.spawn(myTerm+" -e sh ./scripts/tig-script.sh"),
|
||||
desc='tig'
|
||||
),
|
||||
Key([mod, "mod1"], "f",
|
||||
lazy.spawn(myTerm+" -e sh ./.config/vifm/scripts/vifmrun"),
|
||||
desc='vifm'
|
||||
),
|
||||
Key([mod, "mod1"], "j",
|
||||
lazy.spawn(myTerm+" -e joplin"),
|
||||
desc='joplin'
|
||||
),
|
||||
Key([mod, "mod1"], "c",
|
||||
lazy.spawn(myTerm+" -e cmus"),
|
||||
desc='cmus'
|
||||
),
|
||||
Key([mod, "mod1"], "i",
|
||||
lazy.spawn(myTerm+" -e irssi"),
|
||||
desc='irssi'
|
||||
),
|
||||
Key([mod, "mod1"], "y",
|
||||
lazy.spawn(myTerm+" -e youtube-viewer"),
|
||||
desc='youtube-viewer'
|
||||
),
|
||||
Key([mod, "mod1"], "a",
|
||||
lazy.spawn(myTerm+" -e ncpamixer"),
|
||||
desc='ncpamixer'
|
||||
),
|
||||
# Emacs programs launched using the key chord CTRL+e followed by 'key'
|
||||
KeyChord(["control"],"e", [
|
||||
Key([], "e", lazy.spawn("emacsclient -c -a 'emacs'")),
|
||||
Key([], "b", lazy.spawn("emacsclient -c -a 'emacs' --eval '(ibuffer)'")),
|
||||
Key([], "d", lazy.spawn("emacsclient -c -a 'emacs' --eval '(dired nil)'")),
|
||||
Key([], "i", lazy.spawn("emacsclient -c -a 'emacs' --eval '(erc)'")),
|
||||
Key([], "m", lazy.spawn("emacsclient -c -a 'emacs' --eval '(mu4e)'")),
|
||||
Key([], "n", lazy.spawn("emacsclient -c -a 'emacs' --eval '(elfeed)'")),
|
||||
Key([], "s", lazy.spawn("emacsclient -c -a 'emacs' --eval '(eshell)'")),
|
||||
Key([], "v", lazy.spawn("emacsclient -c -a 'emacs' --eval '(+vterm/here nil)'"))
|
||||
]),
|
||||
# Dmenu scripts launched using the key chord SUPER+p followed by 'key'
|
||||
KeyChord([mod], "p", [
|
||||
Key([], "e", lazy.spawn("./dmscripts/dmconf")),
|
||||
Key([], "i", lazy.spawn("./dmscripts/dmscrot")),
|
||||
Key([], "k", lazy.spawn("./dmscripts/dmkill")),
|
||||
Key([], "l", lazy.spawn("./dmscripts/dmlogout")),
|
||||
Key([], "m", lazy.spawn("./dmscripts/dman")),
|
||||
Key([], "r", lazy.spawn("./dmscripts/dmred")),
|
||||
Key([], "s", lazy.spawn("./dmscripts/dmsearch")),
|
||||
Key([], "p", lazy.spawn("passmenu"))
|
||||
])
|
||||
]
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS:
|
||||
|
||||
* Groups
|
||||
Groups are really workspaces.
|
||||
|
||||
|
@ -423,6 +362,12 @@ def init_widgets_list():
|
|||
filename = "~/.config/qtile/icons/python.png",
|
||||
mouse_callbacks = {'Button1': lambda qtile: qtile.cmd_spawn('dmenu_run')}
|
||||
),
|
||||
widget.Sep(
|
||||
linewidth = 0,
|
||||
padding = 6,
|
||||
foreground = colors[2],
|
||||
background = colors[0]
|
||||
),
|
||||
widget.GroupBox(
|
||||
font = "Ubuntu Bold",
|
||||
fontsize = 9,
|
||||
|
@ -436,10 +381,10 @@ def init_widgets_list():
|
|||
rounded = False,
|
||||
highlight_color = colors[1],
|
||||
highlight_method = "line",
|
||||
this_current_screen_border = colors[3],
|
||||
this_current_screen_border = colors[6],
|
||||
this_screen_border = colors [4],
|
||||
other_current_screen_border = colors[0],
|
||||
other_screen_border = colors[0],
|
||||
other_current_screen_border = colors[6],
|
||||
other_screen_border = colors[4],
|
||||
foreground = colors[2],
|
||||
background = colors[0]
|
||||
),
|
||||
|
@ -461,6 +406,16 @@ def init_widgets_list():
|
|||
background = colors[0],
|
||||
padding = 0
|
||||
),
|
||||
widget.Systray(
|
||||
background = colors[0],
|
||||
padding = 5
|
||||
),
|
||||
widget.Sep(
|
||||
linewidth = 0,
|
||||
padding = 6,
|
||||
foreground = colors[0],
|
||||
background = colors[0]
|
||||
),
|
||||
widget.TextBox(
|
||||
text = '',
|
||||
background = colors[0],
|
||||
|
@ -603,17 +558,7 @@ def init_widgets_list():
|
|||
widget.Clock(
|
||||
foreground = colors[2],
|
||||
background = colors[5],
|
||||
format = "%A, %B %d [ %H:%M ]"
|
||||
),
|
||||
widget.Sep(
|
||||
linewidth = 0,
|
||||
padding = 10,
|
||||
foreground = colors[0],
|
||||
background = colors[5]
|
||||
),
|
||||
widget.Systray(
|
||||
background = colors[0],
|
||||
padding = 5
|
||||
format = "%A, %B %d - %H:%M "
|
||||
),
|
||||
]
|
||||
return widgets_list
|
||||
|
|
|
@ -239,6 +239,12 @@ def init_widgets_list():
|
|||
filename = "~/.config/qtile/icons/python.png",
|
||||
mouse_callbacks = {'Button1': lambda qtile: qtile.cmd_spawn('dmenu_run')}
|
||||
),
|
||||
widget.Sep(
|
||||
linewidth = 0,
|
||||
padding = 6,
|
||||
foreground = colors[2],
|
||||
background = colors[0]
|
||||
),
|
||||
widget.GroupBox(
|
||||
font = "Ubuntu Bold",
|
||||
fontsize = 9,
|
||||
|
@ -252,10 +258,10 @@ def init_widgets_list():
|
|||
rounded = False,
|
||||
highlight_color = colors[1],
|
||||
highlight_method = "line",
|
||||
this_current_screen_border = colors[3],
|
||||
this_current_screen_border = colors[6],
|
||||
this_screen_border = colors [4],
|
||||
other_current_screen_border = colors[0],
|
||||
other_screen_border = colors[0],
|
||||
other_current_screen_border = colors[6],
|
||||
other_screen_border = colors[4],
|
||||
foreground = colors[2],
|
||||
background = colors[0]
|
||||
),
|
||||
|
@ -277,6 +283,16 @@ def init_widgets_list():
|
|||
background = colors[0],
|
||||
padding = 0
|
||||
),
|
||||
widget.Systray(
|
||||
background = colors[0],
|
||||
padding = 5
|
||||
),
|
||||
widget.Sep(
|
||||
linewidth = 0,
|
||||
padding = 6,
|
||||
foreground = colors[0],
|
||||
background = colors[0]
|
||||
),
|
||||
widget.TextBox(
|
||||
text = '',
|
||||
background = colors[0],
|
||||
|
@ -419,17 +435,7 @@ def init_widgets_list():
|
|||
widget.Clock(
|
||||
foreground = colors[2],
|
||||
background = colors[5],
|
||||
format = "%A, %B %d [ %H:%M ]"
|
||||
),
|
||||
widget.Sep(
|
||||
linewidth = 0,
|
||||
padding = 10,
|
||||
foreground = colors[0],
|
||||
background = colors[5]
|
||||
),
|
||||
widget.Systray(
|
||||
background = colors[0],
|
||||
padding = 5
|
||||
format = "%A, %B %d - %H:%M "
|
||||
),
|
||||
]
|
||||
return widgets_list
|
||||
|
|
Loading…
Add table
Reference in a new issue