From c32bbccd00aee2d6709253c8175c81d0072ee4b5 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 20 May 2022 23:10:49 +0530 Subject: applied keybindings and defaults --- .config/XMonad/lib/Defaults.hs | 43 +++++++++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 15 deletions(-) (limited to '.config/XMonad/lib/Defaults.hs') diff --git a/.config/XMonad/lib/Defaults.hs b/.config/XMonad/lib/Defaults.hs index 34d81e9..8d12f3c 100644 --- a/.config/XMonad/lib/Defaults.hs +++ b/.config/XMonad/lib/Defaults.hs @@ -4,24 +4,37 @@ import XMonad import XMonad.Layout.Spacing import XMonad.Layout.Tabbed --- variables -myModMask = mod4Mask -altMask = mod1Mask -myLockscreen = "notify-send 'to be set up!' 'to be set up!'" -myColorPicker = "colorpicker --short --one-shot --preview | xsel -b" -myFont = "xft:Sauce Code Pro:style=Regular:size=14" -volUp = "pamixer -i 5" -volDown = "pamixer -d 5" -volMute = "pamixer -t" -backlightUp = "brightnessctl s +5" -backlightDown = "brightnessctl s 5-" -screenshot = "flameshot screen" -fullScreenshot = "flameshot full" -customScreenshot = "flameshot gui" +myBorder = "#120F23" +myBorder' = "#C44CF2" + +myBorderWidth :: Dimension +myBorderWidth = 2 + +myFont = "xft:Sauce Code Pro:style=Regular:size=14" + +myModMask = mod4Mask +myModMask' = mod1Mask + +myLockscreen = "notify-send 'to be set up!' 'to be set up!'" +myColorPicker = "colorpicker --short --one-shot --preview | xsel -b" + +myTerminal = "open_terminal" +myTerminal' = "alacritty" + +volUp = "pamixer -i 5" +volDown = "pamixer -d 5" +volMute = "pamixer -t" + +backlightUp = "brightnessctl s +5" +backlightDown = "brightnessctl s 5-" + +screenshot = "flameshot screen" +fullScreenshot = "flameshot full" +customScreenshot = "flameshot gui" -- workspaces myExtraWorkspaces = [(xK_0, "十")] -- , (xK_comma, " 十一 "), (xK_period, " 十二 "), (xK_slash, " 十三 ")] -myWorkspaces = ["一", "二", "三", "四", "五", "六", "七", "八", "九"] ++ map snd myExtraWorkspaces +myWorkspaces = ["一", "二", "三", "四", "五", "六", "七", "八", "九"] ++ map snd myExtraWorkspaces -- screen gaps sGap = 4 -- cgit v1.2.3