mirror of https://github.com/ericonr/dotfiles.git
Transition to i3 on KDE.
This commit is contained in:
parent
adb1aecca8
commit
0ec82ee43b
14
emacs/.emacs
14
emacs/.emacs
|
@ -82,9 +82,21 @@
|
|||
(ispell-hunspell-add-multi-dic "pt_BR,en_US-large"))
|
||||
(ispell-minor-mode 1)
|
||||
|
||||
;; Font for GTK
|
||||
;; Position configs
|
||||
(line-number-mode 1)
|
||||
(column-number-mode 1)
|
||||
(global-linum-mode 1)
|
||||
(setq linum-format "%4d|")
|
||||
;;(global-display-line-numbers-mode 1)
|
||||
;;(setq display-line-numbers-type "%d|")
|
||||
|
||||
;; Configs for GTK
|
||||
(set-frame-font "Monospace-11" nil t)
|
||||
(set-cursor-color "LightGoldenrod1")
|
||||
(tool-bar-mode 0)
|
||||
(scroll-bar-mode 0)
|
||||
(menu-bar-mode 0)
|
||||
(server-start)
|
||||
|
||||
;; Configure dumb-jump
|
||||
(dumb-jump-mode)
|
||||
|
|
|
@ -25,4 +25,3 @@ function starttmux
|
|||
emacs --daemon
|
||||
tmux
|
||||
end
|
||||
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# layouts
|
||||
i3-msg "workspace 2; append_layout ~/.config/i3/tmux.json"
|
||||
i3-msg "workspace 1; append_layout ~/.config/i3/editor.json"
|
||||
|
||||
# editor workspace
|
||||
i3-msg "exec --no-startup-id emacs --name editor"
|
||||
i3-msg "exec --no-startup-id alacritty -t editortop"
|
||||
i3-msg "exec --no-startup-id alacritty -t editorbot"
|
||||
|
||||
# tmux workspace
|
||||
i3-msg "exec --no-startup-id alacritty -t tmux -e tmuxi3"
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
~/.fehbg
|
||||
fish -c beepoff
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
i3-msg "append_layout ~/.config/i3/browser.json"
|
||||
i3-msg "exec --no-startup-id qutebrowser"
|
||||
i3-msg "exec --no-startup-id kioclient5 exec .local/share/applications/firefox.desktop"
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
sleep 5
|
||||
tmux
|
|
@ -13,7 +13,7 @@ split-window -v cmus
|
|||
select-pane -tstandard:multishell.0
|
||||
split-window -v
|
||||
|
||||
select-pane -tstandard:text-editor.0
|
||||
select-pane -tstandard:multishell.0
|
||||
|
||||
unbind-key C-b
|
||||
set -g prefix "C-a"
|
||||
|
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"border": "normal",
|
||||
"floating": "auto_off",
|
||||
"layout": "tabbed",
|
||||
"percent": null,
|
||||
"type": "con",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 0,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 600,
|
||||
"width": 800,
|
||||
"x": 50,
|
||||
"y": 50
|
||||
},
|
||||
"name": "open multiple applications at startup on different workspaces : i3wm - qutebrowser",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^qutebrowser$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 0,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 709,
|
||||
"width": 338,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "jceb/dex: DesktopEntry Execution - Mozilla Firefox",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "^Firefox$"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -11,9 +11,6 @@
|
|||
|
||||
set $mod Mod4
|
||||
|
||||
# execs
|
||||
exec --no-startup-id ~/.fehbg
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:monospace 8
|
||||
|
@ -29,6 +26,22 @@ font pango:monospace 8
|
|||
# X core fonts rendering does not support right-to-left and this being a bitmap
|
||||
# font, it doesn’t scale on retina/hidpi displays.
|
||||
|
||||
# gaps conf
|
||||
for_window [class=".*"] border pixel 0
|
||||
gaps outer 2
|
||||
gaps inner 4
|
||||
smart_gaps on
|
||||
|
||||
# init environment
|
||||
exec i3_init
|
||||
|
||||
# layout
|
||||
exec --no-startup-id i3_apps
|
||||
|
||||
# quick launch
|
||||
bindsym $mod+t exec --no-startup-id alacritty -e tmux
|
||||
bindsym $mod+Shift+f exec --no-startup-id launch_browsers
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
|
||||
|
@ -168,20 +181,18 @@ bindsym $mod+r mode "resize"
|
|||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
status_command i3status
|
||||
#bar {
|
||||
#status_command i3status
|
||||
#status_command polybar example
|
||||
}
|
||||
#}
|
||||
|
||||
bindsym $mod+u border pixel 2
|
||||
|
||||
for_window [title="Desktop — Plasma"] kill; floating enable; border none
|
||||
for_window [title="Desktop — Plasma"] kill;
|
||||
for_window [class="plasmashell"] floating enable;
|
||||
for_window [class="Plasma"] floating enable; border none
|
||||
for_window [title="plasma-desktop"] floating enable; border none
|
||||
for_window [title="win7"] floating enable; border none
|
||||
for_window [class="krunner"] floating enable; border none
|
||||
for_window [class="Plasma"] floating enable;
|
||||
for_window [title="plasma-desktop"] floating enable;
|
||||
for_window [title="win7"] floating enable;
|
||||
for_window [class="krunner"] floating enable;
|
||||
for_window [class="Kmix"] floating enable; border none
|
||||
for_window [class="Klipper"] floating enable; border none
|
||||
#for_window [class="Klipper"] floating enable; border none
|
||||
for_window [class="Plasmoidviewer"] floating enable; border none
|
||||
for_window [class="(?i)*nextcloud*"] floating disable
|
||||
#for_window [class="(?i)*nextcloud*"] floating disable
|
||||
|
|
|
@ -0,0 +1,71 @@
|
|||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 0,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 641,
|
||||
"width": 672,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "emacs@ericonr-manjaro",
|
||||
"percent": 0.6,
|
||||
"swallows": [
|
||||
{
|
||||
"class": "Emacs",
|
||||
"instance": "editor"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
|
||||
{
|
||||
"border": "normal",
|
||||
"floating": "auto_off",
|
||||
"layout": "splitv",
|
||||
"percent": 0.4,
|
||||
"type": "con",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 0,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 832,
|
||||
"width": 1109,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "fish /home/ericonr",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"instance": "^Alacritty$",
|
||||
"title": "editortop"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 0,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 832,
|
||||
"width": 1109,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "fish /home/ericonr",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
{
|
||||
"instance": "^Alacritty$",
|
||||
"title": "editorbot"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 0,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 832,
|
||||
"width": 1109,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "i3-save-tree /home/ericonr",
|
||||
"percent": 1,
|
||||
"swallows": [
|
||||
{
|
||||
"title": "tmux"
|
||||
}
|
||||
],
|
||||
"type": "con"
|
||||
}
|
Loading…
Reference in New Issue