Explorar el Código

~/.config/kanshi: Configure screen setup for new laptop`

Luna Stadler %!s(int64=4) %!d(string=hace) años
padre
commit
d868e98665
Se han modificado 3 ficheros con 29 adiciones y 3 borrados
  1. 10 0
      .config/kanshi/config
  2. 3 0
      .config/nvim/init.lua
  3. 16 3
      .config/sway/config

+ 10 - 0
.config/kanshi/config

@ -10,11 +10,21 @@ profile external-new {
10 10
	output eDP-1 disable # internal screen of new laptop
11 11
}
12 12
13
profile docked {
14
	output DP-3 enable mode 2560x1440 position 0,0
15
	output eDP-1 disable
16
}
17
13 18
profile external-at-work {
14 19
	output HDMI-A-2 enable
15 20
	output LVDS-1 disable
16 21
}
17 22
23
profile external-new-laptop {
24
	output HDMI-A-1 enable
25
	output eDP-1 disable
26
}
27
18 28
profile jns-at-work {
19 29
	output DP-2 enable
20 30
	output LVDS-1 disable

+ 3 - 0
.config/nvim/init.lua

@ -2,6 +2,9 @@
2 2
vim.api.nvim_command('colorscheme peachpuff')
3 3
vim.api.nvim_command('set number')
4 4
5
-- highlight character that was jumped to correctly after lightspeed motions (https://github.com/ggandor/lightspeed.nvim/issues/66#issuecomment-952888479)
6
vim.cmd[[highlight Cursor ctermfg=NONE ctermbg=NONE cterm=reverse]] 
7
5 8
-- fast navigation with fzf
6 9
vim.api.nvim_set_keymap('n', '<Leader>q', [[ <Cmd>b#<CR> ]], {noremap = true})
7 10
vim.api.nvim_set_keymap('n', '<Leader>b', [[ <Cmd>Buffers<CR> ]], {noremap = true})

+ 16 - 3
.config/sway/config

@ -86,7 +86,9 @@ input type:touchpad events disabled
86 86
    bindsym $mod+Shift+c kill
87 87
88 88
    # Start your launcher
89
    bindsym $mod+p exec $menu
89
    bindsym $mod+shift+p exec $menu
90
91
    bindsym $mod+p exec SEARCH_DIRS="$HOME/t/zig/lib:$HOME/k:$HOME/w:$HOME/Downloads:/usr/include" $HOME/k/qck/qck
90 92
91 93
    # Drag floating windows by holding down $mod and left mouse button.
92 94
    # Resize them with right mouse button + $mod.
@ -97,7 +99,6 @@ input type:touchpad events disabled
97 99
98 100
    # Reload the configuration file
99 101
    bindsym $mod+q reload
100
    bindsym $mod+Shift+p exec kanshi
101 102
102 103
    # Exit sway (logs you out of your Wayland session)
103 104
    bindsym $mod+Shift+q exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
@ -115,7 +116,7 @@ input type:touchpad events disabled
115 116
    bindsym $mod+Shift+f exec ~/.bin/toggle-fan
116 117
    bindsym $mod+Shift+s exec grimshot save area
117 118
118
    bindsym $mod+Insert exec rofimoji # emojis 🥰
119
    bindsym $mod+Insert exec rofimoji --selector wofi --clipboarder wl-copy --typer wtype # emojis 🥰
119 120
120 121
#
121 122
# Moving around:
@ -234,6 +235,14 @@ for_window [title="Select file"] {
234 235
	floating enable
235 236
}
236 237
238
for_window [app_id="org.gnome.NautilusPreviewer"] {
239
	floating enable
240
}
241
242
for_window [title="Sharing Indicator"] {
243
	floating enable
244
}
245
237 246
# float some settings windows
238 247
for_window [app_id="pavucontrol|blueberry"] {
239 248
	floating enable
@ -255,6 +264,10 @@ for_window [app_id="healthy"] {
255 264
256 265
exec healthy
257 266
267
for_window [app_id="lutris"] {
268
	floating enable
269
}
270
258 271
#
259 272
# Status Bar:
260 273
#