guest@dotshare [~/groups/wms/i3] $ ls Royal-Sky/ | cat

Royal Sky (scrot) (+3 likes)

dikiaap Dec 02, 2016 (wms/i3)

config(raw, dl)

SCROT

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
# ----------
# Royal Sky
# ----------
# Diki Ananta
# e: diki1aap@gmail.com
# dikiaap @ freenode & github
# i3 config file (v4)

# font for window titles and bar
font pango:Source Sans Pro 10

# use win key
set $mod Mod4

# use these keys for focus, movement, and resize directions
set $left   j
set $down   k
set $up     l
set $right  semicolon

# use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod

# control focused window when follows the mouse movements
focus_follows_mouse no

# start a terminal
bindsym $mod+Return workspace $WS1; exec --no-startup-id lxterminal

# kill focused window
bindsym $mod+Shift+q kill

# start a program launcher
#bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu="dmenu -nb '#212121' -sb '#2B83A6' -sf '#FFFFFF' -fn 'Source Sans Pro-10'"
bindsym $mod+d exec --no-startup-id rofi -show drun

# change focus
bindsym $mod+$left  focus left
bindsym $mod+$down  focus down
bindsym $mod+$up    focus up
bindsym $mod+$right focus right

# alternatively, you can use the cursor keys:
bindsym $mod+Left   focus left
bindsym $mod+Down   focus down
bindsym $mod+Up     focus up
bindsym $mod+Right  focus right

# move focused window
bindsym $mod+Shift+$left    move left
bindsym $mod+Shift+$down    move down
bindsym $mod+Shift+$up      move up
bindsym $mod+Shift+$right   move right

# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left     move left
bindsym $mod+Shift+Down     move down
bindsym $mod+Shift+Up       move up
bindsym $mod+Shift+Right    move right

# split in horizontal orientation
bindsym $mod+h split h

# split in vertical orientation
bindsym $mod+v split v

# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle

# change container layout
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split

# toggle tiling / floating
bindsym $mod+Shift+space floating toggle

# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle

# focus the parent container
bindsym $mod+a focus parent

# move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad

# show the next scratchpad window or hide the focused scratchpad window
bindsym $mod+minus scratchpad show

# set popups during fullscreen mode
popup_during_fullscreen smart

# window border settings
new_window pixel    0
new_float normal    0
hide_edge_borders   none

# shortcut to change window border
bindsym Mod4+t border normal    0
bindsym Mod4+y border pixel     1
bindsym Mod4+u border none

# customize workspace name
set $WS1   "1:   ZSH "
set $WS2   "2:   Code "
set $WS3   "3:   Chromium "
set $WS4   "4:   Files "
set $WS5   "5:   Documents "
set $WS6   "6:   Media "
set $WS7   "7:   Design "
set $WS8   "8:   Chat "
set $WS9   "9:   General "
set $WS0   "10:   Settings "

# switch to workspace
bindsym $mod+1 workspace $WS1
bindsym $mod+2 workspace $WS2
bindsym $mod+3 workspace $WS3
bindsym $mod+4 workspace $WS4
bindsym $mod+5 workspace $WS5
bindsym $mod+6 workspace $WS6
bindsym $mod+7 workspace $WS7
bindsym $mod+8 workspace $WS8
bindsym $mod+9 workspace $WS9
bindsym $mod+0 workspace $WS0

# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $WS1
bindsym $mod+Shift+2 move container to workspace $WS2
bindsym $mod+Shift+3 move container to workspace $WS3
bindsym $mod+Shift+4 move container to workspace $WS4
bindsym $mod+Shift+5 move container to workspace $WS5
bindsym $mod+Shift+6 move container to workspace $WS6
bindsym $mod+Shift+7 move container to workspace $WS7
bindsym $mod+Shift+8 move container to workspace $WS8
bindsym $mod+Shift+9 move container to workspace $WS9
bindsym $mod+Shift+0 move container to workspace $WS0

# startup applications
exec --no-startup-id xautolock -time 10 -locker "i3lock-fancy -f Source-Sans-Pro"
exec --no-startup-id nm-applet
exec --no-startup-id feh --bg-fill ~/Public/desktop/wp-i3.png
exec --no-startup-id compton --config ~/.config/compton/compton.conf

# set floating mode when applications started
for_window [class="Galculator"]                     floating enable
for_window [class="Gcolor2"]                        floating enable
for_window [class="Gkamus"]                         floating enable
for_window [class="Go-for-it"]                      floating enable
for_window [class="Lightdm-gtk-greeter-settings"]   floating enable
for_window [class="Lxappearance"]                   floating enable
for_window [class="Menu"]                           floating enable
for_window [class="Software-properties-gtk"]        floating enable

# shortcut applications
bindsym $mod+F1                 exec gkamus
bindsym $mod+F2 workspace $WS2; exec subl
bindsym $mod+F3 workspace $WS3; exec chromium-browser
bindsym $mod+F4 workspace $WS4; exec nautilus
bindsym $mod+F5 workspace $WS5; exec evince
bindsym $mod+F6 workspace $WS6; exec audacious
bindsym $mod+F7 workspace $WS7; exec gcolor2
bindsym $mod+F8 workspace $WS8; exec telegram
bindsym Print                   exec --no-startup-id gnome-screenshot
bindsym $mod+Shift+x            exec --no-startup-id i3lock-fancy -f Source-Sans-Pro

# volume
bindsym XF86AudioLowerVolume    exec --no-startup-id amixer -D pulse sset Master 3%- unmute
bindsym XF86AudioRaiseVolume    exec --no-startup-id amixer -D pulse sset Master 3%+ unmute
bindsym XF86AudioMute           exec --no-startup-id amixer -D pulse sset Master toggle

# switching window with win+tab
bindsym $mod+Tab exec --no-startup-id rofi -show window

# assign program to workspace
assign [class="terminal"]$WS1
assign [class="(?i)sublime"]$WS2
assign [class="Chromium"]$WS3
assign [class="Firefox"]$WS3
assign [class="Nautilus"]$WS4
assign [class="Evince"]$WS5
assign [class="ghostwriter"]$WS5
assign [class="(?i)libreoffice"]$WS5
assign [class="Audacious"]$WS6
assign [class="vlc"]$WS6
assign [class="Gimp"]$WS7
assign [class="Inkscape"]$WS7
assign [class="Hexchat"]$WS8
assign [class="Skype"]$WS8
assign [class="Telegram"]$WS8
assign [class="Upwork"]$WS8
assign [class="Galculator"]$WS9
assign [class="Gnome-font-viewer"]$WS9
assign [class="Go-for-it"]$WS9
assign [class="Keepassx"]$WS9
assign [class="Lxtask"]$WS9
assign [class="Transmission-gtk"]$WS9
assign [class="Bum"]$WS0
assign [class="Bleachbit"]$WS0
assign [class="Dconf-editor"]$WS0
assign [class="Gnome-disks"]$WS0
assign [class="GParted"]$WS0
assign [class="Grub-customizer"]$WS0
assign [class="Hardinfo"]$WS0
assign [class="Lxappearance"]$WS0
assign [class="Lxinput"]$WS0
assign [class="Lxrandr"]$WS0
assign [class="Menu"]$WS0
assign [class="Obconf"]$WS0
assign [class="Lightdm-gtk-greeter-settings"]$WS0
assign [class="Software-properties-gtk"]$WS0

# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace
bindsym $mod+Shift+r restart
# exit i3
bindsym $mod+Shift+e exec --no-startup-id "i3-nagbar -t warning -f 'pango:Hack 8' -m 'Do you really want to exit?' -b ' Exit   ' 'i3-msg exit'"

# resize window
mode "  " {
        # pressing left and up will shrink the window’s width
        # pressing right and down will grow the window’s width
        bindsym $left       resize shrink width 10 px or 10 ppt
        bindsym $down       resize grow height 10 px or 10 ppt
        bindsym $up         resize shrink height 10 px or 10 ppt
        bindsym $right      resize grow width 10 px or 10 ppt

        # same bindings, but for the arrow keys
        bindsym Left        resize shrink width 10 px or 10 ppt
        bindsym Down        resize grow height 10 px or 10 ppt
        bindsym Up          resize shrink height 10 px or 10 ppt
        bindsym Right       resize grow width 10 px or 10 ppt

        # back to normal: Enter
        bindsym Return mode "default"
}
bindsym $mod+r mode "  "

# class                 border  backgr. text    indicator
client.focused          #2B83A6 #2B83A6 #FFFFFF #DDDDDD
client.focused_inactive #212121 #212121 #86888C #292D2E
client.unfocused        #212121 #212121 #86888C #292D2E
client.urgent           #2F343A #D64E4E #FFFFFF #D64E4E
client.placeholder      #212121 #0C0C0C #FFFFFF #212121
client.background       #212121

# start i3bar to display a workspace bar
bar {
    status_command          i3blocks -c ~/.i3/i3blocks.conf
    tray_output             primary
    position                bottom
    strip_workspace_numbers yes
    separator_symbol        "·"
    workspace_buttons       yes

    colors {
            background  #212121
            statusline  #DDDDDD
            separator   #666666
            # class             border  backgr. text
            focused_workspace   #2B83A6 #2B83A6 #FFFFFF
            active_workspace    #212121 #212121 #FFFFFF
            inactive_workspace  #212121 #212121 #86888C
            urgent_workspace    #2F343A #D64E4E #FFFFFF
      }
}

# i3-gaps
for_window [class="^.*"]                border pixel 0
for_window [window_role="pop-up"]       floating enable
for_window [window_role="task_dialog"]  floating enable
for_window [title="Preferences$"]       floating enable

smart_gaps on
gaps inner 8
gaps outer 2

CLICK TO VIEW

x

i3blocks.conf(raw, dl)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
command=/usr/libexec/i3blocks/$BLOCK_NAME
separator_block_width=15
color=#F3F4F5
markup=none

[volume]
label=Volume-Icon
instance=Master
interval=1
signal=10

[ram]
label=RAM-Icon
command=/usr/libexec/i3blocks/memory | grep -E -o '[0-9].[0-9]?G'
interval=30

[disk-home]
label=Disk-Icon
command=df -h -P -l $HOME | awk '/\/.*/ { print $3; exit 0 }'
interval=30

[time]
label=Time-Icon
command=date '+%a, %d %b %H:%M'
interval=5
 

x

compton.conf(raw, dl)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Shadow
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = true;
shadow-opacity = 0.6;
shadow-exclude = [ "class_g = 'Firefox' && argb", "bounding_shaped" ];

# Opacity
menu-opacity = 1.0;
inactive-opacity = 1.0;
alpha-step = 0.06;
blur-background = false;
blur-kern = "3x3box";
blur-background-fixed = false;
blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];

# Fading
fading = true;
fade-delta = 5;
fade-in-step = 0.03;
fade-out-step = 0.03;
fade-exclude = [ ];

# Other
backend = "glx";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
use-ewmh-active-win = false;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = "none";
dbe = false;
paint-on-overlay = true;
sw-opti = false;
unredir-if-possible = false;
focus-exclude = [ ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];

# GLX backend
glx-no-stencil = true;
glx-copy-from-front = false;
glx-use-copysubbuffermesa = false;
glx-no-rebind-pixmap = false;
glx-swap-method = "undefined";

# Window type settings
wintypes:
{
    tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
};
 

x

royal-sky.rasi(raw, dl)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/**
 * Royal Sky Color theme
 * User: dikiaap
 * Copyright: Diki Ananta
 **/
* {
    selected-normal-foreground:  rgba ( 249, 249, 249, 100 % );
    foreground:                  rgba ( 196, 202, 212, 100 % );
    normal-foreground:           @foreground;
    alternate-normal-background: rgba ( 42, 42, 42, 100 % );
    red:                         rgba ( 194, 65, 65, 100 % );
    selected-urgent-foreground:  rgba ( 249, 249, 249, 100 % );
    blue:                        rgba ( 43, 131, 166, 100 % );
    urgent-foreground:           rgba ( 249, 249, 249, 100 % );
    alternate-urgent-background: rgba ( 194, 65, 65, 100 % );
    active-foreground:           rgba ( 249, 249, 249, 100 % );
    lightbg:                     rgba ( 196, 202, 212, 100 % );
    selected-active-foreground:  rgba ( 249, 249, 249, 100 % );
    alternate-active-background: rgba ( 43, 131, 166, 100 % );
    background:                  rgba ( 33, 33, 33, 100 % );
    alternate-normal-foreground: @foreground;
    normal-background:           rgba ( 33, 33, 33, 100 % );
    lightfg:                     rgba ( 249, 249, 249, 100 % );
    selected-normal-background:  rgba ( 90, 90, 90, 100 % );
    border-color:                @foreground;
    spacing:                     2;
    separatorcolor:              rgba ( 183, 183, 183, 100 % );
    urgent-background:           rgba ( 194, 65, 65, 100 % );
    selected-urgent-background:  rgba ( 214, 78, 78, 100 % );
    alternate-urgent-foreground: @urgent-foreground;
    background-color:            rgba ( 0, 0, 0, 0 % );
    alternate-active-foreground: @active-foreground;
    active-background:           rgba ( 43, 131, 166, 100 % );
    selected-active-background:  rgba ( 39, 141, 182, 100 % );
}
#window {
    background-color: @background;
    border:           0;
    padding:          8;
}
#mainbox {
    border:  0;
    padding: 0;
}
#message {
    border:       2px dash 0px 0px;
    border-color: @separatorcolor;
    padding:      1px;
}
#textbox {
    text-color: @foreground;
}
#listview {
    fixed-height: 0;
    border:       0;
    border-color: @separatorcolor;
    spacing:      2px;
    scrollbar:    true;
    padding:      2px 0px 0px;
}
#element {
    border:  0;
    padding: 1px;
}
#element.normal.normal {
    background-color: @normal-background;
    text-color:       @normal-foreground;
}
#element.normal.urgent {
    background-color: @urgent-background;
    text-color:       @urgent-foreground;
}
#element.normal.active {
    background-color: @active-background;
    text-color:       @active-foreground;
}
#element.selected.normal {
    background-color: @selected-normal-background;
    text-color:       @selected-normal-foreground;
}
#element.selected.urgent {
    background-color: @selected-urgent-background;
    text-color:       @selected-urgent-foreground;
}
#element.selected.active {
    background-color: @selected-active-background;
    text-color:       @selected-active-foreground;
}
#element.alternate.normal {
    background-color: @alternate-normal-background;
    text-color:       @alternate-normal-foreground;
}
#element.alternate.urgent {
    background-color: @alternate-urgent-background;
    text-color:       @alternate-urgent-foreground;
}
#element.alternate.active {
    background-color: @alternate-active-background;
    text-color:       @alternate-active-foreground;
}
#scrollbar {
    width:        4px;
    border:       0;
    handle-color: rgba ( 85, 85, 85, 100 % );
    handle-width: 8px;
    padding:      0;
}
#sidebar {
    border:       2px dash 0px 0px;
    border-color: @separatorcolor;
}
#button {
    spacing:    0;
    text-color: @normal-foreground;
}
#button.selected {
    background-color: @selected-normal-background;
    text-color:       @selected-normal-foreground;
}
#inputbar {
    spacing:    0px;
    text-color: @normal-foreground;
    padding:    1px;
    children:   [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
#case-indicator {
    spacing:    0;
    text-color: @normal-foreground;
}
#entry {
    spacing:    0;
    text-color: @normal-foreground;
}
#prompt {
    spacing:    0;
    text-color: @normal-foreground;
}
#textbox-prompt-colon {
    expand:     false;
    str:        ":";
    margin:     0px 0.3000em 0.0000em 0.0000em ;
    text-color: inherit;
}
 

x

dunstrc(raw, dl)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[global]
    monitor = 0
    follow = mouse
    geometry = "300x5-20+20"
    indicate_hidden = yes
    shrink = no
    notification_height = 0
    separator_height = 2
    padding = 10
    horizontal_padding = 10
    frame_width = 1
    frame_color = "#2B83A6"
    separator_color = frame
    sort = yes
    idle_threshold = 0
    font = Open Sans 8
    line_height = 0
    markup = full
    format = "<b>%s %p</b>\n%b"
    alignment = left
    show_age_threshold = 60
    word_wrap = yes
    ellipsize = middle
    ignore_newline = no
    stack_duplicates = true
    hide_duplicate_count = false
    show_indicators = yes
    icon_position = left
    max_icon_size = 32
    icon_path = /usr/share/icons/Paper/16x16/status/:/usr/share/icons/Paper/16x16/devices/:/usr/share/icons/Paper/16x16/apps/
    sticky_history = yes
    history_length = 15
    always_run_script = true
    startup_notification = false
    force_xinerama = false

[shortcuts]
    close = ctrl+space
    close_all = ctrl+shift+space
    history = ctrl+grave
    context = ctrl+shift+period

[urgency_low]
    background = "#232323"
    foreground = "#F5F5F5"
    frame_color = "#86888C"
    timeout = 10

[urgency_normal]
    background = "#2B83A6"
    foreground = "#F5F5F5"
    timeout = 10

[urgency_critical]
    background = "#D64E4E"
    foreground = "#F5F5F5"
    frame_color = "#D64E4E"
    timeout = 0
    icon = /usr/share/icons/Paper/16x16/status/dialog-warning.png
 

x

Notes

Royal Sky

Config: i3/i3-gaps, i3blocks, rofi, dunst, and compton.
Font: Source Sans Pro, Font Awesome, and Open Sans.
Icon: Paper.

Wallpaper: Dark Planet Minimalist

More config at dikiaap/dotfiles on GitHub.