From 06c5350a3ceac659402f08ea0fc0ec916575621f Mon Sep 17 00:00:00 2001 From: stev Date: Fri, 21 Apr 2023 13:04:57 +0200 Subject: [PATCH 1/4] add README file --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a2af031 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# dotfiles + +I will try to put here some of the config files I use. From 38a8bbc5a2bd4df95ec8a74d7f94281a2f509698 Mon Sep 17 00:00:00 2001 From: stev Date: Fri, 21 Apr 2023 13:38:15 +0200 Subject: [PATCH 2/4] put amfora theme into its own file --- .config/amfora/config.toml | 45 +----------------------------------- .config/flavours/config.toml | 4 ++-- 2 files changed, 3 insertions(+), 46 deletions(-) diff --git a/.config/amfora/config.toml b/.config/amfora/config.toml index 9ed1427..0fa7ec8 100644 --- a/.config/amfora/config.toml +++ b/.config/amfora/config.toml @@ -324,47 +324,4 @@ workers = 3 entries_per_page = 20 -# Start flavours -# Base16 Kanagawa - amfora color config -# Tommaso Laurenzi (https://github.com/rebelot) - -[theme] -bg = "#1F1F28" -fg = "#DCD7BA" - -bottombar_label = "#957FB8" -bottombar_text = "#DCD7BA" -bottombar_bg = "#16161D" - -tab_num = "#223249" -tab_divider = "#727169" - -amfora_link = "#76946A" -foreign_link = "#54546D" -link_number = "#54546D" - -btn_bg = "#16161D" -btn_text = "#DCD7BA" - -input_modal_bg = "#16161D" -input_modal_text = "#DCD7BA" -input_modal_field_bg = "#1F1F28" -input_modal_field_text = "#DCD7BA" -info_modal_bg = "#16161D" -info_modal_text = "#DCD7BA" -error_modal_bg = "#16161D" -error_modal_text = "#D27E99" -yesno_modal_bg = "#16161D" -yesno_modal_text = "#DCD7BA" -tofu_modal_bg = "#16161D" -tofu_modal_text = "#DCD7BA" -subscription_modal_bg = "#16161D" -subscription_modal_text = "#DCD7BA" - -hdg_1 = "#FFA066" -hdg_2 = "#C0A36E" -hdg_3 = "#7E9CD8" -regular_text = "#DCD7BA" -preformatted_text = "#6A9589" -list_text = "#DCD7BA" -# End flavours +include = "theme.toml" diff --git a/.config/flavours/config.toml b/.config/flavours/config.toml index 91aec30..9c72afe 100644 --- a/.config/flavours/config.toml +++ b/.config/flavours/config.toml @@ -1,7 +1,7 @@ [[items]] -file = "~/.config/amfora/config.toml" +file = "~/.config/amfora/theme.toml" template = "amfora" -rewrite = false +rewrite = true [[items]] file = "~/.config/kitty/colors.conf" From ac71d15cf8d59d8c579f13c4dfd8913aee126831 Mon Sep 17 00:00:00 2001 From: stev Date: Fri, 21 Apr 2023 21:46:20 +0200 Subject: [PATCH 3/4] add new kb shortcut --- .config/kitty/kitty.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 22d2d54..aa552d8 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -38,6 +38,7 @@ background_opacity 0.8 #: Keyboard shortcuts {{{ # kitty_mod ctrl+shift +map kitty_mod+enter new_os_window_with_cwd # clear_all_shortcuts no #: You can have kitty remove all shortcut definition seen up to this From 2c894e643cb0cb6d8f4dbdba112dc11448b5c8ce Mon Sep 17 00:00:00 2001 From: stev Date: Fri, 21 Apr 2023 21:57:58 +0200 Subject: [PATCH 4/4] add keyboard shortcut for screenshots and gaps --- .config/sway/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index f3a65f9..74e901f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -74,7 +74,7 @@ input "type:keyboard" { # Take a screenshot bindsym $mod+p exec grim -g "$(slurp)" - | swappy -f - - bindsym Print exec grim -g "$(slurp)" + bindsym Print exec ~/.local/bin/screenshot.sh # # Moving around: # @@ -122,6 +122,7 @@ input "type:keyboard" { # for_window [class="PacketTracer"] floating enable for_window [class="VirtualBox"] floating enable + for_window [class="^Minecraft*"] floating enable bindsym $mod+b splith bindsym $mod+v splitv @@ -169,3 +170,5 @@ bar swaybar_command waybar default_border pixel gaps inner 20 +bindsym $mod+Shift+u exec 'swaymsg gaps inner all minus 5' +bindsym $mod+Shift+i exec 'swaymsg gaps inner all plus 5'