summaryrefslogtreecommitdiffstats
path: root/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3')
-rw-r--r--.config/i3/config##desktop.Linux.Lowe184
-rw-r--r--.config/i3/config##desktop.Linux.Maus (renamed from .config/i3/config)0
2 files changed, 184 insertions, 0 deletions
diff --git a/.config/i3/config##desktop.Linux.Lowe b/.config/i3/config##desktop.Linux.Lowe
new file mode 100644
index 0000000..476f645
--- /dev/null
+++ b/.config/i3/config##desktop.Linux.Lowe
@@ -0,0 +1,184 @@
1# i3 config file (v4)
2# Please see https://i3wm.org/docs/userguide.html for a complete reference!
3
4# set modifiers
5set $mod Mod4
6set $alt Mod1
7
8# launch polybar
9exec --no-startup-id $HOME/.config/polybar/launch.sh &
10
11# start the screensaver, '' at the end is not a typo
12exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' ''
13
14# Font for window titles
15font pango:Lato 11
16
17# Use Mouse+$mod to drag floating windows to their wanted position
18floating_modifier $alt
19
20# i switched back to firefox can you tell
21bindsym Ctrl+q exec --no-startup-id true
22
23# get the mouse out of the way
24bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080
25
26# bookmark from clipboard
27bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c
28
29# swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic)
30bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape"
31
32# use flameshot with print screen
33bindsym Print exec flameshot gui
34
35# media keys
36bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle"
37bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%"
38bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%"
39bindsym XF86AudioPlay exec mpc toggle
40bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh
41bindsym XF86AudioNext exec mpc next
42
43# shortcuts for frequent programs
44bindsym $mod+Shift+z exec zotero
45bindsym $mod+Shift+f exec thunar
46bindsym $mod+Shift+t exec thunderbird
47
48# start a terminal
49bindsym $mod+Return exec kitty
50
51# kill focused window
52bindsym $mod+Shift+q kill
53bindsym --whole-window $mod+button2 kill
54
55# start rofi (a program launcher)
56bindsym $mod+d exec rofi -show combi
57
58# change focus
59bindsym $mod+h focus left
60bindsym $mod+j focus down
61bindsym $mod+k focus up
62bindsym $mod+l focus right
63
64# move focused window
65bindsym $mod+Shift+h move left
66bindsym $mod+Shift+j move down
67bindsym $mod+Shift+k move up
68bindsym $mod+Shift+l move right
69
70# split in horizontal orientation
71bindsym $mod+b split h
72
73# split in vertical orientation
74bindsym $mod+v split v
75
76# enter fullscreen mode for the focused container
77bindsym $mod+f fullscreen toggle
78
79# change container layout (stacked, tabbed, toggle split)
80bindsym $mod+s layout stacking
81bindsym $mod+w layout tabbed
82bindsym $mod+e layout toggle split
83
84# toggle tiling / floating
85bindsym $mod+Shift+space floating toggle
86
87# change focus between tiling / floating windows
88bindsym $mod+space focus mode_toggle
89
90# focus the parent container
91bindsym $mod+a focus parent
92
93# Define names for default workspaces for which we configure key bindings later on.
94# We use variables to avoid repeating the names in multiple places.
95set $ws1 "1"
96set $ws2 "2"
97set $ws3 "3"
98set $ws4 "4"
99set $ws5 "5"
100set $ws6 "6"
101set $ws7 "7"
102set $ws8 "8"
103set $ws9 "9"
104set $ws10 "10"
105
106# switch to workspace
107bindsym $mod+1 workspace $ws1
108bindsym $mod+2 workspace $ws2
109bindsym $mod+3 workspace $ws3
110bindsym $mod+4 workspace $ws4
111bindsym $mod+5 workspace $ws5
112bindsym $mod+6 workspace $ws6
113bindsym $mod+7 workspace $ws7
114bindsym $mod+8 workspace $ws8
115bindsym $mod+9 workspace $ws9
116bindsym $mod+0 workspace $ws10
117
118# move focused container to workspace
119bindsym $mod+Shift+1 move container to workspace $ws1
120bindsym $mod+Shift+2 move container to workspace $ws2
121bindsym $mod+Shift+3 move container to workspace $ws3
122bindsym $mod+Shift+4 move container to workspace $ws4
123bindsym $mod+Shift+5 move container to workspace $ws5
124bindsym $mod+Shift+6 move container to workspace $ws6
125bindsym $mod+Shift+7 move container to workspace $ws7
126bindsym $mod+Shift+8 move container to workspace $ws8
127bindsym $mod+Shift+9 move container to workspace $ws9
128bindsym $mod+Shift+0 move container to workspace $ws10
129
130# reload the configuration file
131bindsym $mod+Shift+c reload
132# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
133bindsym $mod+Shift+r restart
134
135# resize window (you can also use the mouse for that)
136mode "resize" {
137 # These bindings trigger as soon as you enter the resize mode
138
139 # Pressing left will shrink the window’s width.
140 # Pressing right will grow the window’s width.
141 # Pressing up will shrink the window’s height.
142 # Pressing down will grow the window’s height.
143 bindsym h resize shrink width 10 px or 10 ppt
144 bindsym j resize grow height 10 px or 10 ppt
145 bindsym k resize shrink height 10 px or 10 ppt
146 bindsym l resize grow width 10 px or 10 ppt
147
148 # back to normal: Enter or Escape or $mod+r
149 bindsym Return mode "default"
150 bindsym Escape mode "default"
151 bindsym $mod+r mode "default"
152}
153
154# session
155mode " (L)ock (S)ignout (R)eboot (P)oweroff" {
156
157 bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back"
158 bindsym $mod+r exec systemctl reboot
159 bindsym $mod+p exec systemctl poweroff
160 bindsym $mod+s exit
161 bindcode 66 mode "default"
162}
163bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff"
164
165bindsym $mod+r mode "resize"
166
167for_window [class=".*"] border pixel 4
168
169assign [class="^Steam$"] 9
170assign [class="^Thunderbird$"] 8
171
172# class border backgr. text indicator child_border
173client.focused #458588 #285577 #ffffff #458588 #285577
174client.focused_inactive #b16286 #5f676a #ffffff #484e50 #5f676a
175client.unfocused #927374 #222222 #888888 #292d2e #222222
176client.urgent #2f343a #900000 #ffffff #900000 #900000
177client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
178
179client.background #ffffff
180
181# config
182hide_edge_borders smart
183workspace_auto_back_and_forth yes
184focus_follows_mouse no
diff --git a/.config/i3/config b/.config/i3/config##desktop.Linux.Maus
index 043eff8..043eff8 100644
--- a/.config/i3/config
+++ b/.config/i3/config##desktop.Linux.Maus