Dodan sway, apdejti
parent
9cd08aeef7
commit
8d97dfaf87
|
@ -215,7 +215,7 @@ bar {
|
|||
strip_workspace_numbers yes
|
||||
height 46
|
||||
tray_padding 2
|
||||
output eDP1
|
||||
#output eDP1
|
||||
}
|
||||
|
||||
# Colors
|
||||
|
@ -254,7 +254,7 @@ exec --no-startup-id $set_bg &
|
|||
exec nm-applet &
|
||||
|
||||
# Keyboard layout, caps lock as compose key
|
||||
exec_always --no-startup-id "setxkbmap -layout us,si -option grp:alt_shift_toggle -option compose:caps"
|
||||
exec_always --no-startup-id "setxkbmap -layout us,si -option grp:shifts_toggle -option compose:caps"
|
||||
|
||||
# gaps between windows
|
||||
gaps inner 9
|
||||
|
|
|
@ -0,0 +1,233 @@
|
|||
# sway config file
|
||||
|
||||
set $mod Mod4
|
||||
|
||||
# Home row direction keys, like vim
|
||||
set $left j
|
||||
set $down k
|
||||
set $up l
|
||||
set $right semicolon
|
||||
set $altright ccaron
|
||||
|
||||
# Terminal
|
||||
set $term termite
|
||||
|
||||
# Font
|
||||
font pango:Iosevka Medium 9
|
||||
|
||||
# Launcher
|
||||
#set $menu "rofi -combi-modi window,drun -show combi -modi combi -config ~/.local/rofi/config"
|
||||
#set $menu j4-dmenu-desktop
|
||||
set $menu compgen -c | sort -u | fzf | xargs -r swaymsg -t command exec
|
||||
|
||||
output eDP-1 resolution 2440x1440 scale 2
|
||||
output "*" background /home/g1smo/wlp.jpg fill
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec $term
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start your launcher
|
||||
bindsym $mod+d exec $menu
|
||||
|
||||
# Drag floating windows by holding down $mod and left mouse button.
|
||||
# Resize them with right mouse button + $mod.
|
||||
# Despite the name, also works for non-floating windows.
|
||||
# Change normal to inverse to use left mouse button for resizing and right
|
||||
# mouse button for dragging.
|
||||
floating_modifier $mod normal
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+r reload
|
||||
|
||||
# exit sway (logs you out of your wayland session)
|
||||
bindsym $mod+Shift+e exit
|
||||
#
|
||||
# Moving around:
|
||||
#
|
||||
# Move your focus around
|
||||
bindsym $mod+$left focus left
|
||||
bindsym $mod+$down focus down
|
||||
bindsym $mod+$up focus up
|
||||
bindsym $mod+$right focus right
|
||||
bindsym $mod+$altright focus right
|
||||
# or use $mod+[up|down|left|right]
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# _move_ the focused window with the same, but add Shift
|
||||
bindsym $mod+Shift+$left move left
|
||||
bindsym $mod+Shift+$down move down
|
||||
bindsym $mod+Shift+$up move up
|
||||
bindsym $mod+Shift+$right move right
|
||||
bindsym $mod+Shift+$altright move right
|
||||
# ditto, with arrow 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
|
||||
#
|
||||
# Workspaces:
|
||||
#
|
||||
|
||||
# name workspaces
|
||||
set $w1 1:λ
|
||||
set $w2 2:
|
||||
set $w3 3:
|
||||
set $w4 4:
|
||||
set $w5 5:✡
|
||||
set $w6 6:
|
||||
set $w7 7:✭❀ヅ❤♫
|
||||
set $w8 8:☭
|
||||
set $w9 9:
|
||||
set $w0 0:∞
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace $w1
|
||||
bindsym $mod+2 workspace $w2
|
||||
bindsym $mod+3 workspace $w3
|
||||
bindsym $mod+4 workspace $w4
|
||||
bindsym $mod+5 workspace $w5
|
||||
bindsym $mod+6 workspace $w6
|
||||
bindsym $mod+7 workspace $w7
|
||||
bindsym $mod+8 workspace $w8
|
||||
bindsym $mod+9 workspace $w9
|
||||
bindsym $mod+0 workspace $w0
|
||||
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace $w1
|
||||
bindsym $mod+Shift+2 move container to workspace $w2
|
||||
bindsym $mod+Shift+3 move container to workspace $w3
|
||||
bindsym $mod+Shift+4 move container to workspace $w4
|
||||
bindsym $mod+Shift+5 move container to workspace $w5
|
||||
bindsym $mod+Shift+6 move container to workspace $w6
|
||||
bindsym $mod+Shift+7 move container to workspace $w7
|
||||
bindsym $mod+Shift+8 move container to workspace $w8
|
||||
bindsym $mod+Shift+9 move container to workspace $w9
|
||||
bindsym $mod+Shift+0 move container to workspace $w0
|
||||
|
||||
bindsym $mod+Tab workspace next
|
||||
bindsym $mod+Shift+Tab workspace prev
|
||||
bindsym Mod1+Shift+colon move workspace to output right
|
||||
bindsym Mod1+Shift+ccaron move workspace to output right
|
||||
bindsym Mod1+Shift+j move workspace to output left
|
||||
|
||||
# workspace bindings
|
||||
assign [class="Firefox"] $w2
|
||||
assign [class="Gnote"] $w9
|
||||
assign [class="Slack"] $w4
|
||||
assign [class="Riot"] $w4
|
||||
assign [class="Lollypop"] $w3
|
||||
assign [class="Transmission"] $w3
|
||||
assign [class="Nicotine+"] $w3
|
||||
|
||||
# Program startup
|
||||
exec firefox &
|
||||
exec lollypop &
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Layout stuff:
|
||||
#
|
||||
# You can "split" the current object of your focus with
|
||||
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||
# respectively.
|
||||
bindsym $mod+b splith
|
||||
bindsym $mod+v splitv
|
||||
|
||||
# Switch the current container between different layout styles
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
# Make the current focus fullscreen
|
||||
bindsym $mod+f fullscreen
|
||||
|
||||
# Toggle the current focus between tiling and floating mode
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# Swap focus between the tiling area and the floating area
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# move focus to the parent container
|
||||
bindsym $mod+a focus parent
|
||||
#
|
||||
# Scratchpad:
|
||||
#
|
||||
# Sway has a "scratchpad", which is a bag of holding for windows.
|
||||
# You can send windows there and get them back later.
|
||||
|
||||
# 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.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+minus scratchpad show
|
||||
#
|
||||
# Resizing containers:
|
||||
#
|
||||
mode "resize" {
|
||||
# left will shrink the containers width
|
||||
# right will grow the containers width
|
||||
# up will shrink the containers height
|
||||
# down will grow the containers height
|
||||
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
|
||||
|
||||
# ditto, with 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
|
||||
|
||||
# return to default mode
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
#
|
||||
# Status Bar:
|
||||
#
|
||||
# Read `man 5 sway-bar` for more information about this section.
|
||||
bar {
|
||||
position top
|
||||
status_command i3blocks
|
||||
colors {
|
||||
background #232323
|
||||
statusline #DCDCDC
|
||||
|
||||
focused_workspace #555555 #555555 #ffffff
|
||||
inactive_workspace #232323 #232323 #888888
|
||||
}
|
||||
font pango:FontAwesome Regular 9, Iosevka Medium 9
|
||||
strip_workspace_numbers yes
|
||||
height 18
|
||||
tray_padding 2
|
||||
}
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
# Colors
|
||||
client.focused #444444 #444444 #A9D000 #8c9825 #444444
|
||||
client.focused_inactive #444444 #444444 #A9D000 #5c7825 #444444
|
||||
client.unfocused #222222 #222222 #888888 #292d2e #222222
|
||||
client.background #222222
|
||||
|
||||
# gaps between windows
|
||||
gaps inner 4
|
||||
smart_gaps on
|
||||
#smart_borders on
|
||||
# No titles
|
||||
for_window [class="^.*"] border pixel 2
|
||||
|
||||
# Mouse focus
|
||||
focus_follows_mouse yes
|
|
@ -599,7 +599,7 @@ This function is called at the very end of Spacemacs initialization."
|
|||
;; If there is more than one, they won't work right.
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(doom-modeline cider ac-php-core iedit htmlize magit ivy org-plus-contrib hydra zenburn-theme yasnippet-snippets yapfify yaml-mode xcscope ws-butler winum which-key wgrep web-mode web-beautify vue-mode volatile-highlights vmd-mode vi-tilde-fringe uuidgen use-package toc-org tao-theme tagedit symon suscolors-theme string-inflection sql-indent spaceline-all-the-icons solarized-theme smex smeargle slim-mode shrink-path sesman seeing-is-believing scss-mode sass-mode rvm rudel ruby-tools ruby-test-mode ruby-refactor ruby-hash-syntax rubocop rspec-mode robe rjsx-mode restart-emacs request rbenv rake rainbow-delimiters queue pyvenv pytest pyenv-mode py-isort pug-mode prettier-js popwin pippel pipenv pip-requirements phpunit phpcbf php-extras php-auto-yasnippets persp-mode password-generator paradox overseer orgit org-projectile org-present org-pomodoro org-mime org-download org-bullets org-brain open-junk-file ob-restclient ob-http nginx-mode neotree nameless move-text minitest markdown-toc magit-svn magit-gitflow macrostep lorem-ipsum livid-mode live-py-mode link-hint json-navigator js2-refactor js-doc ivy-yasnippet ivy-xref ivy-purpose ivy-hydra indent-guide importmagic impatient-mode hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation helm-make guix gruvbox-theme google-translate golden-ratio gnuplot gitignore-templates gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe git-gutter-fringe+ ghub gh-md fuzzy font-lock+ flycheck-pos-tip flx-ido floobits fill-column-indicator fancy-battery eyebrowse extempore-mode expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-org evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-magit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-escape evil-ediff evil-cleverparens evil-args evil-anzu emmet-mode elisp-slime-nav eldoc-eval editorconfig dumb-jump drupal-mode dotenv-mode dockerfile-mode docker diminish diff-hl define-word dakrone-light-theme cython-mode counsel-projectile counsel-css company-web company-tern company-statistics company-restclient company-php company-auctex company-anaconda column-enforce-mode clojure-snippets clojure-cheatsheet clj-refactor clean-aindent-mode cider-eval-sexp-fu chruby centered-cursor-mode bundler browse-at-remote auto-yasnippet auto-highlight-symbol auto-compile auctex-latexmk all-the-icons-dired aggressive-indent ace-window ace-link ac-ispell))))
|
||||
(zenburn-theme yasnippet-snippets toc-org persp-mode org-mime org-download ivy-yasnippet impatient-mode htmlize gruvbox-theme autothemer google-translate evil-mc evil-matchit editorconfig dumb-jump doom-modeline docker counsel-projectile cider sesman clojure-mode anaconda-mode counsel highlight helm window-purpose avy projectile magit magit-popup ghub pythonic ivy org-plus-contrib yapfify yaml-mode ws-butler winum which-key wgrep web-mode web-beautify vue-mode volatile-highlights vmd-mode vi-tilde-fringe uuidgen use-package treepy tao-theme tagedit tablist symon swiper suscolors-theme string-inflection sql-indent spaceline-all-the-icons solarized-theme smex smeargle slim-mode shrink-path seeing-is-believing scss-mode sass-mode rvm rudel ruby-tools ruby-test-mode ruby-refactor ruby-hash-syntax rubocop rspec-mode robe rjsx-mode restart-emacs request rbenv rake rainbow-delimiters queue pyvenv pytest pyenv-mode py-isort pug-mode prettier-js popwin pippel pipenv pip-requirements phpunit phpcbf php-extras php-auto-yasnippets password-generator paradox overseer orgit org-projectile org-present org-pomodoro org-bullets org-brain open-junk-file ob-restclient ob-http nginx-mode neotree nameless move-text minitest markdown-toc magit-svn magit-gitflow macrostep lorem-ipsum livid-mode live-py-mode link-hint json-navigator json-mode js2-refactor js-doc ivy-xref ivy-purpose ivy-hydra indent-guide importmagic imenu-list hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation helm-make helm-core guix graphql golden-ratio gnuplot gitignore-templates gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe git-gutter-fringe+ gh-md fuzzy font-lock+ flycheck-pos-tip flx-ido floobits fill-column-indicator fancy-battery eyebrowse extempore-mode expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-org evil-numbers evil-nerd-commenter evil-magit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-escape evil-ediff evil-cleverparens evil-args evil-anzu emmet-mode elisp-slime-nav eldoc-eval drupal-mode dotenv-mode dockerfile-mode docker-tramp diminish diff-hl define-word dakrone-light-theme cython-mode counsel-css company-web company-tern company-statistics company-restclient company-php company-auctex company-anaconda column-enforce-mode clojure-snippets clojure-cheatsheet clj-refactor clean-aindent-mode cider-eval-sexp-fu chruby centered-cursor-mode bundler browse-at-remote auto-yasnippet auto-highlight-symbol auto-compile auctex-latexmk all-the-icons-dired aggressive-indent ace-window ace-link ac-ispell))))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
|
Loading…
Reference in New Issue