summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/qtile/__pycache__/config.cpython-310.pycbin0 -> 5643 bytes
-rw-r--r--.config/qtile/__pycache__/config.cpython-38.pycbin0 -> 5728 bytes
-rwxr-xr-x.config/qtile/autorc13
-rw-r--r--.config/qtile/config.py69
-rwxr-xr-x.config/qtile/mdt_shell1
-rw-r--r--.doom.d/config.el53
-rw-r--r--.doom.d/doom.pngbin0 -> 53691 bytes
-rw-r--r--.doom.d/init.el2
-rw-r--r--.doom.d/packages.el6
9 files changed, 132 insertions, 12 deletions
diff --git a/.config/qtile/__pycache__/config.cpython-310.pyc b/.config/qtile/__pycache__/config.cpython-310.pyc
new file mode 100644
index 0000000..542d4c5
--- /dev/null
+++ b/.config/qtile/__pycache__/config.cpython-310.pyc
Binary files differ
diff --git a/.config/qtile/__pycache__/config.cpython-38.pyc b/.config/qtile/__pycache__/config.cpython-38.pyc
new file mode 100644
index 0000000..66d3302
--- /dev/null
+++ b/.config/qtile/__pycache__/config.cpython-38.pyc
Binary files differ
diff --git a/.config/qtile/autorc b/.config/qtile/autorc
index 14969c9..e195665 100755
--- a/.config/qtile/autorc
+++ b/.config/qtile/autorc
@@ -1,12 +1,14 @@
1#!/bin/bash 1#!/bin/bash
2 2
3function off_monitor_if_hdmi_plugged_in() { 3function monitor_settings() {
4 sleep .5
4 monitor_status=$(xrandr | grep "HDMI-1-4 connected" | wc -l) 5 monitor_status=$(xrandr | grep "HDMI-1-4 connected" | wc -l)
5 6
6 if [ $monitor_status == 1 ]; 7 if [ $monitor_status == 1 ];
7 then 8 then
8 xrandr --auto 9 # xrandr --auto
9 xrandr --output eDP-1 --off 10 # xrandr --output eDP-1 --off
11 xrandr --output eDP-1-1 --auto --output HDMI-0 --auto --left-of eDP-1-1
10 fi 12 fi
11} 13}
12 14
@@ -18,9 +20,8 @@ function start() {
18 $($1 $2) & 20 $($1 $2) &
19} 21}
20 22
21off_monitor_if_hdmi_plugged_in 23start nitrogen "--restore"
24monitor_settings
22caps_to_esc 25caps_to_esc
23 26
24start picom "-b -D 4 --vsync" 27start picom "-b -D 4 --vsync"
25start nitrogen "--restore"
26start run_spotifyd
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index 0ab888b..1741027 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -14,10 +14,13 @@ mod = "mod4"
14terminal = guess_terminal() 14terminal = guess_terminal()
15 15
16BAR = '#282a36' 16BAR = '#282a36'
17LIGHT_BAR = '#393b37'
17YELLOW = '#f1fa8c' 18YELLOW = '#f1fa8c'
18RED = '#ff5555' 19RED = '#ff5555'
20LIGHT_RED = '#ff9999'
19GREEN = '#50fa7b' 21GREEN = '#50fa7b'
20CYAN = '#8be9fd' 22CYAN = '#8be9fd'
23LIGHT_CYAN = '#abfbff'
21 24
22 25
23@hook.subscribe.startup_once 26@hook.subscribe.startup_once
@@ -30,6 +33,7 @@ keys = [
30 Key([mod], "l", lazy.layout.right(), desc="Move focus to right"), 33 Key([mod], "l", lazy.layout.right(), desc="Move focus to right"),
31 Key([mod], "j", lazy.layout.down(), desc="Move focus down"), 34 Key([mod], "j", lazy.layout.down(), desc="Move focus down"),
32 Key([mod], "k", lazy.layout.up(), desc="Move focus up"), 35 Key([mod], "k", lazy.layout.up(), desc="Move focus up"),
36 Key([mod], "s", lazy.next_screen() ),
33 Key([mod], "space", lazy.layout.next(), 37 Key([mod], "space", lazy.layout.next(),
34 desc="Move window focus to other window"), 38 desc="Move window focus to other window"),
35 39
@@ -59,6 +63,7 @@ keys = [
59 63
60 Key([mod, "control"], "r", lazy.restart(), desc="Restart Qtile"), 64 Key([mod, "control"], "r", lazy.restart(), desc="Restart Qtile"),
61 Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"), 65 Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"),
66
62 Key([mod], "r", lazy.spawncmd(), 67 Key([mod], "r", lazy.spawncmd(),
63 desc="Spawn a command using a prompt widget"), 68 desc="Spawn a command using a prompt widget"),
64 69
@@ -72,8 +77,11 @@ keys = [
72 77
73 Key([mod, "mod1"], "q", lazy.spawn("qutebrowser"), desc="Spawn qutebrowser"), 78 Key([mod, "mod1"], "q", lazy.spawn("qutebrowser"), desc="Spawn qutebrowser"),
74 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"),
75 Key([mod, "mod1"], "e", lazy.spawn("emacs"), desc="Spawn emacs"), 81 Key([mod, "mod1"], "e", lazy.spawn("emacs"), desc="Spawn emacs"),
76 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"),
84 Key([mod, "mod1"], "l", lazy.spawn("slock"), desc="lock desktop"),
77] 85]
78groups_names = [ 86groups_names = [
79 "dev", 87 "dev",
@@ -146,7 +154,20 @@ screens = [
146 widget.Sep(**transparent_sep), 154 widget.Sep(**transparent_sep),
147 widget.CurrentLayout(), 155 widget.CurrentLayout(),
148 widget.Sep(**transparent_sep), 156 widget.Sep(**transparent_sep),
149 widget.GroupBox(), 157 widget.GroupBox(
158 margin_y = 3,
159 margin_x = 0,
160 padding_y = 5,
161 padding_x = 3,
162 borderwidth = 3,
163 rounded = False,
164 highlight_color = LIGHT_BAR,
165 highlight_method = "line",
166 this_current_screen_border = CYAN,
167 this_screen_border = CYAN,
168 other_current_screen_border = LIGHT_BAR,
169 other_screen_border = LIGHT_BAR,
170 ),
150 widget.Prompt(), 171 widget.Prompt(),
151 widget.Sep(**transparent_sep), 172 widget.Sep(**transparent_sep),
152 widget.WindowName(), 173 widget.WindowName(),
@@ -156,7 +177,51 @@ screens = [
156 widget.Sep(**soft_sep), 177 widget.Sep(**soft_sep),
157 widget.Battery(foreground=GREEN), 178 widget.Battery(foreground=GREEN),
158 widget.Sep(**soft_sep), 179 widget.Sep(**soft_sep),
159 widget.Clock(timezone='Europe/Warsaw', format='%B %-d, %H:%M', foreground=CYAN), 180 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),
224 widget.CurrentScreen()
160 ], 225 ],
161 24, 226 24,
162 margin=8, 227 margin=8,
diff --git a/.config/qtile/mdt_shell b/.config/qtile/mdt_shell
new file mode 100755
index 0000000..90fa6f3
--- /dev/null
+++ b/.config/qtile/mdt_shell
@@ -0,0 +1 @@
TERM=xterm-256color /home/jakub/.local/bin/mdt shell
diff --git a/.doom.d/config.el b/.doom.d/config.el
index 851c998..589e66f 100644
--- a/.doom.d/config.el
+++ b/.doom.d/config.el
@@ -14,4 +14,55 @@
14 14
15(setq fancy-splash-image "~/.doom.d/doom.png") 15(setq fancy-splash-image "~/.doom.d/doom.png")
16 16
17(use-package! lsp-tailwindcss) 17
18(set-email-account!
19 "gmail"
20 '((mu4e-sent-folder . "/\[Gmail\].Wa\&AXw-ne")
21 (mu4e-trash-folder . "/\[Gmail\].Kosz")
22 (smtpmail-smtp-user . "jdlugosz963@gmail.com"))
23 t)
24
25(setq mu4e-get-mail-command "offlineimap index"
26 mu4e-update-interval 300
27 mu4e-compose-format-flowed t
28 mu4e-index-cleanup nil
29 mu4e-index-lazy-check t
30 mu4e-headers-date-format "%d.%m.%y")
31
32
33(custom-set-faces
34 '(org-level-1 ((t (:inherit outline-1 :height 1.2))))
35 '(org-level-2 ((t (:inherit outline-2 :height 1.1))))
36 '(org-level-3 ((t (:inherit outline-3 :height 1.05))))
37 '(org-level-4 ((t (:inherit outline-4 :height 1.025))))
38 '(org-level-5 ((t (:inherit outline-5 :height 1.0)))))
39
40(setq org-ellipsis " ▼ ")
41
42(use-package! org-bullets
43 :after org
44 :hook (org-mode . org-bullets-mode)
45 :config
46 (setq org-bullets-bullet-list '("◉" "●" "○" "◆" "●" "○" "◆"))
47 )
48
49(use-package org-roam
50 :ensure t
51 :custom
52 (org-roam-directory (file-truename "~/Notes/roam/"))
53 :bind (("C-c n l" . org-roam-buffer-toggle)
54 ("C-c n f" . org-roam-node-find)
55 ("C-c n g" . org-roam-graph)
56 ("C-c n i" . org-roam-node-insert)
57 ("C-c n c" . org-roam-capture)
58 ;; Dailies
59 ("C-c n j" . org-roam-dailies-capture-today))
60 :config
61 ;; If you're using a vertical completion framework, you might want a more informative completion interface
62 (setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
63 (org-roam-db-autosync-mode)
64 ;; If using org-roam-protocol
65 (require 'org-roam-protocol))
66
67(global-set-key (kbd "<f8>") 'org-tree-slide-mode)
68(global-set-key (kbd "S-<f8>") 'org-tree-slide-skip-done-toggle)
diff --git a/.doom.d/doom.png b/.doom.d/doom.png
new file mode 100644
index 0000000..4020f33
--- /dev/null
+++ b/.doom.d/doom.png
Binary files differ
diff --git a/.doom.d/init.el b/.doom.d/init.el
index dc33adb..11c4398 100644
--- a/.doom.d/init.el
+++ b/.doom.d/init.el
@@ -160,7 +160,7 @@
160 rest ; Emacs as a REST client 160 rest ; Emacs as a REST client
161 ;;rst ; ReST in peace 161 ;;rst ; ReST in peace
162 ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} 162 ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
163 ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() 163 rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
164 ;;scala ; java, but good 164 ;;scala ; java, but good
165 ;;(scheme +guile) ; a fully conniving family of lisps 165 ;;(scheme +guile) ; a fully conniving family of lisps
166 sh ; she sells {ba,z,fi}sh shells on the C xor 166 sh ; she sells {ba,z,fi}sh shells on the C xor
diff --git a/.doom.d/packages.el b/.doom.d/packages.el
index a62bb6f..69a9d74 100644
--- a/.doom.d/packages.el
+++ b/.doom.d/packages.el
@@ -1,5 +1,3 @@
1(package! lsp-tailwindcss :recipe (:host github :repo "merrickluo/lsp-tailwindcss"))
2
3;; -*- no-byte-compile: t; -*- 1;; -*- no-byte-compile: t; -*-
4;;; $DOOMDIR/packages.el 2;;; $DOOMDIR/packages.el
5 3
@@ -50,3 +48,7 @@
50;(unpin! pinned-package another-pinned-package) 48;(unpin! pinned-package another-pinned-package)
51;; ...Or *all* packages (NOT RECOMMENDED; will likely break things) 49;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
52;(unpin! t) 50;(unpin! t)
51
52(package! org-roam)
53(package! org-tree-slide)
54(package! org-bullets)