aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2025-02-04 21:13:40 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2025-02-04 21:13:40 +0100
commit1d5dd9791dcbc0812485847e4d408602c6daa622 (patch)
treeb800b661262cd63f9072e87a58c89f29e9251842 /.config
parent2b1a986b8b8a4af685707adf2adabc9db6326a6c (diff)
downloaddotfiles-1d5dd9791dcbc0812485847e4d408602c6daa622.tar.gz
Update
Diffstat (limited to '.config')
-rw-r--r--.config/i3/config217
-rw-r--r--.config/i3status/config59
2 files changed, 0 insertions, 276 deletions
diff --git a/.config/i3/config b/.config/i3/config
deleted file mode 100644
index 71dc436..0000000
--- a/.config/i3/config
+++ /dev/null
@@ -1,217 +0,0 @@
1# This file has been auto-generated by i3-config-wizard(1).
2# It will not be overwritten, so edit it as you like.
3#
4# Should you change your keyboard layout some time, delete
5# this file and re-run i3-config-wizard(1).
6#
7
8# i3 config file (v4)
9#
10# Please see https://i3wm.org/docs/userguide.html for a complete reference!
11
12set $mod Mod4
13
14# Font for window titles. Will also be used by the bar unless a different font
15# is used in the bar {} block below.
16font pango:monospace 8
17
18# This font is widely installed, provides lots of unicode glyphs, right-to-left
19# text rendering and scalability on retina/hidpi displays (thanks to pango).
20#font pango:DejaVu Sans Mono 8
21
22# Start XDG autostart .desktop files using dex. See also
23# https://wiki.archlinux.org/index.php/XDG_Autostart
24exec --no-startup-id dex-autostart --autostart --environment i3
25
26# The combination of xss-lock, nm-applet and pactl is a popular choice, so
27# they are included here as an example. Modify as you see fit.
28
29# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
30# screen before suspend. Use loginctl lock-session to lock your screen.
31exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
32
33# NetworkManager is the most popular way to manage wireless networks on Linux,
34# and nm-applet is a desktop environment-independent system tray GUI for it.
35exec --no-startup-id nm-applet
36
37# Use pactl to adjust volume in PulseAudio.
38set $refresh_i3status killall -SIGUSR1 i3status
39bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
40bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
41bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
42bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
43
44# Use Mouse+$mod to drag floating windows to their wanted position
45floating_modifier $mod
46
47# start a terminal
48# bindsym $mod+Return exec i3-sensible-terminal
49bindsym $mod+Return exec st
50
51# kill focused window
52bindsym $mod+Shift+q kill
53
54# start dmenu (a program launcher)
55bindsym $mod+d exec --no-startup-id "dmenu_run -nf '#BBBBBB' -nb '#222222' -sb '#005577' -sf '#EEEEEE' -fn 'BerkeleyMono-10'"
56# A more modern dmenu replacement is rofi:
57# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
58# There also is i3-dmenu-desktop which only displays applications shipping a
59# .desktop file. It is a wrapper around dmenu, so you need that installed.
60# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
61
62# change focus
63bindsym $mod+j focus left
64bindsym $mod+k focus down
65bindsym $mod+l focus up
66bindsym $mod+semicolon focus right
67
68# alternatively, you can use the cursor keys:
69bindsym $mod+Left focus left
70bindsym $mod+Down focus down
71bindsym $mod+Up focus up
72bindsym $mod+Right focus right
73
74# move focused window
75bindsym $mod+Shift+j move left
76bindsym $mod+Shift+k move down
77bindsym $mod+Shift+l move up
78bindsym $mod+Shift+semicolon move right
79
80# alternatively, you can use the cursor keys:
81bindsym $mod+Shift+Left move left
82bindsym $mod+Shift+Down move down
83bindsym $mod+Shift+Up move up
84bindsym $mod+Shift+Right move right
85
86# split in horizontal orientation
87bindsym $mod+h split h
88
89# split in vertical orientation
90bindsym $mod+v split v
91
92# enter fullscreen mode for the focused container
93bindsym $mod+f fullscreen toggle
94
95# change container layout (stacked, tabbed, toggle split)
96bindsym $mod+s layout stacking
97bindsym $mod+w layout tabbed
98bindsym $mod+e layout toggle split
99
100# toggle tiling / floating
101bindsym $mod+Shift+space floating toggle
102
103# change focus between tiling / floating windows
104bindsym $mod+space focus mode_toggle
105
106# focus the parent container
107bindsym $mod+a focus parent
108
109# focus the child container
110#bindsym $mod+d focus child
111
112# Define names for default workspaces for which we configure key bindings later on.
113# We use variables to avoid repeating the names in multiple places.
114set $ws1 "1"
115set $ws2 "2"
116set $ws3 "3"
117set $ws4 "4"
118set $ws5 "5"
119set $ws6 "6"
120set $ws7 "7"
121set $ws8 "8"
122set $ws9 "9"
123set $ws10 "10"
124
125# switch to workspace
126bindsym $mod+1 workspace number $ws1
127bindsym $mod+2 workspace number $ws2
128bindsym $mod+3 workspace number $ws3
129bindsym $mod+4 workspace number $ws4
130bindsym $mod+5 workspace number $ws5
131bindsym $mod+6 workspace number $ws6
132bindsym $mod+7 workspace number $ws7
133bindsym $mod+8 workspace number $ws8
134bindsym $mod+9 workspace number $ws9
135bindsym $mod+0 workspace number $ws10
136
137# move focused container to workspace
138bindsym $mod+Shift+1 move container to workspace number $ws1
139bindsym $mod+Shift+2 move container to workspace number $ws2
140bindsym $mod+Shift+3 move container to workspace number $ws3
141bindsym $mod+Shift+4 move container to workspace number $ws4
142bindsym $mod+Shift+5 move container to workspace number $ws5
143bindsym $mod+Shift+6 move container to workspace number $ws6
144bindsym $mod+Shift+7 move container to workspace number $ws7
145bindsym $mod+Shift+8 move container to workspace number $ws8
146bindsym $mod+Shift+9 move container to workspace number $ws9
147bindsym $mod+Shift+0 move container to workspace number $ws10
148
149# reload the configuration file
150bindsym $mod+Shift+c reload
151# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
152bindsym $mod+Shift+r restart
153# exit i3 (logs you out of your X session)
154bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
155
156# resize window (you can also use the mouse for that)
157mode "resize" {
158 # These bindings trigger as soon as you enter the resize mode
159
160 # Pressing left will shrink the window’s width.
161 # Pressing right will grow the window’s width.
162 # Pressing up will shrink the window’s height.
163 # Pressing down will grow the window’s height.
164 bindsym j resize shrink width 10 px or 10 ppt
165 bindsym k resize grow height 10 px or 10 ppt
166 bindsym l resize shrink height 10 px or 10 ppt
167 bindsym semicolon resize grow width 10 px or 10 ppt
168
169 # same bindings, but for the arrow keys
170 bindsym Left resize shrink width 10 px or 10 ppt
171 bindsym Down resize grow height 10 px or 10 ppt
172 bindsym Up resize shrink height 10 px or 10 ppt
173 bindsym Right resize grow width 10 px or 10 ppt
174
175 # back to normal: Enter or Escape or $mod+r
176 bindsym Return mode "default"
177 bindsym Escape mode "default"
178 bindsym $mod+r mode "default"
179}
180
181bindsym $mod+r mode "resize"
182
183# class border bground text indicator child_border
184client.focused #333333 #333333 #FFFFFF #333333 #333333
185client.focused_inactive #111111 #111111 #FFFFFF #111111 #111111
186client.unfocused #111111 #111111 #FFFFFF #111111 #111111
187client.urgent #900000 #900000 #FFFFFF #900000 #900000
188client.placeholder #111111 #111111 #FFFFFF #111111 #111111
189
190client.background #FFFFFF
191
192# Start i3bar to display a workspace bar (plus the system information i3status
193# finds out, if available)
194bar {
195 position top
196 colors {
197 background #000000
198 statusline #FFFFFF
199 separator #000000
200
201 focused_workspace #CCCCCC #CCCCCC #000000
202 active_workspace #222222 #222222 #FFFFFF
203 inactive_workspace #222222 #222222 #888888
204 urgent_workspace #900000 #900000 #FFFFFF
205 binding_mode #900000 #900000 #FFFFFF
206 }
207 status_command i3status
208}
209
210font pango:BerkeleyMono Bold 9
211focus_follows_mouse no
212hide_edge_borders both
213exec --no-startup-id feh --bg-fill black ~/.black.png
214exec --no-startup-id picom --backend glx --vsync -b
215bindsym --release $mod+z exec scrot -s - | xclip -selection clipboard -target image/png
216bindsym --release $mod+p exec --no-startup-id bash -c 'source ~/.shenanigans.sh && togglesink'
217
diff --git a/.config/i3status/config b/.config/i3status/config
deleted file mode 100644
index 3a53684..0000000
--- a/.config/i3status/config
+++ /dev/null
@@ -1,59 +0,0 @@
1general {
2 colors = true
3 interval = 5
4}
5
6order += "cpu_temperature 0"
7order += "load"
8order += "memory"
9order += "disk /"
10order += "ethernet enp5s0"
11order += "volume master"
12order += "tztime brisbane"
13order += "tztime ny"
14order += "tztime local"
15
16load {
17 format = "CPU: %5min"
18}
19
20memory {
21 format = "RAM: %free"
22}
23
24disk "/" {
25 format = "DISK: %free"
26}
27
28ethernet enp5s0 {
29 format_up = "NET: %ip (%speed)"
30 format_down = "E: down"
31}
32
33cpu_temperature 0 {
34 format = "TEMP: %degrees°C"
35 path = "/sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input"
36}
37
38volume master {
39 format = "VOL: %volume"
40 format_muted = "VOL: muted (%volume)"
41 device = "default"
42 mixer = "Master"
43 mixer_idx = 0
44}
45
46tztime brisbane {
47 format = "Brisbane: %H:%M"
48 timezone = "Australia/Brisbane"
49}
50
51tztime ny {
52 format = "NY: %H:%M"
53 timezone = "America/New_York"
54}
55
56tztime local {
57 format = "Local: %a %Y-%m-%d %H:%M:%S"
58}
59