Просмотр исходного кода

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

Luna Stadler лет назад: 4
Родитель
Сommit
d868e98665
3 измененных файлов с 29 добавлено и 3 удалено
  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
	output eDP-1 disable # internal screen of new laptop
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
profile external-at-work {
18
profile external-at-work {
14
	output HDMI-A-2 enable
19
	output HDMI-A-2 enable
15
	output LVDS-1 disable
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
profile jns-at-work {
28
profile jns-at-work {
19
	output DP-2 enable
29
	output DP-2 enable
20
	output LVDS-1 disable
30
	output LVDS-1 disable

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

2
vim.api.nvim_command('colorscheme peachpuff')
2
vim.api.nvim_command('colorscheme peachpuff')
3
vim.api.nvim_command('set number')
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
-- fast navigation with fzf
8
-- fast navigation with fzf
6
vim.api.nvim_set_keymap('n', '<Leader>q', [[ <Cmd>b#<CR> ]], {noremap = true})
9
vim.api.nvim_set_keymap('n', '<Leader>q', [[ <Cmd>b#<CR> ]], {noremap = true})
7
vim.api.nvim_set_keymap('n', '<Leader>b', [[ <Cmd>Buffers<CR> ]], {noremap = true})
10
vim.api.nvim_set_keymap('n', '<Leader>b', [[ <Cmd>Buffers<CR> ]], {noremap = true})

+ 16 - 3
.config/sway/config

86
    bindsym $mod+Shift+c kill
86
    bindsym $mod+Shift+c kill
87
87
88
    # Start your launcher
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
    # Drag floating windows by holding down $mod and left mouse button.
93
    # Drag floating windows by holding down $mod and left mouse button.
92
    # Resize them with right mouse button + $mod.
94
    # Resize them with right mouse button + $mod.
97
99
98
    # Reload the configuration file
100
    # Reload the configuration file
99
    bindsym $mod+q reload
101
    bindsym $mod+q reload
100
    bindsym $mod+Shift+p exec kanshi
101
102
102
    # Exit sway (logs you out of your Wayland session)
103
    # Exit sway (logs you out of your Wayland session)
103
    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'
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
    bindsym $mod+Shift+f exec ~/.bin/toggle-fan
116
    bindsym $mod+Shift+f exec ~/.bin/toggle-fan
116
    bindsym $mod+Shift+s exec grimshot save area
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
# Moving around:
122
# Moving around:
234
	floating enable
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
# float some settings windows
246
# float some settings windows
238
for_window [app_id="pavucontrol|blueberry"] {
247
for_window [app_id="pavucontrol|blueberry"] {
239
	floating enable
248
	floating enable
255
264
256
exec healthy
265
exec healthy
257
266
267
for_window [app_id="lutris"] {
268
	floating enable
269
}
270
258
#
271
#
259
# Status Bar:
272
# Status Bar:
260
#
273
#