summaryrefslogtreecommitdiffstats
path: root/.config/qtile
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2022-03-06 14:23:13 +0100
committerjdlugosz963 <jdlugosz963@gmail.com>2022-03-06 14:23:13 +0100
commit5adaade5119a56fdb170788429f3809a606dfb0e (patch)
tree88c7f507c42daaa6dc271aedebb7cdb888027057 /.config/qtile
parent6e3d2f12b249fded40251508ff71794cde3ee6f8 (diff)
downloaddotfiles-5adaade5119a56fdb170788429f3809a606dfb0e.tar.gz
dotfiles-5adaade5119a56fdb170788429f3809a606dfb0e.zip
update config
Diffstat (limited to '.config/qtile')
-rwxr-xr-x.config/qtile/autorc8
-rw-r--r--.config/qtile/config.py53
2 files changed, 11 insertions, 50 deletions
diff --git a/.config/qtile/autorc b/.config/qtile/autorc
index e195665..217adb9 100755
--- a/.config/qtile/autorc
+++ b/.config/qtile/autorc
@@ -20,8 +20,10 @@ function start() {
20 $($1 $2) & 20 $($1 $2) &
21} 21}
22 22
23start nitrogen "--restore" 23# monitor_settings
24monitor_settings
25caps_to_esc 24caps_to_esc
26 25
27start picom "-b -D 4 --vsync" 26start nitrogen "--restore"
27start picom ""
28start spotifyd ""
29start rclone "mount remote:/sync /home/jd/sync/"
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index 1741027..57f75d8 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -77,11 +77,12 @@ keys = [
77 77
78 Key([mod, "mod1"], "q", lazy.spawn("qutebrowser"), desc="Spawn qutebrowser"), 78 Key([mod, "mod1"], "q", lazy.spawn("qutebrowser"), desc="Spawn qutebrowser"),
79 Key([mod, "mod1"], "b", lazy.spawn("brave"), desc="Spawn brave"), 79 Key([mod, "mod1"], "b", lazy.spawn("brave"), desc="Spawn brave"),
80 Key([mod, "mod1"], "f", lazy.spawn("firefox netflix.com"), desc="Spawn firefox"), 80 Key([mod, "mod1"], "f", lazy.spawn("firefox-bin"), desc="Spawn firefox"),
81 Key([mod, "mod1"], "e", lazy.spawn("emacs"), desc="Spawn emacs"), 81 Key([mod, "mod1"], "e", lazy.spawn("emacs"), desc="Spawn emacs"),
82 Key([mod, "mod1"], "s", lazy.spawn("alacritty -e spt"), desc="Spawn spt (spotify clent)"), 82 Key([mod, "mod1"], "s", lazy.spawn("alacritty -e spt"), desc="Spawn spt (spotify clent)"),
83 Key([mod, "mod1"], "g", lazy.spawn("alacritty -e /home/jakub/.config/qtile/mdt_shell"), desc="connect to google coral device"), 83 Key([mod, "mod1"], "g", lazy.spawn("alacritty -e /home/jakub/.config/qtile/mdt_shell"), desc="connect to google coral device"),
84 Key([mod, "mod1"], "l", lazy.spawn("slock"), desc="lock desktop"), 84 Key([mod, "mod1"], "l", lazy.spawn("slock"), desc="lock desktop"),
85 Key([mod, "mod1"], "r", lazy.spawn("alacritty -e ranger"), desc="Spawn ranger (file manager)"),
85] 86]
86groups_names = [ 87groups_names = [
87 "dev", 88 "dev",
@@ -171,55 +172,13 @@ screens = [
171 widget.Prompt(), 172 widget.Prompt(),
172 widget.Sep(**transparent_sep), 173 widget.Sep(**transparent_sep),
173 widget.WindowName(), 174 widget.WindowName(),
174 widget.Net(format="↓{down} ↑{up}", foreground=YELLOW), 175 widget.Net(format="🌐 ↓{down} ↑{up}", foreground=YELLOW),
175 widget.Sep(**soft_sep), 176 widget.Sep(**soft_sep),
176 widget.CPU(format=' {load_percent}%', fontsize=12, foreground=RED), 177 widget.CPU(format='💻 {load_percent}%', fontsize=12, foreground=RED),
177 widget.Sep(**soft_sep), 178 widget.Sep(**soft_sep),
178 widget.Battery(foreground=GREEN), 179 widget.Battery(format='🔋 {char} {percent:2.0%} {hour:d}:{min:02d} {watt:.2f} W', foreground=GREEN),
179 widget.Sep(**soft_sep), 180 widget.Sep(**soft_sep),
180 widget.Clock(format='%B %-d, %H:%M', foreground=CYAN), 181 widget.Clock(format='📅 %B %-d, %H:%M', foreground=CYAN),
181 widget.Sep(**soft_sep),
182 widget.CurrentScreen()
183 ],
184 24,
185 margin=8,
186 background=BAR,
187 border_color=CYAN,
188 border_width=1
189 ),
190 ),
191 Screen(
192 top=bar.Bar(
193 [
194 widget.Sep(**transparent_sep),
195 widget.Image(filename="~/.config/qtile/python.png", margin=4),
196 widget.Sep(**transparent_sep),
197 widget.CurrentLayout(),
198 widget.Sep(**transparent_sep),
199 widget.GroupBox(
200 margin_y = 3,
201 margin_x = 0,
202 padding_y = 5,
203 padding_x = 3,
204 borderwidth = 3,
205 rounded = False,
206 highlight_color = LIGHT_BAR,
207 highlight_method = "line",
208 this_current_screen_border = CYAN,
209 this_screen_border = CYAN,
210 other_current_screen_border = LIGHT_BAR,
211 other_screen_border = LIGHT_BAR,
212 ),
213 widget.Prompt(),
214 widget.Sep(**transparent_sep),
215 widget.WindowName(),
216 widget.Net(format="↓{down} ↑{up}", foreground=YELLOW),
217 widget.Sep(**soft_sep),
218 widget.CPU(format=' {load_percent}%', fontsize=12, foreground=RED),
219 widget.Sep(**soft_sep),
220 widget.Battery(foreground=GREEN),
221 widget.Sep(**soft_sep),
222 widget.Clock(format='%B %-d, %H:%M', foreground=CYAN),
223 widget.Sep(**soft_sep), 182 widget.Sep(**soft_sep),
224 widget.CurrentScreen() 183 widget.CurrentScreen()
225 ], 184 ],