From a671a0708caaab3729cbea1a4ee4b508d019604b Mon Sep 17 00:00:00 2001 From: Hane Date: Sun, 2 Nov 2025 19:32:03 +0100 Subject: [PATCH] Updated konsole and init --- .bashrc | 4 +- .config/konsolerc | 9 ++++ .emacs.d/init.el | 61 +++++++++++++++++++------ .local/share/konsole/Breeze.colorscheme | 2 +- .local/share/konsole/Profairu.profile | 9 ++-- tabbar.qss | 38 +++++++++++++++ 6 files changed, 105 insertions(+), 18 deletions(-) create mode 100644 tabbar.qss diff --git a/.bashrc b/.bashrc index 92cc37f..15362bb 100644 --- a/.bashrc +++ b/.bashrc @@ -59,7 +59,6 @@ PS1="${BORANGE}${FINDIANRED}\$(exitstatus $(echo '$?'))${RESET}${FDSG}${BINDIANR # PS1='[\u@\h \W]\$ ' # fi - bind Space:magic-space alias ls='ls --color=auto' alias grep='grep --color=auto' @@ -68,5 +67,8 @@ alias modosexo='kscreen-doctor output.DP-2.rotation.right' alias nomodosexo='kscreen-doctor output.DP-2.rotation.none' alias clear='clear -x && __prompt_to_bottom_line' +#No icons +echo -e "\033]32;\007" && tput cuu 1 && tput el && clear + export VITASDK=/usr/local/vitasdk export PATH=$VITASDK/bin:$PATH diff --git a/.config/konsolerc b/.config/konsolerc index 7a4c6e7..a3ba277 100644 --- a/.config/konsolerc +++ b/.config/konsolerc @@ -6,6 +6,9 @@ DefaultProfile=Profairu.profile [General] ConfigVersion=1 +[KonsoleWindow] +RemoveWindowTitleBarAndFrame=true + [MainWindow] 1080x1920 screen: Height=468 1080x1920 screen: Width=1080 @@ -25,6 +28,12 @@ ToolButtonStyle=IconOnly [Notification Messages] CloseAllEmptyTabs=true +[TabBar] +CloseTabButton=None +CloseTabOnMiddleMouseButton=true +SearchTabsButton=HideSearchTabsButton +TabBarUseUserStyleSheet=true + [Toolbar sessionToolbar] ToolButtonStyle=IconOnly diff --git a/.emacs.d/init.el b/.emacs.d/init.el index d821f61..55f9ff7 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -63,6 +63,15 @@ (use-package helm-projectile :ensure t) +(use-package dokuwiki + :ensure t + :config + (setq dokuwiki-xml-rpc-url "https://wiki.roboces.dev/lib/exe/xmlrpc.php") + (setq dokuwiki-login-user-name "superuser")) + +(use-package dokuwiki-mode + :ensure t) + (use-package projectile-ripgrep :ensure t) @@ -256,6 +265,7 @@ (define-key treemacs-mode-map (kbd "C-j") nil) (define-key treemacs-mode-map (kbd "C-k") nil) (define-key treemacs-mode-map (kbd "C-;") 'treemacs-RET-action) +(define-key treemacs-mode-map (kbd "M-p") nil) ;;Using helm as minibuffer autocompletion manager (setf projectile-completion-system 'helm) @@ -322,11 +332,39 @@ (global-set-key (kbd "C-ñ") 'forward-char) (global-set-key (kbd "C-j") 'backward-char) +;; Move forward word by word (global-set-key (kbd "C-f") 'forward-word) (global-set-key (kbd "C-b") 'backward-word) -(global-set-key (kbd "C-S-d") (lambda () (interactive) (delete-char -1))) - +;; Map delete/backspace +(global-set-key (kbd "C-d") (lambda () (interactive) (backward-delete-char-untabify 1))) +(global-set-key (kbd "C-S-d") (lambda () (interactive) (delete-char 1))) + +;; Map inverse transpose +(global-set-key (kbd "C-S-t") (lambda () (interactive) (transpose-chars -1))) + +;; Map RET +(global-set-key (kbd "C-i") (lambda () (interactive) (newline))) + +;; TODO: Remap up/downcase to region instead of word - not working +(put 'downcase-region 'disabled nil) +(put 'upcase-region 'disabled nil) +(global-set-key (kbd "M-S-l") (lambda () (interactive) (upcase-region))) +(global-set-key (kbd "M-l") (lambda () (interactive) (downcase-region))) + +;; Map scroll line by line +(global-set-key (kbd "M-i") (lambda () (interactive) (scroll-up 1)) ) +(global-set-key (kbd "M-p") (lambda () (interactive) (scroll-down 1)) ) + +;; Windmove +(global-set-key (kbd "M-u") 'windmove-left) +(global-set-key (kbd "M-i") 'windmove-down) +(global-set-key (kbd "M-o") 'windmove-up) +(global-set-key (kbd "M-p") 'windmove-right) + +;; Forcefully insert column tab +(global-set-key (kbd "S-") 'tab-to-tab-stop) + (global-set-key (kbd "C-x C-u") (lambda () (interactive) (other-window -1))) (global-set-key (kbd "C-x C-o") (lambda () (interactive) (other-window 1))) (global-set-key (kbd "C-x u") 'dired-jump) @@ -371,11 +409,7 @@ (setq-local comment-style 'extra-line))) (global-set-key [f6] 'comment-region) -(global-set-key (kbd "M-i") (lambda () (interactive) (scroll-up 1)) ) -(global-set-key (kbd "M-p") (lambda () (interactive) (scroll-down 1)) ) - (global-set-key [f9] (lambda () (interactive) (find-file user-init-file)) ) - (global-set-key [f8] 'projectile-find-file) (global-set-key [f7] 'projectile-compile-project) @@ -496,7 +530,7 @@ ;; If there is more than one, they won't work right. ) (put 'dired-find-alternate-file 'disabled nil) -) +) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -504,12 +538,12 @@ ;; If there is more than one, they won't work right. '(markdown-command "/usr/bin/pandoc") '(package-selected-packages - '(benchmark-init crdt helm-projectile hl-todo lua-mode magit-todos - markdown-mode projectile projectile-ripgrep - ripgrep ssh-agency sudo-edit super-save - tangotango-theme treemacs treemacs-evil - treemacs-icons-dired treemacs-magit treemacs-persp - treemacs-projectile treemacs-tab-bar)) + '(benchmark-init centered-cursor-mode crdt dokuwiki dokuwiki-mode + helm-projectile lua-mode magit-todos markdown-mode + projectile-ripgrep ssh-agency sudo-edit super-save + tangotango-theme treemacs-icons-dired + treemacs-magit treemacs-persp treemacs-projectile + treemacs-tab-bar)) '(ripgrep-arguments '("--follow")) '(safe-local-variable-values '((projectile-project-compilation-cmd . "latexmk") @@ -522,3 +556,4 @@ ) (load "~/.emacs.d/roleplay.el") + diff --git a/.local/share/konsole/Breeze.colorscheme b/.local/share/konsole/Breeze.colorscheme index 177a3f2..7e7dcd4 100644 --- a/.local/share/konsole/Breeze.colorscheme +++ b/.local/share/konsole/Breeze.colorscheme @@ -107,6 +107,6 @@ ColorRandomization=true Description=Breeze FillStyle=Crop Opacity=0.67 -Wallpaper=/home/Hane/Pictures/meg.jpg +Wallpaper=/home/Hane/.dotfiles/meg.jpg WallpaperFlipType=NoFlip WallpaperOpacity=0.15 diff --git a/.local/share/konsole/Profairu.profile b/.local/share/konsole/Profairu.profile index 41d876e..2123f07 100644 --- a/.local/share/konsole/Profairu.profile +++ b/.local/share/konsole/Profairu.profile @@ -1,10 +1,10 @@ [Appearance] -BorderWhenActive=true +BorderWhenActive=false ColorScheme=Breeze -DimmValue=30 +DimmValue=34 FocusBorderColor=117,90,124 Font=0xProto Nerd Font Mono,11,-1,5,50,0,0,0,0,0 -TabColor=250,117,255 +TabColor=20,22,24,0 [Cursor Options] CursorShape=0 @@ -12,6 +12,7 @@ CursorShape=0 [General] DimWhenInactive=true Environment=TERM=xterm-256color,COLORTERM=truecolor +Icon=empty Name=Profairu Parent=FALLBACK/ @@ -19,9 +20,11 @@ Parent=FALLBACK/ KeyBindings=New Key Binding List [Scrolling] +HighlightScrolledLines=false HistoryMode=1 HistorySize=5000 ScrollBarPosition=2 [Terminal Features] BlinkingCursorEnabled=false +VerticalLine=false diff --git a/tabbar.qss b/tabbar.qss new file mode 100644 index 0000000..8d21c4b --- /dev/null +++ b/tabbar.qss @@ -0,0 +1,38 @@ +/* QTabWidget::pane, QTabWidget::tab-bar { background-color: black; } */ + +QTabBar, +QTabBar::tab +{ + font-family: "0xProto Nerd Font Mono"; + font-size: 11px; + height: 20px; + margin-right: 5px; + border: 0px; + background-color: #000000; + color: white; +} + +QTabWidget::pane, QTabWidget::tab-bar { + border-bottom: 0px; + border-right: 0px; + margin-right: 0px; + alignment: center; +} + +/* QTabBar::tab { */ + +/* } */ + +QTabBar::tab:hover +{ + text-decoration: underline; +} + +QTabBar::tab:selected +{ + font-weight: bold; + color: yellow; + padding: 0px 3px 0px 3px; + border: 0px; + background-color: #444444; +}