summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/dunst/dunstrc177
-rw-r--r--.config/guix/.gitignore1
-rwxr-xr-x.config/guix/channels.scm10
-rw-r--r--.config/picom/picom.conf117
-rw-r--r--.config/polybar/config.ini122
-rwxr-xr-x.config/qtile/autorc31
-rw-r--r--.config/qtile/config.py232
-rwxr-xr-x.config/qtile/mdt_shell1
-rw-r--r--.config/qtile/photos/desktop.pngbin1555228 -> 0 bytes
-rw-r--r--.config/qtile/python.pngbin52166 -> 0 bytes
-rw-r--r--.config/qtile/readme.org5
-rw-r--r--.config/sway/config193
-rw-r--r--.config/waybar/config159
-rw-r--r--.config/waybar/style.css205
14 files changed, 0 insertions, 1253 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc
deleted file mode 100644
index b3b93b6..0000000
--- a/.config/dunst/dunstrc
+++ /dev/null
@@ -1,177 +0,0 @@
1[global]
2frame_width = 2
3frame_color = "#39bae6"
4font = sourcecodepro
5
6# Allow a small subset of html markup:
7# <b>bold</b>
8# <i>italic</i>
9# <s>strikethrough</s>
10# <u>underline</u>
11#
12# For a complete reference see
13# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
14# If markup is not allowed, those tags will be stripped out of the
15# message.
16markup = yes
17
18# The format of the message. Possible variables are:
19# %a appname
20# %s summary
21# %b body
22# %i iconname (including its path)
23# %I iconname (without its path)
24# %p progress value if set ([ 0%] to [100%]) or nothing
25# Markup is allowed
26format = "%s %p\n%b"
27
28# Sort messages by urgency.
29sort = yes
30
31# Show how many messages are currently hidden (because of geometry).
32indicate_hidden = yes
33
34# Alignment of message text.
35# Possible values are "left", "center" and "right".
36alignment = left
37
38# The frequency with wich text that is longer than the notification
39# window allows bounces back and forth.
40# This option conflicts with "word_wrap".
41# Set to 0 to disable.
42bounce_freq = 5
43
44
45# Show age of message if message is older than show_age_threshold
46# seconds.
47# Set to -1 to disable.
48show_age_threshold = 60
49
50# Split notifications into multiple lines if they don't fit into
51# geometry.
52word_wrap = no
53
54# Ignore newlines '\n' in notifications.
55ignore_newline = no
56
57
58# The geometry of the window:
59# [{width}]x{height}[+/-{x}+/-{y}]
60# The geometry of the message window.
61# The height is measured in number of notifications everything else
62# in pixels. If the width is omitted but the height is given
63# ("-geometry x2"), the message window expands over the whole screen
64# (dmenu-like). If width is 0, the window expands to the longest
65# message displayed. A positive x is measured from the left, a
66# negative from the right side of the screen. Y is measured from
67# the top and down respectevly.
68# The width can be negative. In this case the actual width is the
69# screen width minus the width defined in within the geometry option.
70geometry = "500x10-10+50"
71
72# Shrink window if it's smaller than the width. Will be ignored if
73# width is 0.
74shrink = yes
75
76# The transparency of the window. Range: [0; 100].
77# This option will only work if a compositing windowmanager is
78# present (e.g. xcompmgr, compiz, etc.).
79transparency = 15
80
81# Don't remove messages, if the user is idle (no mouse or keyboard input)
82# for longer than idle_threshold seconds.
83# Set to 0 to disable.
84# default 120
85idle_threshold = 120
86
87# Which monitor should the notifications be displayed on.
88monitor = 0
89
90# Display notification on focused monitor. Possible modes are:
91# mouse: follow mouse pointer
92# keyboard: follow window with keyboard focus
93# none: don't follow anything
94#
95# "keyboard" needs a windowmanager that exports the
96# _NET_ACTIVE_WINDOW property.
97# This should be the case for almost all modern windowmanagers.
98#
99# If this option is set to mouse or keyboard, the monitor option
100# will be ignored.
101follow = mouse
102
103# Should a notification popped up from history be sticky or timeout
104# as if it would normally do.
105sticky_history = yes
106
107# Maximum amount of notifications kept in history
108history_length = 20
109
110# Display indicators for URLs (U) and actions (A).
111show_indicators = yes
112
113# The height of a single line. If the height is smaller than the
114# font height, it will get raised to the font height.
115# This adds empty space above and under the text.
116line_height = 0
117
118# Draw a line of "separator_height" pixel height between two
119# notifications.
120# Set to 0 to disable.
121separator_height = 1
122
123# Padding between text and separator.
124# padding = 8
125padding = 8
126
127# Horizontal padding.
128horizontal_padding = 10
129
130# Define a color for the separator.
131# possible values are:
132# * auto: dunst tries to find a color fitting to the background;
133# * foreground: use the same color as the foreground;
134# * frame: use the same color as the frame;
135# * anything else will be interpreted as a X color.
136separator_color = #263238
137
138# Print a notification on startup.
139# This is mainly for error detection, since dbus (re-)starts dunst
140# automatically after a crash.
141startup_notification = false
142
143# dmenu path.
144dmenu = /usr/bin/dmenu -p dunst:
145
146# Browser for opening urls in context menu.
147browser = palemoon
148
149# Align icons left/right/off
150icon_position = left
151
152# Limit icons size.
153max_icon_size=128
154
155[urgency_low]
156# IMPORTANT: colors have to be defined in quotation marks.
157# Otherwise the "#" and following would be interpreted as a comment.
158background "#0d1017"
159foreground = "#888888"
160timeout = 10
161# Icon for notifications with low urgency, uncomment to enable
162#icon = /path/to/icon
163
164[urgency_normal]
165background = "#1e2128"
166foreground = "#ffffff"
167timeout = 10
168# Icon for notifications with normal urgency, uncomment to enable
169#icon = /path/to/icon
170
171[urgency_critical]
172background = "#900000"
173foreground = "#ffffff"
174frame_color = "#ff0000"
175timeout = 0
176# Icon for notifications with critical urgency, uncomment to enable
177#icon = /path/to/icon
diff --git a/.config/guix/.gitignore b/.config/guix/.gitignore
deleted file mode 100644
index 1f4ddec..0000000
--- a/.config/guix/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
1current \ No newline at end of file
diff --git a/.config/guix/channels.scm b/.config/guix/channels.scm
deleted file mode 100755
index 0554922..0000000
--- a/.config/guix/channels.scm
+++ /dev/null
@@ -1,10 +0,0 @@
1(cons* (channel
2 (name 'nonguix)
3 (url "https://gitlab.com/nonguix/nonguix")
4 ;; Enable signature verification:
5 (introduction
6 (make-channel-introduction
7 "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
8 (openpgp-fingerprint
9 "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
10 %default-channels)
diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf
deleted file mode 100644
index 0f3fe1d..0000000
--- a/.config/picom/picom.conf
+++ /dev/null
@@ -1,117 +0,0 @@
1# ____ _____
2# | _ \_ _| Derek Taylor (DistroTube)
3# | | | || | http://www.youtube.com/c/DistroTube
4# | |_| || | http://www.gitlab.com/dwt1/
5# |____/ |_|
6#
7# My config. Not much to see here; just some pretty standard stuff.
8
9# Enabled client-side shadows on windows. Note desktop windows
10# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
11# unless explicitly requested using the wintypes option.
12#
13shadow = true;
14
15# The blur radius for shadows, in pixels. (defaults to 12)
16shadow-radius = 8;
17
18# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
19shadow-opacity = .6
20
21# The left offset for shadows, in pixels. (defaults to -15)
22shadow-offset-x = -3;
23
24# The top offset for shadows, in pixels. (defaults to -15)
25shadow-offset-y = -3;
26
27# Specify a list of conditions of windows that should have no shadow.
28#
29# examples:
30# shadow-exclude = "n:e:Notification";
31#
32# shadow-exclude = []
33shadow-exclude = [
34 "name = 'Notification'",
35 "class_g = 'Conky'",
36 "class_g ?= 'Notify-osd'",
37 "class_g = 'Cairo-clock'",
38 "class_g = 'slop'",
39 "class_g = 'Polybar'",
40 "_GTK_FRAME_EXTENTS@:c"
41];
42
43
44# Fade windows in/out when opening/closing and when opacity changes,
45# unless no-fading-openclose is used.
46# fading = false
47fading = true;
48
49# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
50# fade-in-step = 0.028
51fade-in-step = 0.3;
52
53# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
54# fade-out-step = 0.03
55fade-out-step = 0.3;
56
57# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
58# fade-delta = 10
59
60# Specify a list of conditions of windows that should not be faded.
61# don't need this, we disable fading for all normal windows with wintypes: {}
62fade-exclude = [
63 "class_g = 'slop'" # maim
64]
65
66# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
67inactive-opacity = 0.9
68# inactive-opacity = 1.0;
69
70# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
71# frame-opacity = 1.0
72frame-opacity = 0.7;
73
74# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
75# menu-opacity = 1.0
76# menu-opacity is depreciated use dropdown-menu and popup-menu instead.
77
78#If using these 2 below change their values in line 510 & 511 aswell
79popup_menu = { opacity = 0.8; }
80dropdown_menu = { opacity = 0.8; }
81
82
83# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
84# inactive-opacity-override = true
85inactive-opacity-override = false;
86
87# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
88active-opacity = 1.0;
89
90# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
91# inactive-dim = 0.0
92
93# Specify a list of conditions of windows that should always be considered focused.
94# focus-exclude = []
95focus-exclude = [
96 "class_g = 'Cairo-clock'",
97 "class_g = 'Bar'", # lemonbar
98 "class_g = 'slop'" # maim
99];
100
101opacity-rule = [
102 "100:class_g = 'XTerm'",
103 "100:class_g = 'URxvt'",
104 "100:class_g = 'firefox'",
105 "100:class_g = 'Thunderbird'"
106];
107
108wintypes:
109{
110 normal = { fade = false; shadow = true; }
111 tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
112 dock = { shadow = false; }
113 dnd = { shadow = true; }
114 popup_menu = { opacity = 0.8; }
115 dropdown_menu = { opacity = 0.8; }
116};
117
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini
deleted file mode 100644
index d43ee51..0000000
--- a/.config/polybar/config.ini
+++ /dev/null
@@ -1,122 +0,0 @@
1[settings]
2screenchange-reload = true
3
4[colors]
5background = ${xrdb:emacs.background}
6foreground = ${xrdb:emacs.foreground}
7primary = #7fd962
8disabled = #707880
9
10[bar/example]
11width = 100%
12height = 18pt
13
14background = ${colors.background}
15foreground = ${colors.foreground}
16
17line-size = 1.5pt
18
19padding-left = 0
20padding-right = 1
21
22module-margin = 1
23
24separator = |
25separator-foreground = ${colors.disabled}
26
27font-0 = "Terminus:size=15"
28font-1 = "FontAwesome"
29
30modules-left = xworkspaces
31modules-right = memory cpu battery date
32
33cursor-click = pointer
34cursor-scroll = ns-resize
35
36enable-ipc = true
37
38tray-position = right
39
40[module/xworkspaces]
41type = internal/xworkspaces
42
43icon-0 = 1;0
44icon-1 = 2;1
45icon-2 = 3;2
46icon-3 = 4;3
47icon-4 = 5;4
48icon-5 = 6;5
49icon-6 = 7;6
50icon-7 = 8;7
51icon-8 = 9;8
52icon-9 = 10;9
53
54label-active = %icon%
55label-active-background = ${colors.background-alt}
56label-active-underline= ${colors.primary}
57label-active-padding = 1
58
59label-occupied = %icon%
60label-occupied-padding = 1
61
62label-urgent = %icon%
63label-urgent-background = ${colors.alert}
64label-urgent-padding = 1
65
66label-empty = %icon%
67label-empty-foreground = ${colors.disabled}
68label-empty-padding = 1
69
70[module/battery]
71type = internal/battery
72battery = BAT0
73adapter = ADP1
74
75format-charging = <animation-charging> <label-charging>
76format-discharging = <ramp-capacity> <label-discharging>
77format-low = <ramp-capacity> <label-low>
78format-full = <ramp-capacity> <label-full>
79
80label-charging = %percentage%%
81label-discharging = %percentage%%
82label-low = LOW %percentage%%
83label-full = FULL %percentage%%
84
85ramp-capacity-0 = 
86ramp-capacity-1 = 
87ramp-capacity-2 = 
88ramp-capacity-3 = 
89ramp-capacity-4 = 
90ramp-capacity-foreground = ${colors.primary}
91
92animation-charging-0 = 
93animation-charging-1 = 
94animation-charging-2 = 
95animation-charging-3 = 
96animation-charging-4 = 
97animation-charging-foreground = ${colors.primary}
98animation-charging-framerate = 750
99
100[module/memory]
101type = internal/memory
102interval = 2
103format-prefix = "RAM "
104format-prefix-foreground = ${colors.primary}
105label = %percentage_used:2%%
106
107[module/cpu]
108type = internal/cpu
109interval = 2
110format-prefix = "CPU "
111format-prefix-foreground = ${colors.primary}
112label = %percentage:2%%
113
114[module/date]
115type = internal/date
116interval = 1
117
118date = %H:%M
119date-alt = %Y-%m-%d %H:%M:%S
120
121label = %date%
122label-foreground = ${colors.primary}
diff --git a/.config/qtile/autorc b/.config/qtile/autorc
deleted file mode 100755
index c54f683..0000000
--- a/.config/qtile/autorc
+++ /dev/null
@@ -1,31 +0,0 @@
1#!/bin/bash
2
3function monitor_settings() {
4 sleep .5
5 monitor_status=$(xrandr | grep "HDMI-1-4 connected" | wc -l)
6
7 if [ $monitor_status == 1 ];
8 then
9 # xrandr --auto
10 # xrandr --output eDP-1 --off
11 xrandr --output eDP-1-1 --auto --output HDMI-0 --auto --left-of eDP-1-1
12 fi
13}
14
15function caps_to_esc(){ xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'; }
16
17function start() {
18 killall $1
19 sleep .5
20 $($1 $2) &
21}
22
23# monitor_settings
24caps_to_esc
25
26start nitrogen "--restore"
27start picom ""
28start spotifyd ""
29start rclone "mount remote:/sync /home/jakub/Sync"
30start emacs "--daemon"
31xinput set-prop 11 344 1
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
deleted file mode 100644
index 9106731..0000000
--- a/.config/qtile/config.py
+++ /dev/null
@@ -1,232 +0,0 @@
1import os
2import subprocess
3
4from typing import List
5
6from libqtile import bar, layout, widget
7from libqtile.config import Click, Drag, Group, Key, Match, Screen, KeyChord
8from libqtile import extension
9from libqtile.lazy import lazy
10from libqtile.utils import guess_terminal
11from libqtile import hook
12
13MOD = "mod4"
14
15TERMINAL = guess_terminal()
16
17DMENU_FLAGS = '-l 16 -p run -c -i'
18
19BAR = '#282a36'
20LIGHT_BAR = '#393b37'
21YELLOW = '#f1fa8c'
22RED = '#ff5555'
23LIGHT_RED = '#ff9999'
24GREEN = '#50fa7b'
25CYAN = '#8be9fd'
26LIGHT_CYAN = '#abfbff'
27
28@hook.subscribe.startup_once
29def autostart():
30 home = os.path.expanduser('~/.config/qtile/autorc')
31 subprocess.run([home])
32
33keys = [
34 Key([MOD], "h", lazy.layout.left(), desc="Move focus to left"),
35 Key([MOD], "l", lazy.layout.right(), desc="Move focus to right"),
36 Key([MOD], "j", lazy.layout.down(), desc="Move focus down"),
37 Key([MOD], "k", lazy.layout.up(), desc="Move focus up"),
38 Key([MOD], "s", lazy.next_screen() ),
39 Key([MOD], "space", lazy.window.toggle_floating(),
40 desc="Move window focus to other window"),
41
42 Key([MOD, "shift"], "h", lazy.layout.shuffle_left(),
43 desc="Move window to the left"),
44 Key([MOD, "shift"], "l", lazy.layout.shuffle_right(),
45 desc="Move window to the right"),
46 Key([MOD, "shift"], "j", lazy.layout.shuffle_down(),
47 desc="Move window down"),
48 Key([MOD, "shift"], "k", lazy.layout.shuffle_up(), desc="Move window up"),
49
50 Key([MOD, "control"], "h", lazy.layout.grow_left(),
51 desc="Grow window to the left"),
52 Key([MOD, "control"], "l", lazy.layout.grow_right(),
53 desc="Grow window to the right"),
54 Key([MOD, "control"], "j", lazy.layout.grow_down(),
55 desc="Grow window down"),
56 Key([MOD, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"),
57 Key([MOD], "n", lazy.layout.normalize(), desc="Reset all window sizes"),
58
59 Key([MOD, "shift"], "Return", lazy.layout.toggle_split(),
60 desc="Toggle between split and unsplit sides of stack"),
61 Key([MOD], "Return", lazy.spawn(TERMINAL), desc="Launch terminal"),
62
63 Key([MOD], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
64 Key([MOD], "c", lazy.window.kill(), desc="Kill focused window"),
65
66 Key([MOD, "control"], "r", lazy.restart(), desc="Restart Qtile"),
67 Key([MOD, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"),
68
69 Key([MOD], "F12", os.system("xbacklight -inc 10"), desc="Inc backlight"),
70 Key([MOD], "F11", os.system("xbacklight -dec 10"), desc="Dec backlight"),
71
72 Key([MOD], "r", lazy.spawncmd(),
73 desc="Spawn a command using a prompt widget"),
74
75 KeyChord([MOD], "p", [
76 Key([], "p", lazy.spawn(f"dmenu_run {DMENU_FLAGS}"), desc="Spawn dmenu run"),
77 Key([], "n", lazy.spawn(f"networkmanager_dmenu {DMENU_FLAGS}"), desc="Spawn dmenu for network manager"),
78 ]),
79
80 Key([MOD, "mod1"], "q", lazy.spawn("qutebrowser"), desc="Spawn qutebrowser"),
81 Key([MOD, "mod1"], "b", lazy.spawn("brave"), desc="Spawn brave"),
82 Key([MOD, "mod1"], "f", lazy.spawn("firefox"), desc="Spawn firefox"),
83
84 KeyChord([MOD], "e", [
85 Key([], "e", lazy.spawn("emacsclient -c -a 'emacs'"), desc="Spawn Emacsclient"),
86 Key([], "d", lazy.spawn("emacsclient -c -a 'emacs' --eval '(dired nil)'"), desc='Emacsclient Dired'),
87 Key([], "m", lazy.spawn("emacsclient -c -a 'emacs' --eval '(emms-browser)'"), desc='Emacsclient Dired'),
88 ]),
89
90 Key([MOD, "mod1"], "s", lazy.spawn("alacritty -e spt"), desc="Spawn spt (spotify clent)"),
91 Key([MOD, "mod1"], "l", lazy.spawn("slock"), desc="lock desktop"),
92 Key([MOD, "mod1"], "r", lazy.spawn("alacritty -e ranger"), desc="Spawn ranger (file manager)"),
93 Key([MOD, "mod1"], "p", lazy.spawn("alacritty -e pulsemixer"), desc="Spawn pulsemixer"),
94]
95
96groups_names = [
97 "dev",
98 "www",
99 "music",
100 "virt",
101 "sys",
102 "other"
103]
104
105groups = [Group(i) for i in groups_names]
106for i, group in enumerate(groups):
107 keys.extend([
108 Key([MOD], str(i+1), lazy.group[group.name].toscreen(),
109 desc="Switch to group {}".format(group.name)),
110
111 Key([MOD, "shift"], str(i+1), lazy.window.togroup(group.name, switch_group=True),
112 desc="Switch to & move focused window to group {}".format(group.name)),
113 ])
114
115mouse = [
116 Drag([MOD], "Button1", lazy.window.set_position_floating(),
117 start=lazy.window.get_position()),
118 Drag([MOD], "Button3", lazy.window.set_size_floating(),
119 start=lazy.window.get_size()),
120 Click([MOD], "Button2", lazy.window.bring_to_front())
121]
122
123layout_cfg = {
124 'border_width': 2,
125 'border_normal': "#bb8888",
126 'border_focus': "884444",
127 'margin': 8
128}
129
130layouts = [
131 # layout.Columns(**layout_cfg),
132 # layout.Max(),
133 layout.Stack(num_stacks=1, **layout_cfg),
134 # layout.Bsp(),
135 # layout.Matrix(),
136 layout.MonadTall(**layout_cfg),
137 # layout.MonadWide(),
138 # layout.RatioTile(),
139 # layout.Tile(),
140 # layout.TreeTab(),
141 # layout.VerticalTile(),
142 # layout.Zoomy(),
143]
144
145widget_defaults = dict(
146 font='sans',
147 fontsize=12,
148 padding=6,
149)
150
151transparent_sep = {
152 'foreground': BAR,
153 'margin': 2
154}
155
156soft_sep = {
157 'foreground': '44475a',
158 'padding': 2,
159 'margin': 4
160}
161
162screens = [
163 Screen(
164 top=bar.Bar(
165 [
166 widget.Sep(**transparent_sep),
167 widget.Image(filename="~/.config/qtile/python.png", margin=4),
168 widget.Sep(**transparent_sep),
169 widget.CurrentLayout(),
170 widget.Sep(**transparent_sep),
171 widget.GroupBox(
172 margin_y = 3,
173 margin_x = 0,
174 padding_y = 5,
175 padding_x = 3,
176 borderwidth = 3,
177 rounded = False,
178 highlight_color = LIGHT_BAR,
179 highlight_method = "line",
180 this_current_screen_border = CYAN,
181 this_screen_border = CYAN,
182 other_current_screen_border = LIGHT_BAR,
183 other_screen_border = LIGHT_BAR,
184 ),
185 widget.Prompt(),
186 widget.Sep(**transparent_sep),
187 widget.WindowName(),
188 widget.Net(format="🌐 ↓{down} ↑{up}", foreground=YELLOW),
189 widget.Sep(**soft_sep),
190 widget.CPU(format='💻 {load_percent}%', fontsize=12, foreground=RED),
191 widget.Sep(**soft_sep),
192 widget.Battery(format='🔋 {char} {percent:2.0%} {hour:d}:{min:02d} {watt:.2f} W', foreground=GREEN),
193 widget.Sep(**soft_sep),
194 widget.Clock(format='📅 %B %-d, %H:%M', foreground=CYAN),
195 widget.Sep(**soft_sep),
196 widget.CurrentScreen(),
197 widget.Sep(**soft_sep),
198 widget.Systray()
199 ],
200 24,
201 margin=8,
202 background=BAR,
203 border_color=CYAN,
204 border_width=1
205 ),
206 ),
207]
208
209floating_layout = layout.Floating(float_rules=[
210 # Run the utility of `xprop` to see the wm class and name of an X client.
211 *layout.Floating.default_float_rules,
212 Match(wm_class='confirmreset'), # gitk
213 Match(wm_class='makebranch'), # gitk
214 Match(wm_class='maketag'), # gitk
215 Match(wm_class='ssh-askpass'), # ssh-askpass
216 Match(title='branchdialog'), # gitk
217 Match(title='pinentry'), # GPG key password entry
218])
219
220dgroups_key_binder = None
221dgroups_app_rules = []
222
223follow_mouse_focus = True
224bring_front_click = False
225cursor_warp = False
226auto_fullscreen = True
227focus_on_window_activation = "smart"
228reconfigure_screens = True
229
230auto_minimize = True
231
232wmname = "LG3D"
diff --git a/.config/qtile/mdt_shell b/.config/qtile/mdt_shell
deleted file mode 100755
index 90fa6f3..0000000
--- a/.config/qtile/mdt_shell
+++ /dev/null
@@ -1 +0,0 @@
1TERM=xterm-256color /home/jakub/.local/bin/mdt shell
diff --git a/.config/qtile/photos/desktop.png b/.config/qtile/photos/desktop.png
deleted file mode 100644
index 8fca190..0000000
--- a/.config/qtile/photos/desktop.png
+++ /dev/null
Binary files differ
diff --git a/.config/qtile/python.png b/.config/qtile/python.png
deleted file mode 100644
index 9a4b1ed..0000000
--- a/.config/qtile/python.png
+++ /dev/null
Binary files differ
diff --git a/.config/qtile/readme.org b/.config/qtile/readme.org
deleted file mode 100644
index 235dd47..0000000
--- a/.config/qtile/readme.org
+++ /dev/null
@@ -1,5 +0,0 @@
1#+title: Config
2
3* Qtile conifg
4- My personal qtile config ;)
5 [[./photos/desktop.png]]
diff --git a/.config/sway/config b/.config/sway/config
deleted file mode 100644
index 2807f08..0000000
--- a/.config/sway/config
+++ /dev/null
@@ -1,193 +0,0 @@
1set $mod Mod4
2
3set $left h
4set $down j
5set $up k
6set $right l
7
8set $term alacritty
9set $emacs emacsclient -c
10set $menu fuzzel -r0 -b 282828f2 -C 458588f2 -B 3 -s 458588f2 -S 282828FF --font "Terminus:size=12" -p "run: "
11
12set $laptop-display eDP-1
13set $generic-display HDMI-A-1
14set $primary-home-display 'Iiyama North America PLE2407HDSD 0x01010101'
15set $secondary-home-display 'Dell Inc. DELL E190S M8VPV186CELI'
16
17set $primary-display-layout $primary-home-display $generic-display $laptop-display
18set $secondary-display-layout $secondary-home-display $laptop-display
19
20output * bg SPOILER_33.png fill
21
22output $laptop-display resolution 1920x1080 position 1920,0
23output $generic-display resolution 1920x1080 position 0,0
24output $primary-home-display resolution 1920x1080 position 0,0
25output $secondary-home-display resolution 1280x1024 position 1920,0
26set $opacity 0.9
27
28client.focused #002b36 #586e75 #eee8d5 #268bd2
29client.focused_inactive #002b36 #073642 #93a1a1 #268bd2
30client.unfocused #002b36 #073642 #93a1a1 #268bd2
31client.urgent #002b36 #dc322f #fdf6e3 #002b36
32
33input type:keyboard {
34 xkb_layout pl,us
35}
36
37input type:touchpad {
38 tap enabled
39 middle_emulation enabled
40}
41
42bindsym $mod+Shift+s output $laptop-display toggle
43
44set $swaylock 'swaylock -f -c 000000 --font "Terminus"'
45exec swayidle -w \
46 timeout 280 $swaylock \
47 timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
48 before-sleep $swaylock
49
50# inhibit_idle fullscreen
51
52bindsym $mod+Escape exec $swaylock
53
54bindsym XF86MonBrightnessUp exec brightnessctl set 5%+
55bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
56
57bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
58bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
59bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
60
61bindsym XF86AudioNext exec playerctl next
62bindsym XF86AudioPrev exec playerctl previous
63bindsym XF86AudioPlay exec playerctl play-pause
64bindsym XF86AudioPause exec playerctl pause
65
66bindsym print exec grimshot --notify copy area
67bindsym $mod+print exec grimshot --notify copy output
68
69bindsym $mod+Return exec $term
70
71bindsym $mod+Shift+q kill
72
73floating_modifier $mod normal
74
75bindsym $mod+Shift+c reload
76bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
77
78bindsym $mod+$left focus left
79bindsym $mod+$down focus down
80bindsym $mod+$up focus up
81bindsym $mod+$right focus right
82
83bindsym $mod+Shift+$left move left
84bindsym $mod+Shift+$down move down
85bindsym $mod+Shift+$up move up
86bindsym $mod+Shift+$right move right
87
88workspace 1 output $primary-display-layout
89workspace 2 output $primary-display-layout
90workspace 3 output $secondary-display-layout
91workspace 4 output $secondary-display-layout
92workspace 9 output $primary-display-layout
93workspace 10 output $secondary-display-layout
94
95bindsym $mod+1 workspace number 1
96bindsym $mod+2 workspace number 2
97bindsym $mod+3 workspace number 3
98bindsym $mod+4 workspace number 4
99bindsym $mod+5 workspace number 5
100bindsym $mod+6 workspace number 6
101bindsym $mod+7 workspace number 7
102bindsym $mod+8 workspace number 8
103bindsym $mod+9 workspace number 9
104bindsym $mod+0 workspace number 10
105
106bindsym $mod+Shift+1 move container to workspace number 1
107bindsym $mod+Shift+2 move container to workspace number 2
108bindsym $mod+Shift+3 move container to workspace number 3
109bindsym $mod+Shift+4 move container to workspace number 4
110bindsym $mod+Shift+5 move container to workspace number 5
111bindsym $mod+Shift+6 move container to workspace number 6
112bindsym $mod+Shift+7 move container to workspace number 7
113bindsym $mod+Shift+8 move container to workspace number 8
114bindsym $mod+Shift+9 move container to workspace number 9
115bindsym $mod+Shift+0 move container to workspace number 10
116
117assign [app_id="(firefox-default|qutebrowser|Chromium-browser)"] 2
118assign [instance="(chromium-browser)"] 2
119assign [instance="(spotify)"] 3
120assign [app_id=".blueman-manager-real"] 3
121assign [app_id="pavucontrol"] 3
122assign [app_id="(org.telegram.desktop)"] 4
123assign [app_id="vesktop"] 4
124assign [app_id="com.ktechpit.whatsie"] 4
125assign [instance="(discord)"] 4
126
127for_window [app_id="vesktop"] opacity $opacity
128
129
130bindsym $mod+b splith
131bindsym $mod+v splitv
132
133bindsym $mod+s layout stacking
134bindsym $mod+w layout tabbed
135bindsym $mod+e layout toggle split
136
137bindsym $mod+f fullscreen
138bindsym $mod+Shift+space floating toggle
139bindsym $mod+space focus mode_toggle
140bindsym $mod+a focus parent
141
142bindsym $mod+Shift+minus move scratchpad
143bindsym $mod+minus scratchpad show
144
145mode "resize" {
146 bindsym $left resize shrink width 10px
147 bindsym $down resize grow height 10px
148 bindsym $up resize shrink height 10px
149 bindsym $right resize grow width 10px
150
151 bindsym Return mode "default"
152 bindsym Control+g mode "default"
153 bindsym Escape mode "default"
154}
155bindsym $mod+r mode "resize"
156
157set $default swaymsg mode default
158mode "menu" {
159 bindsym --no-repeat e exec '$default; $emacs;'
160 bindsym --no-repeat w exec "$default; whois-at-hsp -n"
161
162 bindsym Return mode "default"
163 bindsym Control+g mode "default"
164 bindsym Escape mode "default"
165
166}
167bindsym $mod+o mode "menu"
168
169
170workspace_layout tabbed
171
172default_border normal 3
173gaps outer 0
174gaps inner 6
175font Terminus (TTF) 12
176corner_radius 4
177blur_xray disable
178blur enable
179layer_effects "waybar" blur enable
180bindsym $mod+p exec $menu
181
182
183# Taken from dawivil dotfiles.
184exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
185
186# exec udiskie -t
187exec mako --font "Terminus (TTF)" --outer-margin=5 --margin=3 --border-size=3 --default-timeout=7000 --background="#282828e0"
188
189exec nm-applet --indicator
190exec blueman-applet
191exec waybar
192exec udiskie -t
193exec wlsunset -l 51.919438 -L 19.145136
diff --git a/.config/waybar/config b/.config/waybar/config
deleted file mode 100644
index 5ebee30..0000000
--- a/.config/waybar/config
+++ /dev/null
@@ -1,159 +0,0 @@
1{
2 "layer": "top",
3 "position": "top",
4
5 "modules-left": [
6 "sway/workspaces",
7 "sway/mode"
8 ],
9
10 "modules-right": [
11// "custom/whois",
12 "pulseaudio",
13 "network",
14 "memory",
15 "cpu",
16 "temperature",
17 "battery",
18 "sway/language",
19 "clock#date",
20 "clock#time",
21 "idle_inhibitor",
22 "tray"
23 ],
24
25 // Modules
26 "idle_inhibitor": {
27 "format": "{icon}",
28 "format-icons": {
29 "activated": "",
30 "deactivated": ""
31 }
32 },
33
34 "battery": {
35 "interval": 10,
36 "states": {
37 "warning": 30,
38 "critical": 15
39 },
40 "format-time": "{H}:{M:02}",
41 "format": "{icon} {capacity}% ({time})",
42 "format-charging": " {capacity}% ({time})",
43 "format-charging-full": " {capacity}%",
44 "format-full": "{icon} {capacity}%",
45 "format-alt": "{icon} {power}W",
46 "format-icons": [
47 "",
48 "",
49 "",
50 "",
51 ""
52 ],
53 "tooltip": false
54 },
55
56 "clock#time": {
57 "interval": 10,
58 "format": "{:%H:%M}",
59 "tooltip": false
60 },
61
62 "clock#date": {
63 "interval": 20,
64 "format": " {:%e %b %Y}",
65 "tooltip": false
66 //"tooltip-format": "{:%e %B %Y}"
67 },
68
69 "cpu": {
70 "interval": 5,
71 "tooltip": false,
72 "format": " {usage}%",
73 "format-alt": " {load}",
74 "states": {
75 "warning": 70,
76 "critical": 90
77 }
78 },
79
80 "sway/language": {
81 "format": " {}",
82 "min-length": 5,
83 "on-click": "swaymsg 'input * xkb_switch_layout next'",
84 "tooltip": false
85 },
86
87 "memory": {
88 "interval": 5,
89 "format": " {used:0.1f}G/{total:0.1f}G",
90 "states": {
91 "warning": 70,
92 "critical": 90
93 },
94 "tooltip": false
95 },
96
97 "network": {
98 "interval": 5,
99 "format-wifi": " {essid} ({signalStrength}%)",
100 "format-ethernet": " {ifname}",
101 "format-disconnected": "No connection",
102 "format-alt": " {ipaddr}/{cidr}",
103 "tooltip": false
104 },
105
106 "sway/mode": {
107 "format": "{}",
108 "tooltip": false
109 },
110
111 "sway/window": {
112 "format": "{}",
113 "max-length": 30,
114 "tooltip": false
115 },
116
117 "sway/workspaces": {
118 "disable-scroll-wraparound": true,
119 "smooth-scrolling-threshold": 4,
120 "enable-bar-scroll": true,
121 "format": "{name}"
122 },
123
124 "pulseaudio": {
125 "format": "{icon} {volume}%",
126 "format-bluetooth": "{icon} {volume}%",
127 "format-muted": "",
128 "format-icons": {
129 "headphone": "",
130 "hands-free": "",
131 "headset": "",
132 "phone": "",
133 "portable": "",
134 "car": "",
135 "default": ["", ""]
136 },
137 "scroll-step": 1,
138 "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
139 "tooltip": false
140 },
141
142 "temperature": {
143 "critical-threshold": 90,
144 "interval": 5,
145 "format": "{icon} {temperatureC}°",
146 "format-icons": [
147 "",
148 "",
149 "",
150 "",
151 ""
152 ],
153 "tooltip": false
154 },
155
156 "tray": {
157 "icon-size": 18,
158 }
159}
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
deleted file mode 100644
index 53d732b..0000000
--- a/.config/waybar/style.css
+++ /dev/null
@@ -1,205 +0,0 @@
1/* Keyframes */
2
3@keyframes blink-critical {
4 to {
5 /*color: @white;*/
6 background-color: @critical;
7 }
8}
9
10
11/* Styles */
12
13/* Colors (gruvbox) */
14@define-color black #073642;
15@define-color red #dc322f;
16@define-color green #859900;
17@define-color yellow #b58900;
18@define-color blue #268bd2;
19@define-color purple #d33682;
20@define-color aqua #00afaf;
21@define-color gray #1c1c1c;
22@define-color brgray #928374;
23@define-color brred #cb4b16;
24@define-color brgreen #586e75;
25@define-color bryellow #657b83;
26@define-color brblue #839496;
27@define-color brpurple #6c71c4;
28@define-color braqua #93a1a1;
29@define-color white #eee8d5;
30@define-color bg1 #073642;
31@define-color bg2 #002b36;
32
33
34@define-color warning @bryellow;
35@define-color critical @red;
36@define-color mode @bg2;
37@define-color unfocused @bg2;
38@define-color focused @blue;
39@define-color inactive @purple;
40@define-color sound @green;
41@define-color network @yellow;
42@define-color memory @aqua;
43@define-color cpu @blue;
44@define-color temp @brpurple;
45@define-color layout @green;
46@define-color battery @yellow;
47@define-color date @aqua;
48@define-color time @bg2;
49@define-color tray @bg2;
50
51/* Reset all styles */
52* {
53 border: none;
54 border-radius: 0;
55 min-height: 0;
56 margin: 0;
57 padding: 0;
58 box-shadow: none;
59 text-shadow: none;
60 icon-shadow: none;
61}
62
63/* The whole bar */
64#waybar {
65 background: @bg2;
66 color: @white;
67 font-family: "Terminus (TTF)", FontAwesome;
68 font-size: 12pt;
69}
70
71/* Each module */
72#battery,
73#clock,
74#cpu,
75#language,
76#memory,
77#mode,
78#network,
79#pulseaudio,
80#temperature,
81#tray,
82#backlight,
83#idle_inhibitor,
84#disk,
85#user,
86#mpris {
87 padding-left: 8pt;
88 padding-right: 8pt;
89}
90
91/* Each critical module */
92#memory.critical,
93#cpu.critical,
94#temperature.critical,
95#battery.critical.discharging {
96 animation-timing-function: linear;
97 animation-iteration-count: infinite;
98 animation-direction: alternate;
99 animation-name: blink-critical;
100 animation-duration: 1s;
101}
102
103/* Each warning */
104#network.disconnected,
105#memory.warning,
106#cpu.warning,
107#temperature.warning,
108#battery.warning.discharging {
109 color: @warning;
110}
111
112/* And now modules themselves in their respective order */
113
114/* Current sway mode (resize etc) */
115#mode {
116 color: @white;
117 background: @mode;
118}
119
120/* Workspaces stuff */
121#workspaces button {
122 /*font-weight: bold;*/
123 padding-left: 2pt;
124 padding-right: 2pt;
125 color: @white;
126 background: @unfocused;
127}
128
129/* Inactive (on unfocused output) */
130#workspaces button.visible {
131 color: @white;
132 background: @inactive;
133}
134
135/* Active (on focused output) */
136#workspaces button.focused {
137 color: @black;
138 background: @focused;
139}
140
141/* Contains an urgent window */
142#workspaces button.urgent {
143 color: @black;
144 background: @warning;
145}
146
147/* Style when cursor is on the button */
148#workspaces button:hover {
149 background: @black;
150 color: @white;
151}
152
153#window {
154 margin-right: 35pt;
155 margin-left: 35pt;
156}
157
158#pulseaudio {
159 background: @sound;
160 color: @black;
161}
162
163#network {
164 background: @network;
165 color: @white;
166}
167
168#memory {
169 background: @memory;
170 color: @black;
171}
172
173#cpu {
174 background: @cpu;
175 color: @white;
176}
177
178#temperature {
179 background: @temp;
180 color: @black;
181}
182
183#language {
184 background: @layout;
185 color: @black;
186}
187
188#battery {
189 background: @battery;
190 color: @white;
191}
192
193#tray {
194 background: @tray;
195}
196
197#clock.date {
198 background: @date;
199 color: @black;
200}
201
202#clock.time {
203 background: @time;
204 color: @white;
205}