summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorYigit Sever2019-03-18 11:00:00 +0300
committerYigit Sever2019-03-18 11:00:00 +0300
commitb63da2281a9320848e9dbf47d2d4039fb0ef8a4a (patch)
treeff5cac63e992ae6f316f40d25c19d372246f4350 /.config
parentea211500227aa58f5e495777743c5d391cbc3110 (diff)
downloaddotfiles-b63da2281a9320848e9dbf47d2d4039fb0ef8a4a.tar.gz
dotfiles-b63da2281a9320848e9dbf47d2d4039fb0ef8a4a.tar.bz2
dotfiles-b63da2281a9320848e9dbf47d2d4039fb0ef8a4a.zip
Separate i3 and polybar config per machine
Diffstat (limited to '.config')
-rw-r--r--.config/i3/config##desktop.Linux.Lowe184
-rw-r--r--.config/i3/config##desktop.Linux.Maus (renamed from .config/i3/config)0
-rw-r--r--.config/polybar/config##desktop.Linux.Lowe256
-rw-r--r--.config/polybar/config##desktop.Linux.Maus (renamed from .config/polybar/config)0
4 files changed, 440 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
diff --git a/.config/polybar/config##desktop.Linux.Lowe b/.config/polybar/config##desktop.Linux.Lowe
new file mode 100644
index 0000000..0da0274
--- /dev/null
+++ b/.config/polybar/config##desktop.Linux.Lowe
@@ -0,0 +1,256 @@
1;==========================================================
2;
3; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
4; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
5; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
6; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
7; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
8; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
9;
10;==========================================================
11
12[colors]
13background = #0c1014
14background_alt = #0a3749
15background_modules = #fbf1c7
16foreground = #d3ebe9
17foreground_alt = #99d1ce
18foreground_modules = #282828
19red = #9d0006
20green = #427b58
21yellow = #b56714
22blue = #458588
23purple = #8f3f71
24aqua = #689d6a
25orange = #d65d0e
26primary = #d26937
27secondary = #888ca6
28alert = #c23127
29
30[bar/top]
31monitor =
32width = 100%
33height = 20
34offset-x = 0
35offset-y = 0
36radius = 0
37fixed-center = true
38
39background = ${colors.background}
40foreground = ${colors.foreground}
41
42border-top-size = 0
43border-bottom-size = 0
44border-top-color = ${colors.background}
45border-bottom-color = ${colors.background}
46
47padding = 2
48module-margin = 1
49
50font-0 = scientifica:antialias=false;0
51font-1 = Lato:size=10;1
52font-2 = Raleway:size=10;1
53font-3 = FuraCode Nerd Font Mono:size=12;2
54
55modules-left = i3 pulseaudio mpd
56modules-center = xwindow
57modules-right = focus download upload date time xkeyboard
58
59tray-position = right
60
61[module/focus]
62type = custom/script
63exec = ~/.config/polybar/focus
64interval = 10
65
66[module/mpd]
67type = internal/mpd
68host = 127.0.0.1
69port = 6600
70
71format-online = <toggle> <label-song> <icon-random>
72label-song = %artist% - %title%
73icon-pause = 
74icon-play = 
75icon-random = 咽
76
77toggle-on-foreground = ${colors.background_modules}
78toggle-off-foreground = ${colors.foreground_modules}
79
80format-offline = <label-offline>
81label-offline = mpd is offline
82
83[module/xwindow]
84type = internal/xwindow
85format = <label>
86label = %title:0:70:...%
87
88y-offset = 10
89label-padding = 1
90label-font = 1
91
92label-empty = ﳓ
93label-empty-font = 4
94label-empty-padding = 5
95
96[module/xkeyboard]
97type = internal/xkeyboard
98blacklist-0 = num lock
99blacklist-1 = scroll lock
100
101format = <label-layout> <label-indicator>
102format-spacing = 0
103
104format-prefix = 
105format-prefix-padding = 1
106format-prefix-background = ${colors.blue}
107format-prefix-foreground = ${colors.foreground}
108format-prefix-font = 4
109
110label-layout = %layout%
111label-layout-padding = 1
112label-layout-background = ${colors.background_modules}
113label-layout-foreground = ${colors.foreground_modules}
114
115label-indicator-padding = 2
116label-indicator-margin =
117label-indicator-background = ${colors.alert}
118
119[module/i3]
120type = internal/i3
121format = <label-state> <label-mode>
122index-sort = true
123wrapping-scroll = false
124strip-wsnumbers = true
125
126label-mode-background = ${colors.background_modules}
127label-mode-foreground = ${colors.foreground_modules}
128label-mode-padding = 2
129
130label-focused = %name%
131label-focused-background = ${colors.red}
132label-focused-foreground = ${colors.background_modules}
133label-focused-padding = 1
134
135label-unfocused = %name%
136label-unfocused-background = ${colors.background_modules}
137label-unfocused-foreground = ${colors.foreground_modules}
138label-unfocused-padding = 1
139
140label-visible = %name%
141label-visible-background = ${colors.background_modules}
142label-visible-foreground = ${colors.foreground_modules}
143label-visible-padding = 1
144
145label-urgent = %index%
146label-urgent-background = ${colors.alert}
147label-urgent-foreground = ${colors.background}
148label-urgent-padding = 1
149
150[module/download]
151type = internal/network
152interface = enp1s0
153interval = 3.0
154
155format-connected = <label-connected>
156
157format-connected-prefix = 
158format-connected-prefix-padding = 1
159format-connected-prefix-background = ${colors.green}
160format-connected-prefix-foreground = ${colors.foreground}
161
162label-connected = %downspeed%
163label-connected-background = ${colors.background_modules}
164label-connected-foreground = ${colors.foreground_modules}
165label-connected-padding = 1
166
167format-disconnected = <label-disconnected>
168label-disconnected = %ifname% disconnected 
169
170[module/upload]
171type = internal/network
172interface = enp1s0
173interval = 3.0
174
175format-connected = <label-connected>
176
177format-connected-prefix = 
178format-connected-prefix-padding = 1
179format-connected-prefix-background = ${colors.yellow}
180format-connected-prefix-foreground = ${colors.foreground}
181
182label-connected = %upspeed%
183label-connected-background = ${colors.background_modules}
184label-connected-foreground = ${colors.foreground_modules}
185label-connected-padding = 1
186
187[module/date]
188type = internal/date
189interval = 1
190
191date = %Y-%m-%d %A
192label = %date%
193format = <label>
194
195format-prefix = 
196format-prefix-background = ${colors.orange}
197format-prefix-foreground = ${colors.foreground}
198format-prefix-font = 4
199format-prefix-padding = 1
200
201label-background = ${colors.background_modules}
202label-foreground = ${colors.foreground_modules}
203label-padding = 1
204
205[module/time]
206type = internal/date
207interval = 1
208
209time = %H:%M
210label = %time%
211format = <label>
212
213format-prefix = 
214format-prefix-background = ${colors.secondary}
215format-prefix-foreground = ${colors.foreground}
216format-prefix-font = 4
217format-prefix-padding = 1
218
219label-background = ${colors.background_modules}
220label-foreground = ${colors.foreground_modules}
221label-padding = 1
222
223[module/pulseaudio]
224type = internal/pulseaudio
225interval = 5
226
227format-volume = <label-volume>
228
229format-volume-prefix = ♫
230format-volume-prefix-background = ${colors.purple}
231format-volume-prefix-foreground = ${colors.background_modules}
232format-volume-prefix-font = 4
233format-volume-prefix-padding = 1
234
235label-volume = %percentage%
236label-volume-background = ${colors.background_modules}
237label-volume-foreground = ${colors.foreground_modules}
238label-volume-padding = 1
239
240label-muted = 
241label-muted-background = ${colors.purple}
242label-muted-foreground = ${colors.foreground}
243label-muted-padding = 2
244
245[settings]
246screenchange-reload = true
247compositing-background = source
248compositing-foreground = source
249compositing-border = over
250pseudo-transparency = false
251
252[global/wm]
253margin-top = 5
254margin-bottom = 5
255
256; vim:ft=dosini
diff --git a/.config/polybar/config b/.config/polybar/config##desktop.Linux.Maus
index 144597e..144597e 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config##desktop.Linux.Maus